Skip to content

Updated to three.js r150 - #3

Open
linbingquan wants to merge 16 commits into
xplsv:masterfrom
linbingquan:dev
Open

Updated to three.js r150#3
linbingquan wants to merge 16 commits into
xplsv:masterfrom
linbingquan:dev

Conversation

@linbingquan

@linbingquan linbingquan commented Mar 2, 2023

Copy link
Copy Markdown

I tried to upgrade three.js r150.

describe

  • Removed the THREE.Geometry.prototype.toFlatShading method and used flatShading for material. TBH, I am not sure it was right.

  • Refactor the code with ES modules.

  • Created createInstancedMesh method for Scene*Module.js, because of duplicate code.

If the PR has any problem, please tell me.

online preview link: https://linbingquan.github.io/obsidian/

@mrdoob

mrdoob commented Aug 15, 2025

Copy link
Copy Markdown
Member

Thank you for doing this!

I'm trying to modernize the code but I'm taking a different approach.

I'll use your PR as reference though 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants