Tonny ,never mind, Fabrice is probably jealous about your blog ! ;))) On Wed, Jul 21, 2010 at 6:24 PM, Fabrice3D <[email protected]> wrote:
> Its ok Anthony, > Lets just say your post was unfinished :)) > > Fabrice > > On Jul 21, 2010, at 5:01 PM, savagelook wrote: > > > I ammended my post to clarify that without constant updates, > > SimpleShadow will perform just as well as the BitmapMaterial + plane > > method. Thanks for keeping me honest! > > > > On Jul 21, 10:39 am, savagelook <[email protected]> wrote: > >> The decrease in speed is from the shadow updates, just like you say. > >> SimpleShadow used without constantly calling apply() and > >> positionPlane() to redraw the shadow should perform just the same as > >> the BitmapMeterial method. Its once you try to leverage the shadow > >> redrawing functionality that things slow down. But in still scenes, > >> or scenes where the shadow does not need to be redrawn, you are > >> absolutely right Fabrice. > >> > >> On Jul 21, 10:11 am, Fabrice3D <[email protected]> wrote: > >> > >> > >> > >>> wondering why bitmap is faster? > >>> can you dev on this? > >> > >>> When I wrote that class, I started add an update feature, it works, but > its slow yes. > >>> but used as static as your bitmap, I do not see how it can possibly be > slower as the resulting shadow is a plane+map on it. > >> > >>> the big diff is not the speed, the gain is that the shadow is the > object really a shadow from top, not a fake gradient. > >>> and it works on ObjectContainer as well. > >> > >>> Fabrice > >> > >>> On Jul 21, 2010, at 3:45 PM, savagelook wrote: > >> > >>>> > http://savagelook.com/blog/away3d/away3d-simpleshadow-and-simple-shadows > >> > >>>> Here's a demo, with source code, of how to use SimpleShadow or a plane > >>>> with a shadow BitmapMaterial to create shadows in your scenes. Also > >>>> included is a brief pros vs. cons of each method along with some > >>>> example scenes I'm sure some of you will recognize. Thanks to > >>>> elguapoloco (wemakedotcoms.com), Peter (flashten.com), and Rob > >>>> (MultiMario) for the kick ass examples and inspiration. > > -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net http://www.meetup.com/GO3D-Games-Opensource-3D/ Tel:054-4962254 [email protected] [email protected]
