Advertisement

The Camera class....

Started by September 05, 2002 08:27 PM
1 comment, last by TheAce 22 years, 5 months ago
Hello, i''ve read Ian Kerr''s tutorial camera class and i''m trying to figure out what he means by normalize() eg: m_target.normalize(); and also for changing the camera place we use gluLookAt()?? I''m trying to figure out how that camera class would works... but for his math things he''s right its what i have in my book. Hmm well any advice would be nice... thx
--TheAce
I,m trying to use gluLookAt(), seems to move the camera position from the items but i am having a hard time to get the result i want...
the 3 first value are eyex,y,z that would determine the camera position

the others 3 x,y,z are where the other item is at

and the others 3 are x,y,z??
field of view something like that? i think i miss somehting
--TheAce
Advertisement
Nm, did it... but....
I have trooble loading a 3ds and making 16 gluSphere with tga textures.......
and place those sphere right because i dunno it works well for the 2-3 1st but after that it seems that my glTranslatef(is changed)

--TheAce
--TheAce

This topic is closed to new replies.

Advertisement