Skip to main content
GameDev.net gamedev.net
🔒 Locked 🎮 Unity

Quaternion Camera

Started by VanillaSnake21 Jan 13, 2007 at 6:22 PM 0 replies 600+ views
Original Post
VanillaSnake21
VanillaSnake21
Hi, im building a quaternion 3D camera, what would be the code to make one, or the steps, I found an article here but its for openGl( , thnx.
You didn't come into this world. You came out of it, like a wave from the ocean. You are not a stranger here. -Alan Watts
_neutrin0_
_neutrin0_
Creating a quaternion camera has nothing to do with DirectX or OpenGL directly. The article here explains clearly what is needed. Though it uses OpenGL APIs, you can adapt them just as easily to DirectX. The only thing, according to me, that has to be changed is the gluLookAt API with one of the DirectX APIs D3DXMatrix*() to create the appropriate matrix. I hope you have a good grasp on quaternions.
++ My::Game ++

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.