Hello Christoph,

Christoph John wrote:
> Hello list,
> I am trying to use a geometry node with vertex buffer objects. My node core 
> has approx 120000 vertices and I need to change vertex colors of mesh parts 
> if they get selected with the cursor. 
> When the geometry is loaded the first time, rendering performance appears to 
> be smooth. After I have changed something in the vbo rendering becomes slow.

do you observe the performance hit only for the frame that follows your 
change or for all following frames ?

> Therfore my question, what could cause this slowdown? Do I explicitely have 
> to lock/unlock the vbos to increase performance?
> And if this is the case, how can I do this?

Since OpenSG does not track which indices in an MField have changed, the 
whole thing has to uploaded again, which could cause a slowdown, but 
only for the frame following the change.
Is there any chance that you could split your geometry into smaller 
pieces ? That would be the easiest way to speed things up, because the 
amount of data that needs to be uploaded is smaller.

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to