kiss5331 / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

MovieMaterial interactivity issue #280

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a primitive
2. Create a MovieMaterial with interactive = true;
3. Create a shaded material ( MovieMaterial + any type of shader).
4. Apply this shaded material on your primitive.

What is the expected output? What do you see instead?
-The MC used for the MovieMaterial should be interactive. ( rollover, clicks 
etc...)

-There is no interactivity at all. No mouse Events are listened.

What version of the product are you using? On what operating system?
v : 920.
windows 7 last fp version.

Please provide any additional information below.
-It work well if you apply directly the MovieMaterial to the primitive.
But if you put it into a shaded material, the interactivity is broken.

I attach a .fla exemple so you can see what I'm talking about.
In the exemple, the right cube is not shaded and is interacive, and the left 
cube is shaded and nomore interactive.
Note : I don't want a solution to make the whole face of a cube interactive or 
a whole primitive interactive.
I would like the Mc used as MovieMaterial to be interactive inside of himself ( 
as in the right cube exemple).

Original issue reported on code.google.com by etie...@etiennelescot.fr on 28 Mar 2011 at 9:47

Attachments:

GoogleCodeExporter commented 9 years ago
yo man, just add this line right after addChild, they are fighting over Zdepth. 
i got activity on the right cube.

viewport.getChildLayer(cube2).layerIndex = 20;

Original comment by eggb...@gmail.com on 12 May 2011 at 10:52