Hello Carsten,

> so it turns out this is actually much simpler: The SimpleShadowMapEngine
> used the viewport settings from the application ([1]) to select the
> viewport for rendering the shadow map. Instead it should just render to
> all of the shadow map - after all in general the application viewport
> size and the shadow map size have no relationship and can be arbitrarily
> sized. I've committed the fix that makes the SSME work with
> testClusterClient/Server for me.

Thank you very much, this works for me, I checked if the viewport size has
any effect on
the result and it did not, also with more than one server for the
multiwindow everything looks fine.

Best regards,
Victor


On Fri, Jun 6, 2014 at 1:48 PM, Carsten Neumann <carsten_neum...@gmx.net>
wrote:

> [following up on myself...]
>
>         Hello Victor,
>
> On 06/06/2014 10:41 AM, Carsten Neumann wrote:
> >> Does it look right? The part I commented made the whole viewport black,
> >> I don't know why..
> >
> > sorry about the mixup earlier regarding the use of ShadowStage vs.
> > ShadowEngine.
> > Viewports are supposed to allow the user to specify the size either in
> > pixels or relative coordinates (values > 1 are considered pixels, values
> > in [0,1] are relative) - that's the reason for the lines you commented,
> > the code wants to use pixels.
> > However, by the time the ShadowEngine is reached, the viewport
> > coordinates should have been normalized, which oddly is not happening in
> > your case on the render servers. I believe that is the real problem here
> > and will see if I find where things go wrong. Thanks for tracking things
> > down to viewport sizes being off!
>
> so it turns out this is actually much simpler: The SimpleShadowMapEngine
> used the viewport settings from the application ([1]) to select the
> viewport for rendering the shadow map. Instead it should just render to
> all of the shadow map - after all in general the application viewport
> size and the shadow map size have no relationship and can be arbitrarily
> sized. I've committed the fix that makes the SSME work with
> testClusterClient/Server for me.
>
>         Cheers,
>                 Carsten
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to