If you get comfused with centered based rects,
Call this for each of your views
_myleftView = SomeFreakinCoolWayToDOIt(new Rectangle(100,100,300,400));
addChild(_myleftView);
private function SomeFreakinCoolWayToDOIt(rect:Rectangle):View3D
{
var activeRectNearClip:NearfieldClipping = new
NearfieldClipping({minX:-(rect.width*.5) ,minY:-(rect.height*.5),
maxX:(rect.width*.5), maxY:(rect.height * .5)});
return new View3D({x: rect.x, y:rect.y, clipping: activeRectNearClip});
}
Fabrice
On Apr 27, 2010, at 1:53 PM, savagelook wrote:
> Not sure I fully understand what you are trying to achieve, but have
> you looked at the multiple view example here:
> http://www.flashmagazine.com/tutorials/detail/away3d_basics_the_view_and_the_scene/
>
> You can also create other totally separate away3d instances on your
> stage by adding a new sprite to the stage and then adding your view to
> it.
>
> On Apr 27, 7:32 am, Vadim <[email protected]> wrote:
>> Hello. It's looks like on this
>> screenhttp://dl.dropbox.com/u/2096854/Screen.PNG. This white rectangle is
>> container and i want place away3D panorama class inside it. But it's always
>> looks distorted. I can't found any example about using more then 1 away3d
>> scene on stage.
>>
>> 2010/4/26 Fabrice3D <[email protected]>
>>
>>
>>
>>
>>
>>> What is exactly going wrong?
>>> Not becomming very wize from your image...
>>> Fabrice
>>
>>> On Apr 26, 2010, at 9:31 PM, Vadim wrote:
>>
>>>> Hello community. I want to place about two away3d scenes on one stage.
>>>> All scenes must be in containers, like slides. This containers can be
>>>> moved or scaled by user. But when i put something like 3d panorama
>>>> class inside this container, it's looks terrible. I'm tried to use
>>>> clipping, but without great results. This is example what i'm trying
>>>> to get -http://dl.dropbox.com/u/2096854/question.jpg. Hope, someone
>>>> can help me.
>>
>>>> --
>>>> Subscription settings:
>>> http://groups.google.com/group/away3d-dev/subscribe?hl=en
>>
>> --
>> Best regards, Vadim Smakhtin.http://vadimsmakhtin.com