Andreas Zieringer wrote:
> Hi Marcus,
>
>   
>> Andreas Zieringer wrote:
>>     
>>> Hi Marcus,
>>>   
>>>       
>>>> VBOs are enabled automatically in 1.8. They can be disabled using 
>>>> Geometry::setVBO(false), but to use them, you need to do nothing. 
>>>> (Except perhaps make sure you are using single-indexed geometry.)
>>>>     
>>>>         
>>> not really on default display lists are enabled!
>>>       
>> Are you sure? I started to get VBOs by simply upgrading OpenSG, without 
>> calling setVBO at all in my app. (Hence I got a bit upset at the default 
>> behaviour some time ago.. ;-) I noticed this in my profiler which 
>> suddently started to show GeoVBO::update as the main culprit. :)
>>     
>
> yes the default value for the vbo field is false. Do you have an small 
> example to reproduce this?
Indeed it is!  Very odd then, as I'm quite sure about this. II have been 
tracing into the VBO code and there's no setVBO(true) anywhere (since I 
didn't know about it).  It might be that I've been overwriting some 
memory or so then, but it seems a bit too coincidental that I've managed 
to corrupt only that bit and everything else is working ok.

I don't have a small example currently (our app is pretty big) but I'll 
do some debugging and look into it a bit more and see what happens.

/Marcus

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to