Results 1 to 3 of 3

Thread: Mutiple rendering planes with GLX

  1. #1
    Member Contributor
    Join Date
    Aug 2000
    Location
    Webster, Ma 01570
    Posts
    64

    Mutiple rendering planes with GLX

    Hello gang,
    This is a little bit of an advanced question, but I hope someone can help. I am trying to create a OGL application on a Solaris(SUN) workstation using X-windows/Motif(NO GLUT!!). I know that you can have more than one rendering plane in OGL(your main plane and a transparent overlay), my problem is that I can't seem to find an example or anyone who knows to set one up in GLX.
    What I am triyng to do is have one plane with a large complex object that doesn't move or change too often in one plane(the main one) and then draw the constantly changing, smaller stuff in the overlay plane. Thus when stuff changes I only have to redraw the stuff in the overlay plane instead of everything(hopefully incresing performance a tad). Using mutiple planes seems like a good idea, if only I could figgure out how to use them!! If anyone knows of a demo/source code for this, I will be very gratefull!!
    NOTE: I am not talking about double buffering, I know how to do that. This is mutiple rendering planes - big diffrence!! I have recieved numerious replys about double buffering when I have posted this question in other newsboards. I don't want that!! I am hoping someone can help me!!

    Side question: Does anyone know if you can have double buffering on the mutiple planes?

    Thanks!!
    Roach

  2. #2
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    State College, PA
    Posts
    186

    Re: Mutiple rendering planes with GLX

    In the green book there is an extensive Xlib-only example of using overlay planes.

    The source code for all of the examples in the book can be found here: http://reality.sgi.com/mjk_asd/OpenGLforX.html

    I'm not sure on the double-buffering aspect of them... I've never tried it.

    Chris

  3. #3
    Member Contributor
    Join Date
    Aug 2000
    Location
    Webster, Ma 01570
    Posts
    64

    Re: Mutiple rendering planes with GLX

    Thanks Chris!!
    That gives me a starting point anyways!! If anyone has any experence using mutiple rendering planes, please contact me. Thanks!!!

    Roach

Similar Threads

  1. Clipping planes appear disabled when rendering shadows on iOS?
    By kris928 in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 11-24-2014, 11:35 PM
  2. General advice on mutiple renders
    By Stuart McDonald in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-14-2011, 06:49 PM
  3. Mutiple viewport question
    By godhand in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-06-2004, 05:18 AM
  4. Mutiple rendering planes using GLX
    By Roach in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 02-20-2001, 06:07 AM
  5. how do you tie "camreas" to mutiple viewports
    By Nobody in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 05-02-2000, 09:54 PM

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