Hi Stefano,

[EMAIL PROTECTED] wrote:
> Hi there!
> I wanted to archive a jitter antialias effect using TileCameraDecorator.. it
> works quite fine, except for a little unwanted behaviour I'll describe you in 
> a
> bit. This is a little excerpt of my code.. quite self-explanatory I hope.
[SNIP]
> So if my JITTER[i] is a negative value, what I'm getting with the
> TileCameraDecorator is a zoom instead of a simple translation, thus a 
> different
> aliasing compared to the one with a positive JITTER[i]. So, here are the
> questions :)
> - What's that code for? If you don't want negative values, I assume that you
> wouldn't like too big values neither.

it allows you to specify the absolute size instead of the relative, by 
passing the negative absolute size.

> - How could I achieve the wanted result?

The TileCameraDecorator is intended for rendering a part of a big 
screen, i.e. a tile. For antialiasing you want to project the scene to 
the exact same projection plane, but with the eye point slightly moved. 
This could be achieved with the ProjectionCameraDecorator that allows 
you to modify the projection matrices directly.

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to