Hey Jens

this is one of the few changes in the new version of Away3d - the clipping
object uses an initialiser object like other objects in the framework, so
that you can specify as many or as few clipping planes as you like:

view.clip = new RectangleClipping(-w,-h,w,h);

changes to:

view.clipping = new RectangleClipping({minX:-w,minY:-h,maxX:w,maxY:h});


or of course, you can still do:

view.clipping.minX = -w;
view.clipping.minY = -h;
view.clipping.maxX = w;
view.clipping.maxY = h;


a lot of this is preparing for frustum clipping, which should be added to
the trunk this week, so stay tuned...

Rob


On Mon, Jan 26, 2009 at 2:37 PM, Peter Kapelyan <[email protected]> wrote:

> Can't you just use a mask or scrollrect? I think it's the same, basically.
>
> -Pete
>
> On Mon, Jan 26, 2009 at 4:47 AM, Jensa <[email protected]> wrote:
>
>>
>> Noticed that I can no longer use RectangleClipping with View3D in
>> latest SVN? I'm assuming this has to do with frustrum clipping, but
>> how do I now clip a viewport for use in Flex apps?
>>
>> http://www.flashgamer.com/a/flextest/srcview/source/Viewport.mxml
>>
>> J
>>
>>
>
>
> --
> ___________________
>
> Actionscript 3.0 Flash 3D Graphics Engine
>
> HTTP://AWAY3D.COM
>



-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to