Hello Keyan,
On 09/09/2011 03:59 AM, Keyan wrote:
> I was looking how to set the parameters for the shadows as presented in
> http://www.opensg.org/wiki/Gallery/Shadows.
that page shows images from OpenSG 1.x's ShadowViewport. It's
functionality has been moved to the ShadowStage in OpenSG 2. See
Source/System/NodeCores/Groups/Effects/ShadowStage/testShadowST{,2}.cpp
for usage examples.
> I am using the SimpleSceneManager and the SimpleShadowMapEngine, but I could
> not find a way to set or receive the ShadowStageBase in order to use the
> setShadowSmoothness function. Also using lightSource->setShadowMode for
> directional light does not seem to have any effect.
the ShadowMapEngines are meant to be a more flexible way to add shadows
to a scene, but not all shadow algorithms/options from the ShadowStage
have been implemented for those yet.
Cheers,
Carsten
------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT
space for its ease of implementation, lower cost, and increased
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users