<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Sebastian and Christian,<br>
Thanks for your answers.<br>
<br>
<blockquote cite="mid:57220723.90704@gmx.de" type="cite"> This might
have to do with wrong culling mode or geometry for the
shadowmap-generation. The culling mode should be front-face and
your geometry should be correct (e.g. if you do front-face culling
you should have some "inner" sides to contribute to depth.Can you
tell us what GPU you are on, and what geometry is showing this
problem?<br>
</blockquote>
<br>
For the geometry, it's a simple osg::Box in my example, but it does
the same with all models that I tried (.obj objects generally).<br>
I am on Nvidia Quadro FX 580. I have no problems using culling modes
and everything related to face culling works as expected, that's why
I thought it was in the osgShadow implementation. <br>
<br>
Cheers,<br>
<br>
<br>
<div class="moz-cite-prefix">Le 28/04/2016 14:50, Sebastian
Messerschmidt a écrit :<br>
</div>
<blockquote cite="mid:57220723.90704@gmx.de" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi Pierre-Jean. <br>
<br>
This might have to do with wrong culling mode or geometry for
the shadowmap-generation. The culling mode should be front-face
and your geometry should be correct (e.g. if you do front-face
culling you should have some "inner" sides to contribute to
depth.<br>
Can you tell us what GPU you are on, and what geometry is
showing this problem?<br>
<br>
Cheers<br>
Sebastian <br>
<br>
<br>
</div>
<blockquote cite="mid:5721DA89.6050702@inria.fr" type="cite">Hi
dear OSG users, <br>
<br>
I'm wondering how to correctly use osgShadow. As you can see on
the file I have attached, the shadow map is projected on the
receiving object also on a face which should normaly not receive
the shadow from the sphere (on my example the light is at the
top right corner). It behaves like if the top face did not stop
the light to continue its path through the object (which is not
transparent). <br>
My example is with soft shadow but I tested with other
techniques and it is the same behaviour. <br>
<br>
Is there a way to avoid such behaviour with osgShadow ? <br>
Thank you. <br>
<br>
Cheers, <br>
Pierre-Jean <br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
osg-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
</body>
</html>