Hi Brajesh,
Brajesh Lal wrote:
> hi carsten,
>
> Thanks.... that mean
>
> setBeacon is like setting a parent translation node of the setPosition.
>
> If ..... setPostion(Pnt3f(1,1,1))...... Then 1,1,1 is relative
> translation ......with respect to .... setBeacon's(5,5,5).
> *And now if we set beacon to 6,6,6 then still the position of the light
> with respect to beacon will be 1,1,1 but with respect to world
> coordinate system light position is changed.
My rules of thumb:
* if you just want to position a light source somewhere, use the beacon and
leave the position at (0,0,0)
* the main/only good reason for using the position is if you want to attache
the
light source to another object, but not have it at the origin of that object.
(e.g. headlights of a car)
Hope it helps
Dirk
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users