[Papervision3D] PointSprites/Billboards/Particles (Re: Floating 2D Objects)

Carlos Ulloa c4rl054321 at gmail.com
Wed Jan 3 05:54:56 EST 2007


Nice one Simon.

I've got a Billboard object that hasn't been updated for a while, that's why
it's not included in the package.

At the time, I thought it would be better to split the Billboard object in
two different objects, one that renders with beginBitmapFill like yours, but
using drawRect, which I think would be faster, and another one that adjusts
the position and scale of a movieclip or sprite. John and I have also done
some work on the Stars object, that renders pixel particles using setPixel.

On top of that, there's the Paper object, that skews movieclips.

Once I sort out the rotations, I probably get into this simpler objects.
Your code would be very useful then.

Thanks,

C4RL05
// noventaynueve.com
// papervision3d.org


On 03/01/07, Simon Oliver <psifli at yahoo.com> wrote:
>
> I've made a pointSprite class for 2D objects (couldnt find functionality
> like this in earlier builds of P3D, not sure if this is there now). I've
> used it for particles and billboarding, such as:
>
> http://www.handcircus.com/temp/p3d/particles/
>
> (shadows a bit broken for now :)
>
> It uses a new geom class called pointSprite which implements the same
> interface as face3D so that it can be sorted in the same fashion (so things
> like MeshGroup can sort particles that may bounce into other objects without
> any popping).
>
> Theres also a new class called Billboard that uses pointSprite (it can be
> directly added to a scene) to allow simple2D objects to be added. You can
> enable sorting and scaling as you see fit, and specify the registration
> point.
>
> I've attached the source. Hope they are of use!
>
> Simon
>
> _________________
> http://www.handcircus.com
> http://www.simonoliver.com
>
> ----- Original Message ----
> From: Spencer Campbell <spencer.campbell at blastradius.com>
>
>  I was wondering how I would go about creating 2D objects that will be
> positioned within the scene but with no perspective applied.  For example,
> the lights on the walls of Rudebox exhibit this behavior.  I'd appreciate
> any help you can give me with this J
>
>
>
> Much Respect,
>
> Spence.
>  _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070103/1d40909a/attachment.htm


More information about the Papervision3D mailing list