Hi Klaus,

This rather looks like a numerical precision problem.  Are the
translations or the sizes of the objects particularly large or small?

To make it possible to use shapes under OpenGLES and OpenGL 3.x+ where
glBegin/glEnd aren't available I introduced a means of converting the
old style OpenGL usage into modern vertex arrays.  I haven't seen any
reports of problems like you seeing with the new implementation but my
guess is that the scales you are using are atypical so pushing some
numerical precision aspect of the new implementation.

In generally I'd recommend users not to use ShapeDrawable, only use
this helper class for very simple usage cases and quick looks,
certainly not something to use for large numbers of objects or extreme
scales.

Robert.

On 8 November 2011 11:38, Klaus Madeira <[email protected]> wrote:
> Hi,
>
> I used to draw some spheres in my osg-qt application without problems in 
> 2.8.3 osg version. Yesterday I updated the version to 3.0.1, and then, all 
> spheres and other shapedrawables got an ugly draw. I am sending two 
> printscreens to show my problem:
>
>
> Thank you!
>
> Cheers,
> Klaus
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=43762#43762
>
>
>
>
> _______________________________________________
> 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