Hi Eric, On 6/30/07, E. Wing <[EMAIL PROTECTED]> wrote:
So one concern before I move on. Somebody suggested to me that an additional problem may be that the OSG source does not appear to the GL_DYNAMIC_DRAW_ARB and GL_STREAM_DRAW_ARB which is what I'm probably after. (I'm a newbie to VBOs, so I'm very trusting of this.) Grepping through the source, these two constants appear in the OSG 2.0 source, but they are commented out. I believe my usage case reflects the STREAM classification. Should I be concerned that this is commented out. Would activating these commented out types be difficult?
I did do benchmarking with the various options but did find any difference in performance. I guess some drivers it might make a difference.
So I am not doing geometry deformation. I am displaying a continuous live stream of data as it comes in so I cannot programmatically transform the data as far as I know so I don't think there is anything useful I can do with shaders here. (If there is, I would be interested in hearing more about it.) The information I'm getting on VBOs is that is essentially like DMA to the video card and it was intended for the very kind of thing I am trying to do (hence the DYNAMIC and STREAM values).
VBO's is what you want for sure. Just reviewing the code I can see that I haven't expose the options for setting the _usage parameter, I've now add this so you can try setting the usage on the VBO directly as per the OpenGL options for usage. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
