NOOB help needed - MovieClipSprite issues

1 view
Skip to first unread message

bart4president

unread,
Nov 3, 2009, 6:18:13 PM11/3/09
to away3d.dev
Hi folks, just ran through the earth tutorial by flash magazine and
started to play around with it a bit more to add my own twist with
it. Have a look here. http://www.bart4president.com/research/earth/

The biggest difference is that I obviously changed the starmap in the
background (we'll get to that) and I changed the sun into a
MovieClipSprite in an effort to not only make it look better, but also
save on performance.

So here's the probs I am having:

MovieClipSprite is nice and dandy:

var sunF:MovieClip = new sunFlare(); // linked movieclip
var sun:MovieClipSprite = new MovieClipSprite(sunF,{x:150, y:100, z:
800, rescale:true});
view.scene.addChild(sun);

However when the scene first loads, the sprite is not exactly where it
needs to be, it only moves into the correct spot when I start to move
it around. Also, when I turn completely around to the earth, the
sprite shows up nearby the earth on certain angles (quite annoying)

Any ideas why this is? Any ways to fix it?

Also, are there any good tutorials on how to make a panoramic and
seamless texture to use for the heavens? I tried making my own but
getting it to blend together nicely is tricky.

Thanks!

Bart Henderson

unread,
Nov 4, 2009, 1:42:54 PM11/4/09
to away3...@googlegroups.com
Anyone have any thoughts on this? I'd appreciate it! :)

Rob Bateman

unread,
Nov 16, 2009, 8:47:32 PM11/16/09
to away3...@googlegroups.com
Hey Bart

i think this is a bug in the culling mechanism for MovieClipSprite. i seem to remember seeing it before but it looks like it has gone unchecked for a while...

if you get the chance, a submission in the issues list would ensure this bug is not forgotten about forever! http://code.google.com/p/away3d/issues/list. yes i know there is quite a lot in there waiting, but having a list such as this means we can eventually get round to looking at the bugs reported.

thanx for your patience!

Rob
--
Rob Bateman
Flash Development & Consultancy

rob.b...@gmail.com
www.infiniteturtles.co.uk
www.away3d.com
Reply all
Reply to author
Forward
0 new messages