jacquesr Posted March 5, 2018 Share Posted March 5, 2018 Hi guys, please forgive me, I was not sure if reporting this as a bug is really the best approach or if it should rather be an open discussion. From what I can see I expect that scene.useRightHandedSystem is just scaling everything as "x *=-1" This makes the feature rather impractical when text (on textures, basically) is involved in the scene. I was hoping so much for this setting to address an issue we have where in our ecosystem, babylonjs is the only component with a left handed coordinate system and requires offset translations for everything we draw... I may also have textures that show logos, which would then also be inverted. So my question is this: Is this the desired behavior of the feature? Playground (from someone else, just found it and flipped the coordinate system to make my point): http://www.babylonjs-playground.com/#9U086#120 Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 5, 2018 Share Posted March 5, 2018 Right handed system is not only about scaling the x axis. it is a lot more than that. Otherwise all frameworks would simply support it no, it is not the desirable behavior. If yous meshes are well prepared, it shouldn't happen. If you want to reproduce a right-handed playground and show that it works/doesn't work, it would be great. GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
jacquesr Posted March 6, 2018 Author Share Posted March 6, 2018 Hey Raanan, just see those examples: left handed http://www.babylonjs-playground.com/#9U086#201 right handed http://www.babylonjs-playground.com/#9U086#200 Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 7, 2018 Share Posted March 7, 2018 If you use the right-hand system you also need to take into account that z inverts (again, among other things). So, your demo should be this: http://www.babylonjs-playground.com/#9U086#202 (left) and http://www.babylonjs-playground.com/#9U086#203 (right) Does it make sense? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.