PDA

View Full Version : ARB_Vertex_Object usage



Tom78
09-13-2003, 05:43 AM
Hi,

i want to use the ARB_Vertex_Object for passing geometry to my vertex program. The Data is static and gets transformed by the vp. Now what kinf of ARB calls for vbo should i use ? Mapped Buffer Objects, Unmapped ? Or . How should i initialize the Data ? STREAM_DRAW_ARB, STATIC_DRAW_ARB or DYNAMIC_DRAW_ARB. I do not need to store the Data in AGP Memory and i do not need to access the VBOs directly.

cu
Tom

Jan
09-13-2003, 07:39 AM
Since your data is static, you should use STATIC_DRAW_ARB.

If you want to manipulate your data sometimes, you should use DYNAMIC_DRAW_ARB.

And if you want to send data, use it, send new data, use that, etc..., you should use STREAM_DRAW_ARB.

Itīs quite intuitive.

Jan.

Tom78
09-13-2003, 02:32 PM
That's really cool. Thanks.

cu
Tom