Results 1 to 5 of 5

Thread: video memory

  1. #1
    Junior Member Newbie akane's Avatar
    Join Date
    Jun 2009
    Posts
    5

    video memory

    Hi! I would like to know how to read and write directly to video memory.
    Thank you very much

  2. #2
    Senior Member Frequent Contributor _NK47's Avatar
    Join Date
    Mar 2008
    Posts
    574

    Re: video memory

    not precise enough. textures can be used to store data on video memory f.e. also vertex buffer objects. the first is "usually" used for images the later for vertices or indices but in fact you can store absolutely anything you want in texture objects or vertex buffer objects.

  3. #3
    Junior Member Newbie akane's Avatar
    Join Date
    Jun 2009
    Posts
    5

    Re: video memory

    My problem is that I want to dump the contents of a window in another, but if the first window is outside of the field of vision of my PC monitor, when I show the contents in the second window, the area of the first window that is hidden becomes black in the second window. I attached a screenshot :

    Thank you.

    P.D. : sorry for my english, Im spanish

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

    Re: video memory

    if the first window is outside of the field of vision of my PC monitor
    As per the "pixel ownership test", if a pixel is not visible, it is undefined (so it can be anything, white, purple, black, correct, ...).
    http://www.opengl.org/documentation/....1/node94.html
    See also FAQ 14.070 :
    http://www.opengl.org/resources/faq/...terization.htm

    Use a FBO (framebuffer object) if you need solid offscreen rendering.
    Tutorials :
    http://www.gamedev.net/reference/pro...features/fbo1/
    http://www.opengl.org/wiki/GL_EXT_framebuffer_object

  5. #5
    Junior Member Newbie akane's Avatar
    Join Date
    Jun 2009
    Posts
    5

    Re: video memory

    Thank you very much!!!

Similar Threads

  1. Replies: 0
    Last Post: 05-20-2009, 12:14 AM
  2. Video memory
    By Acheum in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 08-11-2003, 05:09 AM
  3. Query Video Card Info (Video Memory size?)
    By macbearchen in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-17-2003, 02:12 AM
  4. Video memory and AGP memory problem
    By dilectio in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 12-02-2002, 04:39 AM
  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