Jump to content
  • Advertisement

Archived

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

Lode

another newbie opengl question (sorry)

This topic is 5903 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

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
Advertisement
Cool almost perfect, I only miss the seperate U and V control.
But that''s logical, an API will never beat a home made raytracer!

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!