Hey guys, is there any solution to use a movieclip for a material in away4 at the moment?
thank you very much.
MovieClip as Material Away4Software: Away3D 4.x |
||
Manuel L., Member
Posted: 17 July 2012 08:18 AM Total Posts: 99 Hey guys, is there any solution to use a movieclip for a material in away4 at the moment? thank you very much. |
||
|
||
Richard Olsson, Administrator
Posted: 17 July 2012 09:55 AM Total Posts: 1192 [ # 2 ] No, there isn’t. And it’s generally not a good idea in Stage3D to try to make a material update every frame, which is one of the biggest areas of use for MovieMaterial. The technology simply doesn’t allow for updating a texture so frequently without seriously damaging performance. If you don’t care about the visuals updating when you interact with the MovieClip (through the surface of the 3D object) then I guess you could still find a valid use case for such a material/texture type. Until it’s added to the engine you can implement it yourself by listening for 3D mouse events, finding the UV coordinates (through the MouseEvent object) and figuring out where on your MovieClip the hit was. |
||
Manuel L., Member
Posted: 17 July 2012 11:16 AM Total Posts: 99 [ # 3 ] hey, thank you for your reply ... |
||
Richard Olsson, Administrator
Posted: 17 July 2012 11:17 AM Total Posts: 1192 [ # 4 ] If you need to fill out text fields et c you definitely would need to redraw the material continuously, which is not a good idea for performance reasons as explained above. I would recommend that you try to use a regular Flash display object on top of your 3D scene to present the form to the user. |
||
|