Change from Up Z axis to Y axis
3 posters
Change from Up Z axis to Y axis
I need to change the up axis from +Z to +Y. I think the best place to do this is when the SIO2 file is read and I think I can do this using a define so one can switch back and forth;
I would appreciate it if someone could point me to the right spots in the sources where I need to make changes for each of these things...
Thanks!
- Transformations, Matrices, Vectors Quaternions read in from the SIO2 files exported from Blender
Vertices, Normals, Tangents, etc. read in from the SIO2 files
Gravity
Camera
I would appreciate it if someone could point me to the right spots in the sources where I need to make changes for each of these things...
Thanks!
Cobbler- Posts : 15
Join date : 2009-02-01
Re: Change from Up Z axis to Y axis
The only thing that you'll have to change is the camera (sio2_camera.cc) and the billboard (sio2_object.cc) all the rest doesn't base it self on the up axis.
Cheers,
Cheers,
Re: Change from Up Z axis to Y axis
That's cool, I've changed the gravity direction and I'm looking at the camera right now.
Cobbler- Posts : 15
Join date : 2009-02-01
Re: Change from Up Z axis to Y axis
How does changing the camera source affect my_object->pos->z?
Best,
-joshua
Best,
-joshua
sio2interactive wrote:The only thing that you'll have to change is the camera (sio2_camera.cc) and the billboard (sio2_object.cc) all the rest doesn't base it self on the up axis.
Cheers,
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Similar topics
» Camera rotate about y-axis
» Rotating the Camera Around the Y-Axis
» Rotate object through global axis
» how to change the position of an object
» How to change the scene?
» Rotating the Camera Around the Y-Axis
» Rotate object through global axis
» how to change the position of an object
» How to change the scene?
Permissions in this forum:
You cannot reply to topics in this forum