Hi Rene,

On Thu, 2005-10-13 at 16:02 +0200, Rene Weller wrote:
> Hello,
> 
> i`ve got a lighting problem with OpenSG 1.6 under Linux.
> When I load my buddha (vrml-file) with the tutorial-programm 10loading.cpp,
> everything looks fine (see picture2), but if i use the code from the
> attached myloading.cpp some of the triangles are rendered black (see
> picture1).
> Maybe someone knows what`s the fault?

I'm not totally sure why, but using a RenderAction instead of the
DrawAction fixes it. Given that nobody's been using the DrawAction in a
long time that is not too surprising.

This example is based on very old code. Unless you have a compelling
reason to keep it, I'd recommend switching to something based on hte
SimpleSceneManager like the tutorials.

Yours

        Dirk




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to