Andrey Zimin Posted January 12, 2018 Share Posted January 12, 2018 Hello friends! Many of the skyboxes I own use front, back, left, right, up, down in their naming convention. How do I know your names? var extensions = ["_px.jpg", "_py.jpg", "_pz.jpg", "_nx.jpg", "_ny.jpg", "_nz.jpg"] <----- THIS? What they correspond to? for example: _px - what is it? Up, down or ??? Quote Link to comment Share on other sites More sharing options...
Amarth2Estel Posted January 12, 2018 Share Posted January 12, 2018 Hi Andrey ! I guess _px means "Axis X : positive" Which means "Right Face" of the cube in the babylon space. And so on.https://doc.babylonjs.com/babylon101/position#convention-2-world-axes (Red axis is X, Y is green, Z is blue). When you are at (0,0,0) at look toward Z positive, then X positive is on your right. JohnK and Andrey Zimin 1 1 Quote Link to comment Share on other sites More sharing options...
JohnK Posted January 12, 2018 Share Posted January 12, 2018 http://doc.babylonjs.com/how_to/skybox#sky-images gives the answer, p for positive, n for negative , x, y, z axes and so for example nx is left hand image. Andrey Zimin and GameMonetize 1 1 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.