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

Thread: Function interposition of opengl functions

  1. #1
    Newbie Newbie
    Join Date
    Mar 2013
    Posts
    1

    Function interposition of opengl functions

    I would like to be able to able to store mesh data of an arbitrary opengl application as it runs. I found out about function interposition, and tried it for various opengl functions, just printing a message and then calling the real function.
    It worked for several, including glGenTextures, glVertexPointer, glutSwapBuffers, however I cant get my replacements for glBufferData or glGenBuffers to run.
    I would like to know if there is anything special about these functions, or if there is some other way to retrieve mesh data in running applications, such as that stored in vertex buffer objects

    Thanks
    Ethan

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    1,128
    Code please.

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Aug 2004
    Location
    munich, germany
    Posts
    659
    sounds to me like you are planning to extract model data from a game or something similar.
    i do not think that the producer of that game would like you to do that, and therefore i do not
    think we should give you support for getting illegal access to someone else's intellectual property.

  4. #4
    model is just data. have you loaded the GL extensions using glew?

Posting Permissions

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