tough switch to molehill: questions

Software: Away3D 4.x

trippedout, Newbie
Posted: 21 July 2011 11:45 PM   Total Posts: 1

so once flash player 11 beta dropped last week, found a chance to use aawy3d (which i been dyin to do)

anyway, got a few q’s -

noticed that in the old code you could use view3d.background to have a static image behind whatever 3d magic you choose, any way to do this easily now?

also the filters3d stuff is a little different than the old stuff, specifically im not sure how to go about adding a glow around the back of my sphere, something similar to what was done here:

http://www.flashmagazine.com/tutorials/detail/create_the_earth_and_heavens_in_less_than_an_hour_with_away3d/

but cant quite grasp it (mainly cuz of a short timeline for a demo and many other things to do)

my last project just happened to be some minor stuff with android and open gl es 2 so i understand the problems and difficulties with having simple implementations of something like a bg image or a glow filter but was hoping there was something simple in place ya’ll could point me to. my 2 weeks of opengl were extraordinarily painful smile

thanks! looking forward to the future of away3d, the api is fantastic.

   

Avatar
theMightyAtom, Sr. Member
Posted: 22 July 2011 07:16 AM   Total Posts: 669   [ # 1 ]

As all long term Flash developers know, where there’s a will there’s a workaround. No exception here wink

You’re right that there’s no simple background image feature (I would like to see that in Away3D too), but you can achieve it by using a plane in your 3D scene that is always a fixed distance from your camera, and always facing it.

It’s a bit of a mindbender for everyone coming to Molehill that they can’t treat everything as a MovieClip and add all the glows, drop shadows, bevels etc. that they intuitively think they should be able to.
I’ve seen a glow effect on a celestial Molehill demo, and remember that was also done by using an image, on a plane, behind the planet and facing into the camera, a so called Billboard. Also worth trying out the BloomFilter3D.

Have fun! And don’t forget to post your results smile

   

trippedout, Newbie
Posted: 22 July 2011 03:46 PM   Total Posts: 1   [ # 2 ]
Peter Strømberg - 22 July 2011 07:16 AM

As all long term Flash developers know, where there’s a will there’s a workaround. No exception here wink

haha, this is all too true, only issue is that im using this for a pitch so timeline doesnt allow for much experimentation was just hoping for a quick and easy fix :D

regardless, yea i tried to have two views on top of each other (i swear i saw that in a tutorial somewhere) one with the background, orthographic lens so i could keep it legit sized, and then my other objects in the other, but that failed

so yea, created a sprite3d, and then put it behind all my objects and threw a keyboard listener to play with positioning and scale til i got it right so it looks fine for now, easy enough since i wont be moving my camera just my objects in the scene.

i’ll try and post what i came up with whenever i get the chance but pitch means confidential so i’ll have to throw up a separate demo with similar ideas soon wink

if anyone else experimented with any type of glow filters/shaders lemme know~!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X