[Papervision3D] weapons

Miguel Angel miguelangel at vasava.es
Mon Feb 19 11:40:10 EST 2007


Please Trevor!!!!! shared these classes ;-).

Cheers

----- Original Message ----- 
From: "ricardo cabello ~ mr.doob" <info at mrdoob.com>
To: <Papervision3D at osflash.org>
Sent: Monday, February 19, 2007 5:24 PM
Subject: Re: [Papervision3D] weapons


Sprite3D is what some people call Billboards.
And it's all I need to do this: http://www.xplsv.tv/api/gallery/ with
AS3 and real3D, instead of using a modified code of an old starfield ;)

-- 
Ricardo Cabello ~ Mr.doob
Designer + Developer

Web: http://mrdoob.com
RSS feed: http://mrdoob.com/rss.php
MSN: info at mrdoob.com


Trevor Burton wrote:
>
> Ok, well I’ll email you both the classes I’ve added when I get back
> home tonight. Basically Sprite3D just takes an image (Bitmap or
> something) and puts it on stage then projects and renders it (sets
> screen x, y, width and height) – it’s just an easy way of sticking
> something into a scene without having to give it a material or
> whatever – but it always faces the camera, if you see what I mean. The
> Line3D class is really a line-segment class as it stores two points
> (origin and tail) for the line – then overrides project and render
> methods to get it onscreen.
>
> ------------------------------------------------------------------------
>
> *From:* Papervision3D-bounces at osflash.org
> [mailto:Papervision3D-bounces at osflash.org] *On Behalf Of *Carlos Ulloa
> *Sent:* 19 February 2007 15:53
> *To:* Papervision3D at osflash.org
> *Subject:* Re: [Papervision3D] weapons
>
> Not sure how that would work with what Ralph is doing, but I'm
> definitely interested :)
>
> C4RL05
> // noventaynueve.com <http://noventaynueve.com>
> // papervision3d.org <http://papervision3d.org>
>
> On 19/02/07, *Paper World* <worldofpaper at googlemail.com
> <mailto:worldofpaper at googlemail.com>> wrote:
>
> yeah, when i get home later i'll stick 'em in the post for you....
> sorry, but i've lost all content off my work machine after the disk
> decided to collapse in on itself... i hate computers
>
> On 2/19/07, *ricardo cabello ~ mr.doob* <info at mrdoob.com
> <mailto:info at mrdoob.com>> wrote:
>
> Sprite3D and Line3D classes sounds very well, In fact, I really need
> them for a couple of demos I've in mind!! :)
> And chance to get a copy of them? :D
>
> Cheers,
>
> --
> Ricardo Cabello ~ Mr.doob
> Designer + Developer
>
> Web: http://mrdoob.com
> RSS feed: http://mrdoob.com/rss.php
> MSN: info at mrdoob.com <mailto:info at mrdoob.com>
>
>
> Paper World wrote:
> > that's created a really disturbing mental image, john, thanks!
> >
> > Carlos, to get all this working i've created a couple of extra classes
> > in my local copy of papervision - not sure if these would be useful to
> > you - but i have a Sprite3D class for placing 2D objects in a 3D scene
> > and Line3D for handling rendering lines in a scene. i've also played
> > with the Box class that was posted to the list a while ago to create a
> > BoudingBox class and OrientedBoundingBox class - once i've tidied them
> > up a bit i'll send you copies.
> >
> > T
> >
> >
> > On 2/19/07, *John Grden* <neoriley at gmail.com <mailto:neoriley at gmail.com>
> > <mailto: neoriley at gmail.com <mailto:neoriley at gmail.com>>> wrote:
> >
> > DOOD you \m/
> >
> > weapon's hash tables, lasers, missles, targeting...this is flash
> > viagra.
> >
> > On 2/19/07, *Paper World* < worldofpaper at googlemail.com
> <mailto:worldofpaper at googlemail.com>
> > <mailto:worldofpaper at googlemail.com
> <mailto:worldofpaper at googlemail.com>>> wrote:
> >
> > Cracked it!
> >
> > Right, i've still got some work to do implementing things
> > propertly in the framework - but i'll post a demo later on
> > today for you to see the basics.
> >
> > There are currently two types of weapon - there's a laser
> > weapon - which is currently just a 1px line that's drawn from
> > the source to a distance away from it on a vector. There's
> > also a 'PaperworldProjectile' which can be either a normal
> > 'bullet' fired out from the source along a vector that just
> > keeps on going for a specified lifetime. I'm also putting the
> > finishing touches to a targetable missile which works like this:
> >
> > when another vehicle comes into the centre of the player's
> > screen they're able to click on it to target that vehicle.
> > Then, anytime after that they're able to fire a missile and
> > that missile will leave their ship and head directly for the
> > targeted vessel.
> >
> > All weapons extend a display class and implement an interface
> > (PaperworldWeapon) - each PaperworldVehicle instance has a
> > hashtable of weapons so a user will be able to scroll through
> > a list of their weapons to select (or we keep them as they are
> > now, as key commands - we can decide that a little later).
> >
> > collision detection is basic, though, and needs a little more
> > work to get it robust enough to use.
> >
> > I've got to take the dog to the vet's this morning, which
> > means i need to work some extra hours to make for the time off
> > - but i'll try and get a demo up as soon aspossible so you can
> > see something at least.
> >
> > Not long Now!
> >
> > T
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org <mailto:Papervision3D at osflash.org> <mailto:
> Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>>
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > < http://osflash.org/mailman/listinfo/papervision3d_osflash.org>
> >
> >
> >
> >
> > --
> > [ JPG ]
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org <mailto:Papervision3D at osflash.org> <mailto:
> Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>>
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > < http://osflash.org/mailman/listinfo/papervision3d_osflash.org>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> <http://osflash.org/mailman/listinfo/papervision3d_osflash.org>
> >
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> <http://osflash.org/mailman/listinfo/papervision3d_osflash.org>
>
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org <mailto:Papervision3D at osflash.org>
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>

_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org 




More information about the Papervision3D mailing list