Bump again...  Deep down the renderer must know if a face is drawn or
not... does anyone have any thoughts on how to test for that?

It would be a huge help for my application (which is in Away3D 3.6).

Thanks all in advance! - Ralph

On Feb 26, 6:42 pm, "Brian Bosak" <[email protected]> wrote:
> Bump! Good question. I'd like to know this too. I have many animations in a
> project I'm working on that I apply using a Timer, and I would like to not
> play these animations if the object is not in view (would make my
> application at least 4 times faster)
>
> -----Original Message-----
> From:RalphB
> Sent: Friday, February 25, 2011 12:24 PM
> To: Away3D.dev
> Subject: [away3d] How to test if a face is rendered?
>
> Is there a way to find out if the renderer has decided to draw a given
> face?
>
> For example, I want to know if my sun object is behind a tree object.
> The render has already calculated whether the faces in the sun are
> visible to the camera.  I would like to be able to loop through the
> faces in the sun object and test if each one can be seen by the
> camera.
>
> This is different from the visible property, which remains true even
> if the object is behind another object and not rendered.
>
> Thank in advance for any suggestions!Ralph

Reply via email to