-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed VRMLLoader example. See #3728.
- Loading branch information
Showing
2 changed files
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0531956
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix broke the lighting of the scene, because the scene is overwritten. This can be solved by adding camera and lighting after the scene is re-assigned from event.content.
There are also some regexes in the loader that need fixing. The loader currently breaks if a transparency is specified. I forked this repo, hope to be able to create a pull request tomorrow. I would like to work on importing IndexedFaceSet. Any ideas on this?
0531956
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet!
Nope... :/