Hello Eric,
Maslowski, Eric wrote:
> Hello all,
> Looks like I have to deal with this issue of odd frustums again and it
> appears that others might be having similar problems. (recent: disappearing
> object thread) So, as a first step I wanted to switch over to MatrixCameras
> so that I have direct control over the modelview and projection matrices.
> Unfortunately, when I replace my PerspectiveCamera with MatrixCamera, I get a
> runtime error every frame:
>
> FATAL: ShearedStereoCameraDecorator::getProjection: can only decorate
> PerspectiveCameras!
>
> Has something changed in the core? In the documentation for 1.8 under
> "Windows and Viewports / Decorators" it says that:
>
> "In our example you could exchange a perspective camera with a matrix camera
> and the stereo setup won't be destroyed"
I'm sorry that is an error in the documentation, I just did a cvs
annotate on the source and that check (and message) is in there since 2002.
The matrix camera gives you full control, but at the price of the system
not really knowing what is going on (e.g. it is not even clear that you
do a perspective projection, could be orthographic).
Sorry,
Carsten
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users