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

Thread: Vertex transform and readback

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2008
    Posts
    4

    Vertex transform and readback

    Hi all,

    I want to know how I can perform vertex transformation and readback result.

    (I know I can copy vertex attributes into a texture, transform them by a pixel shader and readback the result via a render to texture)

    But doesn't it have a best solution like :

    1 -Draw normally polygon ...

    2- Set a vertex transformation shader,

    3- Read back the result into CPU memory.


    Thanks in advance

  2. #2
    Junior Member Regular Contributor
    Join Date
    Aug 2007
    Location
    USA
    Posts
    244

    Re: Vertex transform and readback

    If you have a shader model 4.0 NVIDIA card, you can use the transform feedback extension to render from the vertex shader or geometry shader into a VBO.

    http://www.opengl.org/registry/specs...m_feedback.txt

Posting Permissions

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