Results 1 to 2 of 2

Thread: Selection/Picking question---help?

  1. #1
    Member Newbie
    Join Date
    Jan 2003
    Location
    rawalpindi,punjab,Pakistan
    Posts
    39

    Selection/Picking question---help?

    hey..
    how will selection/picking work for an imported drawing...e.g. i want to slect/pick drawing in my application that was created in another software such as AutoCad or Paint

    thanks

  2. #2
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,966

    Re: Selection/Picking question---help?

    Define drawing, picking operates on geometry.

    If you want to select rendered image portions you would need to render outlines of those selectable portions as geometry.

    To pick stuff in a 2D 3D scene, you set the viewport to the pick region, then draw the scene. As you draw the scene you set a unigue hit identifier for each pickable object in the scene. If the objects are visible they will leave a hit code in the pick buffer.

Similar Threads

  1. Box selection instead of picking
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-13-2006, 02:02 PM
  2. Picking and Selection.
    By Pezdro in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-07-2003, 12:17 PM
  3. selection and picking
    By sadhu in forum OpenGL: Linux
    Replies: 1
    Last Post: 01-03-2002, 05:00 AM
  4. help - selection and picking
    By sadhu in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-02-2002, 12:02 AM
  5. 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

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