Hi Carsten, concerning my current knowledge of OpenSG 2.0, this seems to be out of scope. For the moment, I will reduce the size of the plane, and try to come up with a work-around.
reading about shadows on the web-site and in the tutorials, i found different types of smoothing algorithms and parameters for them (one of the reasons i chose opens). but it seems that in OpenSG 2.0 things have changed. I cannot find a way to choose the smoothing algorithm and its parameters. The examples do not include code-snipplets. Cheers, Keyan On 8 Sep 2011, at 16:38, Carsten Neumann wrote: > 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 ------------------------------------------------------------------------------ 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