Archived

This topic is now archived and is closed to further replies.

atarifly_zero

fully quaternion based 3d game engine

Recommended Posts

hi there, am just writing my first 3D game engine and i''m wondering about the use of quaternions. well, let''s say i hope that i am quite familar with the relevant things for 3d copmuter graphics and now i must make an important decision:
  • use quaternions only for camera and skeletal animations
  • or use the for "nearly everything"
i tending to the second point ! but every one says: no don''t use them for all !! but i never get a real reason why, and IMHO the overhead of the quaternion isn''t that huge. another point i am weird of, is the format i should use to represent the necessary data: well thought of s.th. like this:
  • quaternion for rotation (two quaternions can be multiplied as normal)
  • vector for scaling components (the components of the scaling vectors could be mulriplied)
  • vector for translation (the components of the translation vectors could be added)
well, how have you done that ? and if you''re using them ONLY for for camera and skeletal animations, plaese tell me why ? thanks for response

Share this post


Link to post
Share on other sites
Yes i always want to know what the "dark side" of gameprogramming does.

-------------------------------
The truth is, there is no truth

Share this post


Link to post
Share on other sites