Hi all. Please see this playground:
https://playground.babylonjs.com/#JSR8SF#2
I’m creating a mesh from a VRML/WRL string. My goal isn’t to make a general VRML loader, but just a function to load VRML strings formatted exactly like the example in that playground.
It generally works well, but the front of the mesh is sometimes rendered behind the back of the mesh. Any ideas how to correct this?
Also, I know VRML uses a right-handed coordinate system. But Babylon.js is left handed. How can I modify the coordinates from the VRML file to be right handed? I know about scene.useRightHandedSystem, but I want to load in babylon files that are also left handed, so I don’t think changing the handedness of the whole scene is the right approach.
As always, thanks for all your help with this!