Thanks Dirk and Carsten,
we found the problem actually,
we're missing the cameraProjectionTrans matrix. We've found it out after
reading some OpenSG code. When using projectionCameraDecorator this matrix
needs to be considered and its not identity... ;) Everything works fine by
now..
Thanks!
Pablo
On Thu, Mar 25, 2010 at 8:54 PM, Dirk Reiners <dirk.rein...@gmail.com>wrote:
>
> Hi Pablo,
>
> On 03/23/2010 02:32 PM, Pablo Carneiro Elias wrote:
> > Hi all,
> >
> >
> > I'm currently using ProjectionCameraDecorator to implement a CAVE
> > enviroment. It works fine with a tracker system if we use only tracker
> > translation. But if we consider tracker rotation also, the world does not
> > moves, only the skybackground moves.
> > We've implemented our own skybackground in world space, so we use DrawEnv
> > getCameraViewing() to place it in world within our clear() method as
> > background.
> >
> > Here's what happens: the world does not moves, only the sky. The stereo
> > parameters are correctly affected by rotation, as expected in
> > ProjectionCameraDecorator::getProjection(). Why the sky moves while world
> > keeps still? Any hints? (i.e user node affects final camera pose, so why
> > world is not rotating, but is translating?)
>
> hm, the SkyBackground is a complicated beast, as it needs to mess with the
> viewing transform to always be infinitely far away. I wouldn't be surprised
> if
> the interaction between PCD and SB has not been tested in all combinations.
>
> if you had a little time to write a simple test example for us to reproduce
> the
> problem that would be helpful.
>
> Yours
>
> Dirk
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users