Hello Brajesh,
Brajesh Lal wrote:
> Hi,
>
> What is difference in "setPosition" and "setBeacon" with respect to Light.
the beacon determines the coordinate system the light is located in, the
position describes the light's position relative to that coordinate system.
> If i set both of the properties
> e.g.
> setPosition(Pnt3f(0,0,0));
> setBeacon(some node);
>
> if some node is a transform node and set to 5,5,5.
> Then at which position the light will be placed in a scene.
I guess you mean it is a transformation with translation component
(5,5,5). Then the light will be at world coordinates (5,5,5) which
corresponds with the beacon's origin.
> How setPosition and setBeacon are inter connected
The beacon's toWorld matrix is applied to the position.
Hope it helps,
Carsten
-------------------------------------------------------------------------
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