Archived

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

Lode

another newbie opengl question (sorry)

Recommended Posts

This one is killing me! I use a vector for my camera direction, and to simulate camera rotation I want to rotate the scene instead but the function glRotatef seems to use euclidean angles or something? Is there another gl rotation function that uses a vector? I used to make some raytracers and there I always gave my camera the following parameters: a vector for it''s location a vector for it''s main direction a vector for the U part of the camera plane a vector for the V part of the camera plane and it was so cool, by changing the main direction, U and V I could change u and v FOV, roll pitch and yaw the camera, and even skew the camera and do some weird alien effects! How will I be able to transform all this functionality to OpenGL?

Share this post


Link to post
Share on other sites
Hello!

I''m also very new to OpenGL and here I saw that you use the GLUT Library. Now what I want to know is, does the Glut Library underly the GPL or can I use that library also for commercial projects?

Ciao Martin

ps.: Sorry for my horrible English!

Share this post


Link to post
Share on other sites
quote:
Original post by MartinKnecht
Hello!

I''m also very new to OpenGL and here I saw that you use the GLUT Library. Now what I want to know is, does the Glut Library underly the GPL or can I use that library also for commercial projects?

Ciao Martin

ps.: Sorry for my horrible English!


This is a completely separate topic, MartinKnecht. It''s impolite to hijack someone else''s thread; start your own.



Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites