[osg-users] The models I load in OSG look blue

17 views
Skip to first unread message

Miguel Angel

unread,
Jun 27, 2009, 6:55:11 PM6/27/09
to osg-...@lists.openscenegraph.org
Hi,
The 3D models i use (using OsgCal3D) looks blue (sometimes yellow) when the view is far away from them, but if i get really close to them, they look as they are supposed to look, indeed they look okey in the osgViewer.

I coded my own Camera manipulator, but even with the osg ones (trackball, drive...) it looks blue, so i think it is a problem about how i create the window (or maybe the viewer)

Has anyone got any idea of what i am doing wrong?

Here some pics:
http://img514.imageshack.us/i/yo1n.jpg/ >> The humans models which use osgcal are blue, but not the others that are directly loaded
http://img194.imageshack.us/img194/2739/closeh.jpg >> If i move closer, the models look as they are

Here the code:
http://utilitybase.com/paste/14973 >> I use some other classes i define, but that is the main code of the visual part

I am running OSG 2.4.0

Thank you!

Cheers,
Miguel

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

_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Vladimir Shabanov

unread,
Jun 30, 2009, 10:56:31 AM6/30/09
to osg-...@lists.openscenegraph.org
2009/6/28 Miguel Angel <mal...@hotmail.com>:

> Hi,
> The 3D models i use (using OsgCal3D) looks blue (sometimes yellow) when the view is far away from them, but if i get really close to them, they look as they are supposed to look, indeed they look okey in the osgViewer.
>
> I coded my own Camera manipulator, but even with the osg ones (trackball, drive...) it looks blue, so i think it is a problem about how i create the window (or maybe the viewer)
>
> Has anyone got any idea of what i am doing wrong?
>
> Here some pics:
>      http://img514.imageshack.us/i/yo1n.jpg/  >> The humans models which use osgcal are blue, but not the others that are directly loaded
>      http://img194.imageshack.us/img194/2739/closeh.jpg  >> If i move closer, the models look as they are
>
> Here the code:
>        http://utilitybase.com/paste/14973  >> I use some other classes i define, but that is the main code of the visual part
>
> I am running OSG 2.4.0

There can be driver problems (ATI doesn't support GLSL well, at least
year or so ago). Or there can be problem with multithreading (there
were some bugs like this with osgCal). Try run viewer in single
threaded mode.

Reply all
Reply to author
Forward
0 new messages