04-30-2001, 12:01 AM
can i move the camera,if yes how to move it to make navigation inside atube,if not how to make the navigation then
yes you can "move" the camera
void gluLookAt( GLdouble eyex, GLdouble eyey, GLdouble eyez, GLdouble centerx, GLdouble centery, GLdouble centerz, GLdouble upx, GLdouble upy, GLdouble upz)
eyex, eyey, eyez (Specifies the position of the eye point.)
centerx, centery, centerz (Specifies the position of the reference point.)
upx, upy, upz (Specifies the direction of the up vector.)
As far as moving you can store a list of the differnt params for the function and display the respective frames to allow the illusion of moving the camera.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.