MovieMaterial issue

Software: Away3D 3.x

docks, Newbie
Posted: 24 August 2011 05:08 PM   Total Posts: 1

Hi

So I have a movieclip containing image and animation. I have created 6x3 wall of cubes and want to “cut up” the movieclip and place a section of it as a face/material on the cube.

I am using the clipRect in the MovieMaterial class, but I cannot get it to clip properly into the cube. Have anyone else had issues with clipRect?

Any help will be appreciated - thx.

   

docks, Newbie
Posted: 28 August 2011 11:32 PM   Total Posts: 1   [ # 1 ]

bumb - anyone had this issue? I have everything working fine expect having a moviematerial with cliprect as a material…

   

RndPln, Newbie
Posted: 10 May 2012 03:30 PM   Total Posts: 1   [ # 2 ]

Bumping this, facing a similar issue. Setting clipRect doesn’t seem to do anything even after updating the material.

Anyone have any insight on how clipRect works?

   

Avatar
Fabrice Closier, Administrator
Posted: 10 May 2012 08:21 PM   Total Posts: 1265   [ # 3 ]

clipRect represent the region that is updated instead of redrawing the entire bitmap. depending on bitmapdata size and how often you refresh, it can save a few fps. By default it represent the entire map.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X