Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Rendering offscreen using RGBA

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2001
    Posts
    11

    Rendering offscreen using RGBA

    I'm trying to initialize an offscreen rendering context using an RGBA pixel format, and I have had no success. However, I've been successful rendering offscreen with a color index pixel format. Is it possible to create an offscreen rendering context using aglSetOffScreen() that stores pixel information in RGBA format? Thanks.

  2. #2
    Intern Newbie
    Join Date
    May 2000
    Location
    LONDON
    Posts
    46

    Re: Rendering offscreen using RGBA

    Did you check Apple OpenGL examples ?? They contain examples on out to set up OpenGL for offscreen rendering. As far as I know RGBA is the default pixel format for the pixel in OpenGL. There is an extension to get a pixel format of ABGR but I have not seen that used a lot.

    Dan.
    Being crazy is not a requirement but it helps.

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2001
    Posts
    11

    Re: Rendering offscreen using RGBA

    Yes, I tried everything I could think of and the only success I had rendering offscreen was with color index mode. I've since been able to solve my problem using a different approach, but I would still be interested if anyone has had success rendering offscreen with aglSetOffScreen in RGBA mode.

    Jason

    Originally posted by BANE:
    Did you check Apple OpenGL examples ?? They contain examples on out to set up OpenGL for offscreen rendering. As far as I know RGBA is the default pixel format for the pixel in OpenGL. There is an extension to get a pixel format of ABGR but I have not seen that used a lot.

    Dan.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •