Hi,

I have the following problem. In my application, the object of interest may 
move from the center of origin far enough, to leave the area in which the 
ShadowStage operates as desired. The shadow map size is set to 1024, the 
objects are created small enough, such that the rendering works properly around 
the center of origin.

Here is an image of what happens, when the object moves to far from the center:

http://www.picpaste.com/screenshot-67ldo1Ma.png

If it moves faster, it enters a region, in which everything is covered by a 
shadow. Right before that, the shadows are projected into infinity (this can be 
seen in the image). This area is left, no shadow is calculated anymore. I guess 
this is because the shadow map is created around the center. So my question is, 
can I move it with the camera, such that the shadow is only casted in the 
camera frustum?

I use the ShadowStage and OpenSG 2.0.

cheers,
Keyan
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to