Hi Robert and Ulrich,
The problem happens with these particular database files I'm using, is that 
probably have wrong or incomplete data regarding the lightpoints.
Since a software i'm using is able to load them and display the 3d models with 
their lightpoints flashing,  but my osg-soft was crashing, I figured out that 
solution.
The crash happens when the plugin has Points to draw, and their maxPixelSize is 
zero.  The algorithm that draw points assumes maxPixelSize is greater than 
zero, so I decided to add the check when loading the structure, avoiding 
setting it to zero... letting the default value.
This is not the best solution indeed: the lightpoints drawn with the default 
value are displayed bigger than in the original 3dviewer software... so a 
maxPixelSize of zero in the database should be interpreted as the "minimum" 
size that can be seen??  
It may be good idea also to check the setter ... I will take a look

Thank you for your comments!

Cheers,
Ulises

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49861#49861





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to