Results 1 to 2 of 2

Thread: Object manipulator

  1. #1
    Junior Member Newbie
    Join Date
    May 2011
    Posts
    3

    Object manipulator

    Hi,

    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 a basic manipulator which works fine for translations in the XY plane (thanks to gluUnproject) but when I make a rotation of the object, the manipulator doesn't work anymore (some problem of projection).

    In fact, I would expect 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 ?).

    Anyone have an idea?

    Thanks by advance.

  2. #2
    Member Newbie
    Join Date
    Jul 2008
    Posts
    40

    Re: Object manipulator

    Hi

    I don't think I can answer your question but I am interested in your use of gluUnproject() as I've been using this and can't get any sense out of it. Do you scale your z-values according to the zNear/zFar specified in gluPerspective()?

    It's the problem with opengl - thousands of programmers continually having to reinvent the wheel to do the most basic operations!!

    Graham

Similar Threads

  1. Replies: 0
    Last Post: 10-28-2014, 08:51 PM
  2. Wrapping a cloth-like object around a hard object
    By jenny_wui in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 08-01-2012, 02:41 AM
  3. virtual object occluded by real object
    By deduu10 in forum OpenGL: Advanced Coding
    Replies: 16
    Last Post: 06-27-2012, 02:30 AM
  4. Issue overlaying two arms for robot manipulator
    By JSmiddy in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-06-2010, 03:12 AM
  5. One alike object coming out from parent object
    By queries in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-22-2004, 04:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean