Hi,
I want to cover up an AR marker with a textured plane. My plan was to
get 4 pixels around the marker and then create a plane with vertex
colors to interpolate between the corners. I'm struggling a bit with
the coordinate systems. When I get the corner vertices of the marker
they are in screen space (which is good to get the pixel colors of the
camera bitmapdata) BUT I want to move my capture point in local
scene3d (away3d) coordinates.

If I add a 3d object (e.g. a trident) to my scene I simply can use
obj.x = obj.y =100 to move it outside my marker (0,0 is the middle
point of my marker) but I can't pick my pixel color using screen-
coordinates (obj.x is still 100). I've tried camera.screen(scene3d,
obj.vertices[0]) to get screen-coordinates but it wasn't working.

Is there a simple way to add a point/invisible object to the 3d scene,
move it (local space) and then retrieve the screen coordinates of it?

I'm using Away 3.6 and FLARtoolkit.

Thanks
Michael

Reply via email to