Thanks again for your response. I'll look into ownCanvas. The UV problem is kind of weird, but C4D had a frontal projection mode so it always worked. *shrug* But I agree that the solution isn't ideal in this case.
On Feb 3, 8:16 pm, Cauê Waneck <[email protected]> wrote: > Maybe you could set ownCanvas to true, or in Away3dLite, set a layer to be > rendered, and mask only the portion you want. > You -could- apply the video as a texture. But that would be an unnecessary > performance hog, and in this case the uvs would have to change according to > the angle you're facing. > > 2010/2/4 Scott <[email protected]> > > > > > Ah, I see. So a 2D mask over the whole thing. I think that could work > > if everything was always in the box, but if I needed things to emerge > > the masking would get really complicated. > > > I'm still kind of surprised that there's not a way to do it with > > materials. I've done something like this in Cinema4D by applying the a > > background movie as a material to an object that I wanted to be > > invisible, but still catch shadows. I wonder if I could do something > > similar here? > > > Thank you for your input on this. > > > On Feb 3, 5:26 pm, Cauê Waneck <[email protected]> wrote: > > > Scott, > > > > here< > >http://www.flartoolkitdocs.org/FAQ/getting-the-screen-coordinates-of-...> > > > you > > > will see how to get the screen coordinates out of the detector. > > > > For each frame, you should try something like this: > > > > mask.graphics.clear(); > > > var i:int, sq:FLARSquare = detector.getSquare (); > > > mask.graphics.beginFill(0); > > > mask.graphics.moveTo(sq.sqvertex[0].x, sq.sqvertex[0].y); > > > mask.graphics.lineTo(sq.sqvertex[1].x, sq.sqvertex[1].y); > > > mask.graphics.lineTo(sq.sqvertex[2].x, sq.sqvertex[2].y); > > > mask.graphics.lineTo(sq.sqvertex[3].x, sq.sqvertex[3].y); > > > mask.graphics.endFill(); > > > > that -could- do... but it's completely untested ! :) .. Also maybe you > > will > > > have to determine if two points will determine a side of the rectangle or > > a > > > diagonal! > > > > cheers > > > Cauê > > > > 2010/2/3 Scott <[email protected]> > > > > > That would be great if I knew how to do that. :-) > > > > > Could you give me a hint on where to start looking? > > > > > On Feb 3, 3:03 pm, Cauê Waneck <[email protected]> wrote: > > > > > Scott, wouldn't it be better to put a mask that changes according to > > FLAR > > > > > points' position? > > > > > > 2010/2/3 Scott <[email protected]> > > > > > > > Apologies if this has been covered, but I'm not quite sure how to > > > > > > phrase the question. > > > > > > > I'm trying to achieve an effect similar to this: > > > > > > >http://www.youtube.com/watch?v=TW6_X9qBeds > > > > > > > I have 5 planes arranged to give the appearance of a cube recessed > > > > > > inside of an AR pattern. For the effect to be believable, the > > outside > > > > > > of the cube has to be invisible. However, I can't just use > > transparent > > > > > > materials on the backs because then you can see the inside of the > > > > > > cube. > > > > > > > I guess what I'm looking for is a back-side material that is > > > > > > invisible, but does not offer a transparent view into the cube.
