Andreas Zieringer a écrit :
Hi Xavier,
Hi Andreas
for global lights you have to create a scenegraph like this:
Light1
\
Light2
\
Light3
\
scene
/\
Actually, my "global" light was the core of the scene. But it act *now
*as a local light.
I will try to move it "up"
Thanks
And if you want to have support for more than 8 light sources call
renderAction->setLocalLights(true)
Andreas
Hi andreas
Andreas Zieringer a écrit :
Hi Xavier,
do you have a small example osb file to reproduce this? The light
sources in OpenSG are local light sources so they only lit there
children.
Actually i don't have a small example to reproduce this, it's a big
scene with lots of configuration files...
Anyway, is there a way to transform my light on global light and not
local, or something to disable the "light" culling ?
thanks
Xavier
Andreas
Hello all,
I have juste changed the version of opensg, from the 1.6 to the CVS
version and it seems that the render of the light as changed a little.
here is a screenshot of the modification :
http://www.irisa.fr/siames/GENS/xlarrode/osgLightError.png
I have seen on the osg commit couple of change like a "Fixed
culling of light's children" wich can be a possibilitie.
If you have other ideas ?
Thanks
Xavier
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat
certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
begin:vcard
fn;quoted-printable:Xavier Larrod=C3=A9
n;quoted-printable:Larrod=C3=A9;Xavier
org:IRISA ;E119 Orange
title:Projet GVT
tel;work:73 28
version:2.1
end:vcard