Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: GL_EXT_transform_feedback problem

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Singapore
    Posts
    801

    GL_EXT_transform_feedback problem

    Hi all,
    I am kind of confused on this extension. I can use the non ext function (glTransformFeedbackVaryings) without any problem however the extension function (glTransformFeedbackVaryingsEXT) is undefined. I double checked the extensions supported using GLview and it tells me that my platform supports
    GL_EXT_transform_feedback2
    GL_NV_transform_feedback
    GL_NV_transform_feedback2
    what is the difference between GL_EXT_transform_feedback2 and GL_EXT_transform_feedback? The latest glew headers only handle GL_EXT_transform_feedback is it some kind of a bug or am i missing anything?

    I have the latest drivers for my NVIDIA Quadro FX 5800 card on WIndows 7 64 bit.
    Regards,
    Mobeen

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,714

    Re: GL_EXT_transform_feedback problem

    GL_EXT_transform_feedback2
    No such extension. Do you mean ARB_transform_feedback2?

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Singapore
    Posts
    801

    Re: GL_EXT_transform_feedback problem

    No such extension. Do you mean ARB_transform_feedback2?
    This is what GLview gives me

    click this if its too short.
    http://www3.ntu.edu.sg/home2007/mova0002/test/ext.png
    Regards,
    Mobeen

  4. #4
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,714

    Re: GL_EXT_transform_feedback problem

    The extension registry lists no such extension. Maybe its a bug in GLview 3.34? My version 3.35 doesn't have that extension listed in the database (my hardware doesn't support transform_feedback2).

  5. #5
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Singapore
    Posts
    801

    Re: GL_EXT_transform_feedback problem

    I have updated to GLview v3.35 and it reports the same extension.

    I have the latest nvidia drivers v267.79 (just installed it released yesterday).

    The extension registry lists no such extension
    NVIDIA detail it here http://developer.download.nvidia.com..._feedback2.txt

    One more thing that is really strange is that GLview does not report the functions exposed by this extension when the specs say it exposes these functions
    Code :
    void BindTransformFeedbackEXT(enum target, uint id);
    void DeleteTransformFeedbacksEXT(sizei n, const uint *ids);
    void GenTransformFeedbacksEXT(sizei n, uint *ids);
    boolean IsTransformFeedbackEXT(uint id);
     
    void PauseTransformFeedbackEXT(void);
    void ResumeTransformFeedbackEXT(void);
     
    void DrawTransformFeedbackEXT(enum mode, uint id);
    and these tokens.
    Code :
    Accepted by the <target> parameter of BindTransformFeedbackEXT:
    TRANSFORM_FEEDBACK_EXT                             0x8E22
    Accepted by the <pname> parameter of GetBooleanv, GetDoublev, GetIntegerv,and GetFloatv:
     
    TRANSFORM_FEEDBACK_BUFFER_PAUSED_EXT               0x8E23
    TRANSFORM_FEEDBACK_BUFFER_ACTIVE_EXT               0x8E24
    TRANSFORM_FEEDBACK_BINDING_EXT                     0x8E25

    OK so now this extension requires either GL_EXT_transform_feedback or GL_NV_transform_feedback. My hardware supports the latter. So does it mean that I have to use glTransformFeedbackVaryingsNV and I can't use glTransformFeedbackVaryingsEXT?
    I am reading the specs and it seems that this extension is handling most of the grunt work by wrapping it into new extension functions exposed in it.
    Regards,
    Mobeen

  6. #6
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,714

    Re: GL_EXT_transform_feedback problem

    NVIDIA detail it here
    NVIDIA can detail whatever they want; if it's not in the extension registry, it's not a registered OpenGL extension.

    Does it support ARB_transform_feedback and transform_feedback2? If so, you should use them.

    One more thing that is really strange is that GLview does not report the functions exposed by this extension when the specs say it exposes these functions
    That's probably because it's not registered.

  7. #7
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Singapore
    Posts
    801

    Re: GL_EXT_transform_feedback problem

    Quote Originally Posted by Alfonse Reinheart
    Does it support ARB_transform_feedback and transform_feedback2? If so, you should use them.
    It supports GL_ARB_tranform_feedback2 and GL_EXT_transform_feedback2
    Regards,
    Mobeen

  8. #8
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Singapore
    Posts
    801

    Re: GL_EXT_transform_feedback problem

    OK I can use the GL_EXT_transform_feedback2 infact it makes handling of buffers much more clean.
    Regards,
    Mobeen

  9. #9
    Intern Contributor
    Join Date
    Nov 2009
    Location
    Ukraine
    Posts
    79

    Re: GL_EXT_transform_feedback problem

    By the way, GLViewer said GL_EXT_transform_feedback supported by all must VGA, is that right?

  10. #10
    Advanced Member Frequent Contributor
    Join Date
    Mar 2009
    Location
    Singapore
    Posts
    801

    Re: GL_EXT_transform_feedback problem

    Quote Originally Posted by YarUnderoaker
    By the way, GLViewer said GL_EXT_transform_feedback supported by all must VGA, is that right?
    Its GLview not GLViewer.
    It lists GL_EXT_transform_feedback2, GL_NV_transform_feedback, GL_NV_transform_feedback2 and GL_ARB_transform_feedback2.

    supported by all must VGA
    I dont understand this phrase? Do u mean all renderers? I have checked all (apart from generic GDI ofcourse)
    Regards,
    Mobeen

Posting Permissions

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