|
| Petit |
Post
#1
|
|
Advanced Member Group: Moderator Posts: 585 Joined: 21-June 06 From: Borgholm, Sweden Member No.: 38 |
Hard
work is going on with the Sandy 3.0 for AS3, and I thought I should
demo some little thing of what's coming. Here is a first attempt at a
MovieMaterial ( no more Skins now - they are called materials ).
I believe it needs Flash Player 9 ( or later (IMG:style_emoticons/default/smile.gif) Take it for a spin : Rotate the cube with arrow keys, move the camera in and out with PageUp/PageDown and click the mouse to stop/start the animation on the MovieMaterial. Then look forward to the Sandy 3.0 alpha release. |
| kwuntong |
Post
#2
|
|
Member Group: Members Posts: 15 Joined: 17-June 07 Member No.: 1,253 |
Hi Petit,
Thanks for the demo. Is the MovieMaterial solving the lacking performance of MovieSkin in the older versions? Can you tell how much faster the mapped MovieClips run in AS3? Bye, kwuntong |
| Petit |
Post
#3
|
|
Advanced Member Group: Moderator Posts: 585 Joined: 21-June 06 From: Borgholm, Sweden Member No.: 38 |
Is the MovieMaterial solving the lacking performance of MovieSkin in the older versions? Can you tell how much faster the mapped MovieClips run in AS3? I have no test results on that, but it looks good to me. This material is brand new, and we'll have to do further testing. You're welcome to test and comment on the performance. (IMG:style_emoticons/default/wink.gif) |
| Lt Dan |
Post
#4
|
|
Newbie Group: Members Posts: 5 Joined: 9-July 07 Member No.: 1,307 |
I have no test results on that, but it looks good to me. This material is brand new, and we'll have to do further testing. You're welcome to test and comment on the performance. (IMG:style_emoticons/default/wink.gif) Nice, I've tried with Sandy 1.2 and a movie, it works fine, I'm new to Sandy but with a good 3D background. Can we test the MovieMaterial, I would like to port my AS2 sample ? I download the AS3 (3.0) but it seems it lack the MovieMaterial... Thx P. |
| Petit |
Post
#5
|
|
Advanced Member Group: Moderator Posts: 585 Joined: 21-June 06 From: Borgholm, Sweden Member No.: 38 |
Nice, I've tried with Sandy 1.2 and a movie, it works fine, I'm new to Sandy but with a good 3D background. Can we test the MovieMaterial, I would like to port my AS2 sample ? I download the AS3 (3.0) but it seems it lack the MovieMaterial... Well, the AS3 version, Sandy 3.0, is under heavy development, and what works today may not work tomorrow. Hopefully though, the API will not change that much. If you want to work with it, you should download the latest version from the SVN, and subscribe to the list at http://osflash.org/mailman/listinfo/sandy_osflash.org. I have committed a MovieMaterial, so it is now part of Sandy 3.0 in the SVN. Looks like I'm an expert, but the fact of the matter is, that it was very simple to take the VideoMaterial and make a remake on that. The authors of the material classes are to admire for the expandable structure of materials (IMG:style_emoticons/default/cool.gif) |
| Mickey |
Post
#6
|
|
Newbie Group: Members Posts: 4 Joined: 12-July 07 Member No.: 1,318 |
Want your box to have a different movieClip on every face?
|
| Mickey |
Post
#7
|
|
Newbie Group: Members Posts: 4 Joined: 12-July 07 Member No.: 1,318 |
Want your box to have a different movieClip on every face? CODE var len = box.aPolygons.length; var num = len/6; for (var i:Number = 0; i<len; i++) { if (i % num == 0) { mc_oFront = new MovieClip(); mc_oFront.addChild(aMaterial[i/num]); skin = new Appearance( new MovieMaterial( mc_oFront ) ); } box.aPolygons[i].appearance = skin; //box.aPolygons[i].container.addEventListener(MouseEvent.CLICK, onClickHandler); } |
| Lo-Fi Version | Time is now: 9th August 2007 - 02:11 AM |