Daniele,

The files you are loading have local lights in the scene. Thus the light from one will effect the other object - this is the correct behaviour. If you want to change the behavior you need to remove the lights from your scene (or switch the export off in osgExp) and add a light manually into the scene. To not get confused with various transformations you should add the light beneath the projection matrix created by osgART::Calibration

This problem was also discussed on the osgART forum

Cheers,
Hartmut

On 20/5/09 8:35 AM, daniele argiolas wrote:
Hi,
I've a problem with osgart 2.0.
In a simple example, with 2 marker and 2 osg object with texture made with 
osgexp from 3ds max, one object changes lights of other. The first marker added 
can influence other marker. That's the same also using BuildAR software and 
adding two object.
Do you know anything about it?

Thanks,
Daniele

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





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


--
Hartmut Seichter, PhD (HKU), Dipl-Ing.(BUW), Postdoctoral Fellow, HITLabNZ

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

Reply via email to