Hello Keyan,

On 09/08/2011 09:17 AM, Keyan wrote:
> thanks for the quick answer. yes, my ground plate is huge, and i am planing 
> to make it even bigger, as the movement of the six-legged-walking machine 
> should not be restricted. what is the best way to have the same light 
> conditions anywhere on a huge plane, and to have shadows too? the shadows do 
> not have to be coming from a directional light. i also tried a point light 
> with a very far distance, but at some height, there was simply no shadow 
> anymore. if it was to close, there was only a small square illuminated.

hmm, you probably need to restrict shadow calculation to an area of 
interest, i.e. around the walking machine or (part of) the camera frustum.
That goes beyond what the SimpleShadowMapEngine can do at the moment. 
You could use it as a starting point and give it an additional field 
that stores the root of the shadow casting scene which would then be 
used to calculate the projection for rendering a shadow map - 
SimpleShadowMapEngine::setupCamera() is where this is calculated.

        Cheers,
                Carsten

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to