Results 1 to 3 of 3

Thread: Render to video memory?

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    8

    Render to video memory?

    Hi.
    I wonder if its possible to render scenes/objects to texture memory (video card memory) without render to system memory first?
    I want to simulate reflections in this way by moving the view port to the polygon that should reflect and render the scene from that view port to a texture, later using this texture from the origin view port to render the scene.
    Is better for me to calculate the intersection between the ray projected from the eye to the reflecting polygon and from the reflection polygon to the other objects in the scene.
    It seems more logical to take advantage of the 3D hardware to this kind of thing, but is it fast enough if I cant render direct to video memory?
    /Dew

  2. #2
    Member Contributor
    Join Date
    Mar 2001
    Posts
    64

    Re: Render to video memory?

    I think if we gather up all the people that want to do this we could put enough pressure to get this in the next version.
    http://www.opengl.org/discussion_boa...ML/000145.html

    And to think I was told I was the only one that wanted pointers.

  3. #3
    Senior Member Frequent Contributor
    Join Date
    Sep 2000
    Location
    SWEDEN
    Posts
    601

    Re: Render to video memory?

    If you render in OpenGL, then it'll automagically end up in video mem. Just use glCopyTexSubImage2d() to update the texture from the framebuffer. It's fast on nVidia hardware at least.

Similar Threads

  1. Replies: 0
    Last Post: 05-20-2009, 12:14 AM
  2. Query Video Card Info (Video Memory size?)
    By macbearchen in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-17-2003, 02:12 AM
  3. Video memory and AGP memory problem
    By dilectio in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 12-02-2002, 04:39 AM
  4. VAR & Video Memory
    By royconejo in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 02-20-2001, 03:03 PM
  5. Video memory to system memory
    By SolomonS in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 05-19-2000, 01:13 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