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 5 of 5

Thread: Render to texture

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2004
    Location
    Budapest
    Posts
    1

    Render to texture

    Hi Masters,

    I actually port a game from Win32 / Direct3D to Mac / OpenGL but I'm absolutely new to OpenGL.

    The current Big To Do is to reimplement the render-to-texture function in OpenGL. Please help me where can I find more information, code samples, howtos, etc. to start.

    As I mentioned above it happens on Mac but I'm interested in general solutions too.

    Thank you in advance,

    Gabor

  2. #2
    Member Regular Contributor CrazyButcher's Avatar
    Join Date
    Jan 2004
    Location
    Germany
    Posts
    401

    Re: Render to texture

    no expert on this myself
    but using the search function on the "advanced" forum, should give you a lot of threads on this topic

    while I saw such extensions for windows and glx, no clue if mac offers it as well

  3. #3
    Intern Newbie
    Join Date
    Jun 2004
    Location
    Berlin, Germany
    Posts
    31

    Re: Render to texture

    Hello,

    perhaps it could be useful to know something about the image pipeline in opengl : http://www.dcc.unicamp.br/~lmarcos/c...r08.html#name3

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,575

    Re: Render to texture

    Stangely RTT is depending on the windowing system.

    I coded it under windows, so you will have to adapt all the wgl* calls :
    http://www.chez.com/dedebuffer/

  5. #5
    Advanced Member Frequent Contributor
    Join Date
    May 2001
    Location
    France
    Posts
    765

    Re: Render to texture

    If you can be patient, you should wait for the upcoming ARB extensions which are easier to use, platform-independant, and cleaner in general.
    If you have to release your game, say, before the end of the year, you can just forget what I've written since the spec release and driver support will take quite some time.

Posting Permissions

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