[away3d] MovieMaterial on Sphere not rendering correctly

7 views
Skip to first unread message

Rich Elmes

unread,
Apr 21, 2010, 3:08:32 PM4/21/10
to Away3D.dev
I am having trouble with MovieMaterial on a Sphere

the MovieClip is a dynamically loaded .swf of a sun surface texture
(.swf dimensions are 512x512) which is simply a cross fading image in
order to get some surface activity

here is an example of the texture as it is in the suntexture.swf :
http://i.imgur.com/mg4qD.png

however the texture ends up rendering like this : http://i.imgur.com/wGDoY.png

am I missing something obvious?

thanks in advance :)


--
Subscription settings: http://groups.google.com/group/away3d-dev/subscribe?hl=en

savagelook

unread,
Apr 21, 2010, 4:07:31 PM4/21/10
to Away3D.dev
You are using a Sphere right and not a GeodesicSphere?

Rich Elmes

unread,
Apr 21, 2010, 4:58:01 PM4/21/10
to Away3D.dev
yup

sun = new Sphere({radius:13000,segmentsW:20,segmentsH:10});
sun.material=new MovieMaterial(currantBun);

(currantBun contains the loaded suntexture.swf)

i'm using 3.4.0 from the website

Rich Elmes

unread,
Apr 22, 2010, 12:16:00 PM4/22/10
to Away3D.dev
I tried using a BitmapMaterial instead and it renders correctly, so I
guess i'll have to do without surface activity for the time being

Rich Elmes

unread,
Apr 22, 2010, 4:03:12 PM4/22/10
to Away3D.dev
AnimatedBitmapMaterial is working fine :)
Reply all
Reply to author
Forward
0 new messages