Jump to content
  • Advertisement
Sign in to follow this  

OpenGL 3D manipulator in OpenGL

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

Hi everyone,

I try to make a 3D manipulator in OpenGL, which allows to apply basic transformations like translations, rotations and scaling (e.g. manipulators in 3ds max or Maya).

I have already implemented the picking and a basic manipulator which works fine for translations in the XY plane (thanks to gluUnproject on the mouse coordinates) but when I make a rotation of the object, the manipulator doesn't work anymore (some problems of projection). In fact, I would like that the movement is constrained to the XY plane of the camera but I have no idea how it can be done (maybe with gluProject or with a ray technique ?).

Anyone have an idea?

Thanks by advance.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!