Putting a MovieMaterial behind a DAE model in Papervision3D

Posted by didibus on Stack Overflow See other posts from Stack Overflow or by didibus
Published on 2010-04-30T01:02:59Z Indexed on 2010/04/30 1:07 UTC
Read the original article Hit count: 588

Filed under:
|
|

Hi,

I'm doing a project using FLARManager augmented reality and the Papervision3D library. Unfortunately, Papervision is giving me a lot of problems.

My scene3D contains a DAE model and a plane. The plane has a MovieMaterial and is playing a video through FLVPlayback. The DAE and the plane are both inside the same DisplayObject3D container. FLARManager transforms the container so that everything appears through the angle of the marker.

My DAE model is a TV, the screen of the TV is transparent. I want to have my Plane inside of my DAE model, so that the Movie playing on the plane material appears to be what is playing on the TV.

The problem is that, even if the plane has a lower Z index then the TV, it always appears in front of the TV.

How do I have my plane and its MovieMaterial appear behind the TV, so that some of its corners are cut out by the TV and the part of the TV thats transparent let me see the Movie? If its impossible, anyone has an idea of how I could get the desired effect of having a movie play on the screen of my DAE tv model?

Thank You.

© Stack Overflow or respective owner

Related posts about papervision3d

Related posts about flash