I've just modified the phongmaterial to a Cache one :
"TypeError: Error #1009: Il est impossible d'accéder à la propriété ou
à la méthode d'une référence d'objet nul.
        at away3d.materials::BitmapMaterial/getUVData()
        ..."
There is a directionalLight also.
You said material is rendered once, but what if the object moves ?
arent shadows gonna be at wrong place ?

---
thomas


On 28 août, 16:32, Peter Kapelyan <[email protected]> wrote:
> The fps you are getting sound "about" right with dynamic shading. Did you
> try the Cache materials? It's the same material just "Cache" at the end, it
> only renders once, so all the power is given back to the engine to render
> your 3,000+ faces without lights.
>
> -Pete
>
>
>
> On Fri, Aug 28, 2009 at 9:12 AM, webattitude <[email protected]> wrote:
>
> > Furthermore the file is zipped and embedded in swf.
> > Also, the standalone flashplayers work fine but not iceweasel x86_64
> > plugin which is stucked at parsing.
>
> > ---
> > thomas
>
> > On 28 août, 14:21, webattitude <[email protected]> wrote:
> > > Hi,
>
> > > I've created and bones-animated a 3d object with blender (3080 T
> > > elements from a3d stats). I'm using a3d 3.3 and I've imported the
> > > collada file into a simple app. Then I've added a phong material. I
> > > use an enterframe handler to animate the object : "animation.update
> > > (timestamp/1000);".
> > > The animation runs at 4fps max with a debug swf or 8fps with release
> > > build.
> > > With a shadingColorMaterial fps goes up to 6fps and 14fps.
> > > Are such low fps expectable ? If so why ? flashplayers I use are linux
> > > versions.
>
> > > ---
> > > thomas
>
> --
> ___________________
>
> Actionscript 3.0 Flash 3D Graphics Engine
>
> HTTP://AWAY3D.COM

Reply via email to