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: Transform Feedback Buffer

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2013
    Location
    Paris
    Posts
    17

    Transform Feedback Buffer

    Hi,
    I want to compute FFT using opengl and shaders.
    I have seen that some people have done this using the fragment shader like this one GPU GEMS 2

    But I think of using the Transform FeedBack Buffer. However, it is really difficult to find a simple example of it.
    I already have the OpenGl superbible book in which this method is explaned but the example is highly difficult (flocking ).

    So I wonder if using the Transform feedback is a good idea and if so do you know some basic tutorials of how to use it?


    Thank you.

  2. #2
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,224
    For how to use it, check out these links:

    * Modern OpenGL
    * Tutorial 28 (OGLDev)

    As to if it's a good idea, I'm no GPGPU guru, but a brief look at the data flow suggest you probably need some way to do feedback. Could do with transform feedback and vtx shader only, or could do with point fragments scattered to the appropriate places in a destination rendertarget by setting gl_Position. There are probably other way too though. You may want to do a literature search. This kind of thing has been done for 10 years or more using GPUs and it might save you from re-inventing the wheel.
    Last edited by Dark Photon; 01-17-2013 at 07:11 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
  •