Results 1 to 3 of 3

Thread: Selection/Feedback

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    Hong Kong
    Posts
    9

    Selection/Feedback

    Can anyone give me some hints/pseudocode on how to pick/select a single object to do indiviual rotation/translation among multiple object models on the screen?
    Even I have read the red book, I still have no idea about that.
    Thx.

  2. #2
    Member Contributor
    Join Date
    Feb 2000
    Location
    Italy
    Posts
    77

    Re: Selection/Feedback

    Forget selection. You were maybe misled by this term.
    What you are going to do, is push the modelview matrix on the stack, set it to desired rot/tran values, and draw the object. After that pop the matrix, and again do that with the next object.
    See glPushMatrix/glPopMatrix, and review the section on matrix manipulation on the specs.
    --
    Paolo M.

  3. #3
    Member Contributor
    Join Date
    Feb 2000
    Location
    Italy
    Posts
    77

    Re: Selection/Feedback

    Ops! Sorry maybe I misundertood your request... You wanna do selection, right? so the part on rotating things is not the question...?
    Okay, enter the advanced forum, and look for some selection topic: it's already there, with the info you need.
    --
    Paolo M.

Similar Threads

  1. selection and feedback in ogl
    By Goroner in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-05-2011, 10:49 AM
  2. Selection and feedback done in software or hardware?
    By Mavoubate in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 02-21-2007, 12:36 PM
  3. Selection and Feedback using a ....
    By glfreak in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 10-21-2004, 03:32 AM
  4. Is using selection buffer for selection or picking slow?
    By mohsin in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-11-2001, 03:56 AM
  5. Problem with Feedback Mode / Selection / glPassthrough
    By Swen in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 03-07-2000, 04:46 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