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: how to copy ENTIRE framebuffer into a texture ??

  1. #1
    Intern Contributor
    Join Date
    Aug 2000
    Location
    Epinay sur Seine, France
    Posts
    94

    how to copy ENTIRE framebuffer into a texture ??

    I know this topic has already been covered many times so it's ok with glCopyTexImage2D and glCopyTexSubImage2D.
    What i need to know can specify x and y ratios to copy the entire framebuffer to a smaller texture ??
    One life for hate , one eternity for love [img]/forum/images/%%GRAEMLIN_URL%%/smile.gif[/img]

  2. #2
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    Re: how to copy ENTIRE framebuffer into a texture ??

    no u will need to draw the scene the same size as the texture size, perhaps a pbuffer is handy?

  3. #3
    Senior Member OpenGL Guru knackered's Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    3,032

    Re: how to copy ENTIRE framebuffer into a texture ??

    Or use that pixel zoom lark, if your card supports the imaging subset in hardware (Wildcat 4210 supports it, I think)
    Knackered

Posting Permissions

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