Results 1 to 2 of 2

Thread: Selection: multiple contexts and two name stacks?

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2008
    Posts
    28

    Selection: multiple contexts and two name stacks?

    I'm using OpenGL with GLUT and am currently implementing selection features in my 3d application.

    I'm using two (glut) subwindows: one for the 3d scene and one for glut bitmap text (this subwindow is ortho 2d).

    Basically, I want the user to be able to select an object either by clicking it in the 3d scene subwindow or by clicking its name in the text window. I already have selection working in the 3d scene.

    But now I can't figure out how to get selection working in the text window.
    There are two complications:
    Do I need two name stacks - One for the objects in the scene and one for the text objects? Can you even have two name stacks?
    Secondly, how should selection differ in a 2d context from that of a 3d?

    Thanks

  2. #2
    Junior Member Newbie
    Join Date
    Nov 2008
    Posts
    28

    Re: Selection: multiple contexts and two name stacks?

    Can anyone shed some light on how to select bitmap text??
    Can you select in an orthographic window?

Similar Threads

  1. multiple contexts and devices
    By brdavs in forum OpenCL
    Replies: 1
    Last Post: 01-24-2013, 02:02 PM
  2. multiple contexts and pbuffers
    By tho in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 09-25-2007, 05:28 AM
  3. creating multiple contexts
    By kiamicel in forum OpenGL: Windows
    Replies: 1
    Last Post: 06-29-2004, 03:34 AM
  4. multiple contexts in qt/glx?
    By Vijayalakshmi in forum OpenGL: Linux
    Replies: 1
    Last Post: 07-15-2003, 03:34 AM
  5. multiple rendering contexts?
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-15-2002, 05:13 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