Hi Belthil, I think you can convert the GL_POINTS using a NodeVisitor. Just visit all the nodes with GL_POINTS and replace them with PointSprites. Or use osgSim::LightPointNodes. The problem with using light points is that they don't use point sprites by default so you have to convert them to point sprites using a node visitor. However, LightPointNodes are saved in ive files.
Zach _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of belthil Sent: Friday, May 04, 2007 08:18 To: osg-users Subject: Re: [osg-users] Octree, callbacks and files I didn't know about this! That is great! But i still have a little problem: apparently .ive files do not support PointSprite. It says: "Error writing IVE file: StateSet::write(): Unknown StateAttribute: PointSprite" If .ive really do not support PointSprite, is it possible, after the dynamic loading, to convert the GL_POINTS, which are in a Geode, into PointSprites? I thank you very much for all your help!! :) Belthil. >Create your nodes and then write them out: >osgDB::writeNodeFile(*scenegraph, "myfile.ive"); Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
