Hi,

> Hi Sven.
> 
> Sven Widderich schrieb:
> 
>>This is the first time I'm using this mailing list, so I hope this is the
>>right way to ask.
>>  
> 
> Welcome.on board...
> 
>>I've read the tutorials quiet often but I don't get the point with OpenSG
>>rendering.
>>
>>My Questions:
>>How can I tell OpenSG to render a Node or a Geometry as VBO?
>>  Is this done by just turning off "display lists"?
>>  
> 
> 
> As far as I know, OpenSG uses VBOs by default for some time now. To be 
> sure, you can call
> 
> geo->setDlistCache(false);
> geo->setVbo(true);
> 
> on your Geometry (surrounded by the oblig. begin/endEditCP of course...).

calling geo->setVbo(true); is enough this overwrites DlistCache state.

>>How can I verify OpenSG is using VBO's?
>>
>>How do I get the VBO Identifier (that is returned by glGenBuffers)?
>>  I need this to register the VBO to Nvidia CUDA.
>>  
> 
> 
> No clue and / or no time to have a look - sorry.

right now that's not possible but I could add an public method. But 
there is no single VBO Identifier there is one for each geometry 
property (positions, normals, indices, ...)

Andreas

> HTH (at least partially...),
> Dominik
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to