Hello Sajjadul,
Sajjadul Islam wrote:
> Thnaks for the hint.
>
> Let me elaborare more over the light setup i have.
>
> the root has 4 nodes as children and they are DirectionLight node,
> PointLight node , SpotLight Node and Beacon Node.
> Each Light node have their corresponding light core and
> the beacon node has a transformation core. Each light is pointing to the
> Beacon Node as their corresponding beacon.
>
> With key press event i select between different type of light sources to
> illuminate the model that is loaded. The loaded model is a child
> of one of the light nodes that get changes with the key press event.
>
> I want to separate - either light fixed at a place or with a camera
> moving along with that.
>
> I already have a camera implemented in OpenGL and i want to get that
> incorporated OpenSG. And I want to move the light along
> with the camera.
ok, your current setup should give you lights that are at a fixed
position. To move the light with the camera, the light's beacon should
be the same as the camera's beacon.
Hope it helps,
Carsten
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users