-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Garrett Potts wrote:
> hello Jan:
> 
> Hmmm, funny you mention it.  The SUSE enterprise is running on Mac  
> Hardware and so yes it is an ATI board.  I also have tried te osgtext  
> example.  It runs but is very slow.  I do get the same crash issues  
> with osgviewer stats hud where the text is changing on every frame  
> which simulates what I am doing.  It could be a driver issue.  The  
> MAC OSX handles it very well and I don't remember having any problems  
> on the windows on the MAC running the bootcamp ATI drivers.

It is a long standing bad driver/OSG interaction. I have the same issue
on my laptop with a FireGL T2 card and i586 since at least two years,
likely longer. If there is any osgText in the scene, the viewer locks up
in a busy loop, pegging the CPU at 100% load. Usually it wakes up after
several minutes, though, without a reboot. I believe that it has to do
with the way osgText is implemented - by rendering glyphs into many
small textures which need to be generated and uploaded to the GPU when
the node is first time rendered. The subsequent triggering of stats or
help is immediate for me, only the first one is always a problem.

I have "solved" this issue by implementing my own text widget using
Cairo and Freetype. That way I have only a single quad with a single
texture, regardless of how many characters and with what font I render.

Regards,

Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFGxK0In11XseNj94gRAm6PAKDoMS/09jFYGSVRD0VlJqKjhCPbxQCfTTtD
ciK3JQjZVltmuCBVbjPc3Eg=
=Hy/D
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to