The problem is likely your code .........................

But we are not clairvoyant and as you do not provide the code you have used
its nearly impossible to say what is wrong



One shot in to the dark would be bad bounding boxes and spheres




____________________________________________________________________________
__
Gordon Tomlinson 

[email protected]
IM: [email protected]
www.vis-sim.com www.gordontomlinson.com 
____________________________________________________________________________
__

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Maurizio
Lodo
Sent: Wednesday, October 14, 2009 3:09 AM
To: [email protected]
Subject: Re: [osg-users] how to improve frame rate of my scene with lots of
cubes and cylinders?

Hi all,
Finally I found some time to play with this. Thanks to your words of wisdom,
I have decided to create my cylinder geometry. I used the drawinstanced
example as a template and I managed to generate the cylinders, translate
them and rotate them as I want.
However I notice that when I get closer to these cylinders, they disappear,
while ojects created using ShapeDrawable do not disappear. I do not know
anything about GLSL (or OpenGL or OpenSceneGraph for that matter) and I was
wondering if anyone could tell me why this is happening, if there is a way
to fix it and if that would affect performance.

Thank you very much!

Cheers,
Maurizio

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





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

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

Reply via email to