In this article you will find info on coordinate systems used in different flavors of Verge3D.
In Verge3D we use right-handed coordinate system with the Y axis pointing in the up direction. If we place the camera so X axis points right, then the Z axis will point forward (to the viewer).
Right-handed means when you place an imaginary screw perpendicular to both X and Y and then rotate X axis to Y axis, the screw goes in the direction of Z axis.
So, it does not matter which Verge3D flavor you use: Verge3D for Blender, 3ds Max, or Maya. In all these the coordinate system is the same - Y-up.
Blender uses right-handed coordinate system with Z axis pointing in the up direction.
This convention is different from Verge3D, however in most cases you don't need to worry about it. When you export you scene from Blender to glTF, we automatically convert all coordinates by swapping Y/Z axes. Basically, you animate and move your objects in Blender, and these movements are handled by Verge3D properly.
X (Blender) -> X (Verge3D) Y (Blender) -> -Z (Verge3D) Z (Blender) -> Y (Verge3D)
Compare screenshots above to see why Y becomes -Z.
Autodesk 3ds Max uses right-handed coordinate system with Z axis pointing in the up direction. This convention is similar to Blender, so everything we said about Blender is valid for 3ds Max as well.
Now it's time for history lesson. Both Blender and 3ds Max use coordinate system which were common in early 90's. This convention is typical in architecture - you start modelling from the floor plan which uses X/Y coordinates and then extrude upwards (or downwards). On the other hand, Maya, most game engines, graphics APIs, and of course Verge3D use different approach. The screen becomes a 2D plain which uses X/Y coordinates to position flat images, while Z coordinate adds depth to the scene. That's why the buffer that stores pixel depth is called Z-buffer and the issue with limited depth precision is called Z-fighting.
By default, Autodesk Maya uses right-handed coordinate system with Y axis pointing in the up direction.
This convention is similar to Verge3D so there is nothing to worry about, especially if you don't set World Coordinate System to Z:
In Puzzles we use coordinates depending on the loaded scene. If the scene was made in Blender or 3ds Max, we use Z-up coordinate system. If the scene was exported from Maya, we use Y-up coordinate system. That means, that in Puzzles you stick to the coordinate system of your modelling suite.
In case if you load scenes made in different modelling suites (for example if you run Verge3D Ultimate), we use the coordinate system of the scene which is loaded first.
Coordinate System Conventions
|Software / Standard||Default System||Handedness||Notes|
|Maya||Y-up||right-handed||configurable to Z-up right-handed|
- Normal Map Technical Details - overview of normal mapping techniques and differences between modelling suites.