Results 1 to 5 of 5

Thread: Select a object

  1. #1

    Select a object

    Is there a method to select an object with the mouse and change his position ?

  2. #2
    Member Contributor
    Join Date
    May 2001

    Re: Select a object

    well it is not that easy that you can do it all with one or two function calls.

    you have to switch in a different render mode. sort of offscreen, but i can't remember the syntax. then you can use glu-stuff like glupick...
    the modification of the position you have to do yourself.
    if you want to have an example give me a mail and i try to send you my example from superbible2, though i am sure that there are enough examples on the net.


  3. #3

    Re: Select a object

    Here my mail: Your help will be very useful for me. Thank you !

  4. #4
    Junior Member Newbie
    Join Date
    Dec 2003

    Re: Select a object

    What you want to do is called 'picking'. Any OpenGL reference (e.g. red book, Superbible) will have the information you seek.

  5. #5
    Junior Member Newbie
    Join Date
    Oct 2001

    Re: Select a object

    Look in Selection & Feedback section of any OpenGL book. I use OpenGL Programming Guide - Third Edition

Similar Threads

  1. select object from multiple object and rotate
    By somnath in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-05-2011, 04:57 PM
  2. select/pick object
    By Irena in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-08-2010, 07:14 PM
  3. howto select an object?
    By SenSej in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 12-30-2008, 12:40 PM
  4. Select a vertex from a 3D object
    By idan333 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-19-2003, 02:15 PM
  5. how to select an object
    By rom in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 03-11-2001, 08:19 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