Archived

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

3d -freedom

This topic is 5146 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello! im looking for a tutorial about mouse-look. im trying to create a "3d-world" that i can fly around/starfe in, like free-look in halflife when you are dead (you know what i mean). there sould be lots of good tutorials like that but i cant find anything. cheers anders

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
you should be able to just take a glance at the mouse tutorial on this site, that has to do with "picking" objects & it should show you how to grab a mouse''s position & clicks. After that, you should already know how to translate & rotate the world around your view based on some inputs.... if you don''t... go through the first 5-10 tutorials on this site & brush up.

Share this post


Link to post
Share on other sites
i looked at lesson number ten but i think it''s kind of weak.
for example would i like to know how to move around the camera instead of moving modells. i wrote a lot of code that build on moving the camera insted of moving modells.

Share this post


Link to post
Share on other sites
There is no camera, it does not exist. We use the camera as an analogy to help understand transformations, but you cannot move it. The only way to get the effect of moving through a 3d world is by moving the world itself. Even gluLookAt transforms the world, its just wrapped up in a function so it appears to move the camera.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Try checking out the camera tutorials here:

http://www.gametutorials.com/Tutorials/OpenGL/OpenGL_Pg1.htm

no disrespect''n GameDev, GameTutorials just has beeter cameral tuts is all imo.

Share this post


Link to post
Share on other sites