Wow . how could I have overlooked this! . Thanks so much . So correct me if
I am wrong  if I want to test the sphere inside the frustrum of camera space
i would do

var frustrum:Frustrum=getFrustrum(camera,camera.transform)
and then
frustrum.classifySphere(sphere.position,sphere.radius);

and by return 0,1, or 2 I know where the sphere is relative to the frustrum
volume ?

Thanks for help

On Mon, May 31, 2010 at 5:13 PM, David Lenaerts <[email protected]>wrote:

> Hey Michael,
>
> Sorry, forgot all about your previous mail on the subject! The camera's
> lens property (via AbstractLens) has a *getFrustum(node:Object3D,
> viewTransform:MatrixAway3D) : Frustum* method. If I remember correctly,
> that generates a Frustum in object space (pass the scene for world space, I
> guess?) for the given view transform.
>
> Hope that helps,
> David
>
> On Mon, May 31, 2010 at 2:37 PM, Michael Iv <[email protected]> wrote:
>
>> Hey guys , is that possible at all to access frustrum planes or frustrum
>> volume  boundaries data ? I can't find it anywhere in Away3D . I need to be
>> able to check if an object is inside the frustrum of the camera view /
>> Thanks a lot .
>>
>> --
>> Michael Ivanov ,Programmer
>> Neurotech Solutions Ltd.
>> Flex|Air |3D|Unity|
>> www.neurotechresearch.com
>> http://blog.alladvanced.net
>> http://www.meetup.com/GO3D-Games-Opensource-3D/
>> Tel:054-4962254
>> [email protected]
>> [email protected]
>>
>>
>
>
> --
> http://www.derschmale.com
>



-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
http://blog.alladvanced.net
http://www.meetup.com/GO3D-Games-Opensource-3D/
Tel:054-4962254
[email protected]
[email protected]

Reply via email to