Graphics: Difference between revisions

257 bytes added ,  Friday at 14:41
let's not rely on the image to tell the user what the coordinate system is
m (better lede)
(let's not rely on the image to tell the user what the coordinate system is)
 
Line 3: Line 3:
==Coordinate system==
==Coordinate system==
[[Image:3D coordinate systems with Oni added.jpg|right|300px]]
[[Image:3D coordinate systems with Oni added.jpg|right|300px]]
When compared with other game engines, Oni's coordinate system is not so unusual, however it has a difference of opinion with Blender on the subject of which axis is up. Since Blender is now the 3D modeler most commonly used by modders, recent versions of our modding tool [[OniSplit]] have offered an argument, -blender, for converting between axis conventions automatically. Note that Oni has a BSL command, <tt>am_show_axes</tt>, for showing the world axes as a handy reference, except that it's ''wrong'', showing a lefthanded Z-up system, only used by Unreal Engine.
In Oni's world, the Y axis is up, the X axis extends rightward, and the Z axis is depth, or "forward". This is referred to as a righthanded Y-up system, with the "hand" referring to a conventional mnemonic aid for keeping track of axes, pictured on the right. When compared with other game engines, Oni's coordinate system is not unusual, however it has a difference of opinion with Blender on the subject of which axis is up. Since Blender is now the 3D modeler most commonly used by modders, recent versions of our modding tool [[OniSplit]] have offered an argument, -blender, for converting between axis conventions automatically. Note that Oni has a BSL command, <tt>am_show_axes</tt>, for showing the world axes as a handy reference, except that it's ''wrong'', showing a lefthanded Z-up system, only used by Unreal Engine.


==Environment mapping==
==Environment mapping==