Hello Michael,

On 03/31/2014 10:15 AM, Michael Raab wrote:
> I'm facing an issue that is probably related to the TileCameraDecorator.
> In my setup I have 2 render servers that should render a tiled wall
> setup. Each of them renders the same scene/viewport that uses a
> decorated camera:
> TileDecorator -> ProjectionDecorator -> PerspectiveCamera
> TileDecorator 1  has (left=0; rigth=0.5; bottom=0; top=1.0;
> fullwidth=800; fullheight=400) windowsize 400; 400
> TileDecorator 2  has (left=0.5; rigth=1; bottom=0; top=1.0;
> fullwidth=800; fullheight=400) windowsize 400; 400
> In OpenSG1.8 this setup generates a tiled view as I would expect, in 2.0
> both servers produce the same image. I already debugged the servers, the
> data seems to be synced correctly. I also looked a the code of
> TileCameraDecorator and ProjectionCameraDecorator but both seem to be
> unchanged since 1.8. Do you have an idea which other code changes may
> have caused that behavior?

hmm, I can't find anything obvious that would explain it. Could you 
check if in Viewport::render() the correctly modified matrix is obtained 
from getCamera()->getProjection(m, width, height) (around line 393)? 
That would narrow it down to whether the problem is in calculating the 
correct matrix (i.e. it is on the decorator side) or if it is related to 
which matrices are used for rendering (i.e. it is in 
RenderAction/RenderPartition and related code). Thanks!

        Cheers,
                Carsten


------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to