Hi

Thanks a lot for that hint. I have to check if I can make it work
without z-sorting/occlusion of particles.
The scene.bitmap approach doesn't have these issues.

Maybe it's still worth it to investigate the problem when using the
"old-fashioned" particles.

Cheers

On Feb 1, 5:20 pm, katopz <[email protected]> wrote:
> Hey guy
>
> i just update particles today in branches, also add some bitmap renderer for
> particles
> here's some test for old draw style vs new bitmap render
>
> http://away3d.googlecode.com/svn/branches/lite/bin/ExParticles.swf
>
> i saw your code didn't use new approach like this
>
> http://away3d.googlecode.com/svn/branches/lite/src/ExParticles.as
>
> > scene.bitmap = new Bitmap(new BitmapData(stage.stageWidth, 
> > stage.stageHeight, true, 0x00000000));
>
> > addChild(scene.bitmap);
>
> > which mean you render with normal graphics.beginBitmapFill and drawRect
>
> in the mean time you can try switch to scene.bitmap in case you didn't need
> sorting/scale for particle again other object3d
> you will gain extra 2x fps for this, and let see your issue solve or not
>
> i'll take a look this issue again...ASAP, thanks for report
>
> cheers
>
> On 1 February 2010 22:37, banal <[email protected]> wrote:
>
>
>
> > Hello List
>
> > This is my first post, and I'd like to thank the developers for all
> > their efforts the put into this marvelous 3D-Engine.
>
> > I'm currently using the latest SVN (rev. 2163) of Away3DLite for a
> > Game. It all runs well, I even got some spare cycles I'd like to use
> > for a particle system.
>
> > Sadly, the particle system creates artifacts near the emitting point
> > of the particles. I put together an example class, that demonstrates
> > the phenomenon.
> > Here's a screenshot that shows the problem:
> >http://bummzack.ch/misc/artefacts.png
>
> > Here's the compiled test-case:
> >http://bummzack.ch/misc/TestCase.swf
>
> > And here's the full code listing:
> >http://pastie.org/804256
>
> > I don't know if this even can be fixed by the Away3D devs.. I suppose
> > it's rather an issue with BitmapData.copyPixels() ?
>
> > What do you guys think?
>
> --
> katopzhttp://www.sleepydesign.com

Reply via email to