> Hi, > On Thu, 2011-09-22 at 16:16 +0200, Christian Bar wrote: > > Hello, it's me again. > > In this e-mail I will explain with more detail the first problem I still > > have with the porting of my application to OpenSG 2.0; > > the problem is related to text updates every frame (or so...) > > > > I wrote a simple program to demonstrate the problem (it's a modified version > > of testTextTXFGeo, actually...) > > In this program a single TextTXFFace is created and used to update a > > geometry (created with TextTXFFace->makeNode()) once per second with a > > random number of lines of random characters. > > The methods used to update the text are TextTXFFace ->layout(lines, > > layoutParam, layoutResult) and TextTXFFace->fillGeo(geo, layoutResult, > > scale) > > > > > Using OpenSG 1.8 it worked well, but now it sometimes generates a crappy > > texture with old characters mixed with the new characters. > > When the texture is wrong, a warning message is displayed: > yep, there was a bug as the buffer size changed the vbo was not updated > correctly. I fixed this one, could you give it a try. With the fix the > glerrors are gone for your test program, could you check if the results > are correct. > kind regards > gerrit
Yes, your fix works well, thank you! This fix works so well that it also solves my other problem, the one related to adding points to a geometry! Next week I'll post my "Porting guide to OpenSG 2.0" :) Thanks Christian ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users