[Papervision3D] Papervision3D Digest, Vol 14, Issue 216
Rob Bateman
rob.bateman at gmail.com
Sat Dec 1 13:05:46 PST 2007
DJ Pooh!
he must have a hard time explaining that when being introduced...
Rob
On Nov 28, 2007 4:03 PM, George Profenza <orgicus at gmail.com> wrote:
> a bit of fun :)
> spreaking of cubes
> http://newteevee.com/2007/11/26/ice-cube-straight-outta-redmond/
>
> On Nov 28, 2007 3:50 PM, < papervision3d-request at osflash.org> wrote:
>
> > Send Papervision3D mailing list submissions to
> > papervision3d at osflash.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > or, via email, send a message with subject or body 'help' to
> > papervision3d-request at osflash.org
> >
> > You can reach the person managing the list at
> > papervision3d-owner at osflash.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Papervision3D digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: Performance check and optimsation tips please (Trevor Burton)
> > 2. Re: Error to build a Cube (Trevor Burton)
> > 3. Re: Error to build a Cube (Trevor Burton)
> > 4. phunky and mesh3D - custom objects problems (xero)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 28 Nov 2007 15:07:44 +0000
> > From: "Trevor Burton" <worldofpaper at googlemail.com>
> > Subject: Re: [Papervision3D] Performance check and optimsation tips
> > please
> > To: papervision3d at osflash.org
> > Message-ID:
> > <bc985a00711280707r27e08831w99f3d74f42144dd9 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > just took a quick look at the Plane class and i'm wondering if you can
> > easily resize the plane by recalling the buildPlane() method - if you
> > subclass Plane, then create a single method in there that takes a
> > material
> > as an argument - then you *might* be able to rebuild your plane to the
> > correct size by doing:
> >
> > public function resizeWithNewMaterial( material:MaterialObject3D ):void
> > {
> > this.material = material;
> >
> > var scale :Number = DEFAULT_SCALE;
> >
> > width = material.bitmap.width * scale;
> > height = material.bitmap.height * scale;
> >
> > buildPlane( width, height );
> > }
> >
> > which is just taken from Plane's constructor - i haven't tested it
> > (haven't
> > got time, i'm afraid) - but might work, and if not, should be a
> > reasonable
> > starting point if your other options don't pan out
> >
> > good luck!
> >
> > T
> > On Nov 28, 2007 2:42 PM, gareth evans < gareth at designerterritories.com>
> > wrote:
> >
> > > Hi Trevor (and List)
> > >
> > > Too be honest I've not counted, it's more the fact that after each
> > plane
> > > is created the memory consumption is up by about 80 - 100k and I've
> > got a
> > > new plane being created every 20 seconds (although this is also
> > dynamic and
> > > could change). So although it's not a lot 300k a minute for a project
> > that
> > > could be left to run all day is inevitably going to slow down.
> > >
> > > Really I have to go back and create one plane at 100 x 100 pixels and
> > > resize it to scaleY and scaleX.
> > >
> > > I like the idea of extending the plane class, but I'm not quite there
> > yet
> > > in terms of fully understanding pv3d.
> > >
> > > Cheers
> > > Gareth
> > >
> > >
> > >
> > > On 28/11/2007, Trevor Burton <worldofpaper at googlemail.com > wrote:
> > > >
> > > > How many planes are you creating before performance is visibly
> > affected?
> > > > I'm working on an application that uses a pretty large amount and
> > has no
> > > > significant memory issues (apart from just being plain massive) so
> > i'm just
> > > > wondering if it's definately the Plane that's giving you the
> > problems....
> > > >
> > > > the other option would be to hack the Plane class, or, if you want
> > to
> > > > keep it OOP and manageable, extend the Plane class to implement a
> > resize()
> > > > method, which would allow you to resize the plane to fit the new
> > image it's
> > > > going to accept. you run through the vertices in its geometry and
> > adjust
> > > > their positions. It would be a nice addition to Plane to be able to
> > do that
> > > > anyway as it has been mentioned before on the list...
> > > >
> > > > T
> > > >
> > > > On Nov 28, 2007 11:43 AM, gareth evans <gareth at designerterritories.com
> > > wrote:
> > > >
> > > > >
> > > > > Hi
> > > > >
> > > > > Thanks for the response, I originally tried to removeChild(plane);
> > but
> > > > > that
> > > > > didn't do anything either.
> > > > >
> > > > > I also tried having just one plane, but as the images could be any
> > > > > size it
> > > > > buggers it up too as you can't dynamically change the width and
> > height
> > > > > of a
> > > > > set plane with plane.width = foo as you only get access to scaleY
> > and
> > > > > by
> > > > > this time my brain was leaking out of my ear as to figure out how
> > to
> > > > > use
> > > > > this.
> > > > >
> > > > > I've already got a class that figures out the proportionally
> > reduction
> > > > > needed to fit the image within a defined ideal height or width
> > > > > depending on
> > > > > the orientation of the image, perhaps I could re-look at that.
> > > > >
> > > > > I'll take answer number 2 and get back to you.
> > > > >
> > > > > For my own sanity though, I'd love to know how to get rid of the
> > > > > buggers as
> > > > > this project is an on going thing, and as it's going to be left on
> > for
> > > > > hours
> > > > > at a time, a 300k per minute memory leak is going to kill it dead
> > > > > sooner or
> > > > > later.
> > > > >
> > > > > Cheers
> > > > > Gareth
> > > > >
> > > > >
> > > > > paperworld wrote:
> > > > > >
> > > > > > only have time for a brief thought but two suggestions occur:
> > > > > >
> > > > > > 1 - removing by reference. Instead of removeChildByName() could
> > you
> > > > > hold a
> > > > > > reference to the plane and pass it to removeChild() directly?
> > Does
> > > > > that
> > > > > > make
> > > > > > a difference?
> > > > > >
> > > > > > 2 - reuse the planes... how many planes do you actually have to
> > use?
> > > > > In
> > > > > > the
> > > > > > link there seems to only be one plane on screen at any time (but
> >
> > > > > could be
> > > > > > missing it due to wrong size screen) even so, you could get away
> > > > > with
> > > > > > using
> > > > > > 2 and just changing the materials on them, rather than creating
> > a
> > > > > new
> > > > > > plane
> > > > > > for every image...
> > > > > >
> > > > > > T
> > > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > http://www.nabble.com/Performance-check-and-optimsation-tips-please-tf4887795.html#a13990653
> > > > >
> > > > > Sent from the Papervision3D mailing list archive at Nabble.com<
> > http://nabble.com/>
> > > > > .
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Papervision3D mailing list
> > > > > Papervision3D at osflash.org
> > > > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Trevor Burton
> > > > http://www.paperworld3d.com
> > > >
> > > > _______________________________________________
> > > > Papervision3D mailing list
> > > > Papervision3D at osflash.org
> > > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Gareth Evans
> > > Designer Territories
> > >
> > > 5 Parade Chambers
> > > North Lane, Headingly
> > > Leeds LS6 3HW
> > > 07515 398 396
> > > 0113 28 999 06
> > >
> > > www.designerterritories.com
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > >
> >
> >
> > --
> > Trevor Burton
> > http://www.paperworld3d.com
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071128/ca88e02e/attachment-0001.html
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 28 Nov 2007 15:27:47 +0000
> > From: "Trevor Burton" <worldofpaper at googlemail.com>
> > Subject: Re: [Papervision3D] Error to build a Cube
> > To: jgvitorino at gmail.com, papervision3d at osflash.org
> > Message-ID:
> > < bc985a00711280727p274c7443k6e431858d5d37c22 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > How are you compiling this? I just copied your class into a file, used
> > it as
> > the Document class in a CS3 .fla and it ran... it didn't show anything
> > but
> > there were no errors reported as you seem to be getting.
> >
> > T
> >
> > On Nov 28, 2007 3:06 PM, Junio Gon?alves Vitorino < jgvitorino at gmail.com
> > >
> > wrote:
> >
> > > Hey, nobody can help me? I can't see where i'm erring.
> > >
> > > --
> > > Junio Vitorino
> > > mail: jgvitorino at gmail.com
> > > website: http://www.juniovitorino.com
> > > msn: junio531 at hotmail.com
> > > skype me: juniovitorino
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > >
> >
> >
> > --
> > Trevor Burton
> > http://www.paperworld3d.com
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071128/d9e59ca6/attachment-0001.html
> >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Wed, 28 Nov 2007 15:30:09 +0000
> > From: "Trevor Burton" <worldofpaper at googlemail.com>
> > Subject: Re: [Papervision3D] Error to build a Cube
> > To: jgvitorino at gmail.com, papervision3d at osflash.org
> > Message-ID:
> > < bc985a00711280730q29589b1bsf1f963efed192707 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > sorry, was saving the .fla in the wrong directory. I just ran it again
> > and
> > it works fine!
> >
> > are you definately importing the papervision classes.
> >
> > On Nov 28, 2007 3:27 PM, Trevor Burton <worldofpaper at googlemail.com>
> > wrote:
> >
> > > How are you compiling this? I just copied your class into a file, used
> > it
> > > as the Document class in a CS3 .fla and it ran... it didn't show
> > anything
> > > but there were no errors reported as you seem to be getting.
> > >
> > > T
> > >
> > > On Nov 28, 2007 3:06 PM, Junio Gon?alves Vitorino <
> > jgvitorino at gmail.com>
> > > wrote:
> > >
> > > > Hey, nobody can help me? I can't see where i'm erring.
> > > >
> > > > --
> > > > Junio Vitorino
> > > > mail: jgvitorino at gmail.com
> > > > website: http://www.juniovitorino.com
> > > > msn: junio531 at hotmail.com
> > > > skype me: juniovitorino
> > > > _______________________________________________
> > > > Papervision3D mailing list
> > > > Papervision3D at osflash.org
> > > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Trevor Burton
> > > http://www.paperworld3d.com
> >
> >
> >
> >
> > --
> > Trevor Burton
> > http://www.paperworld3d.com
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> > http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071128/6751ddcb/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Wed, 28 Nov 2007 10:49:55 -0500
> > From: xero < xero.nu at gmail.com>
> > Subject: [Papervision3D] phunky and mesh3D - custom objects problems
> > To: papervision3d at osflash.org
> > Message-ID:
> > <b0a8f07c0711280749t469323a1r32125a610b799863 at mail.gmail.com>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > hello list.
> >
> > im still using the as3 geom class exporter for 3DSM.
> > http://seraf.mediabox.fr/showcase/as3-geom-class-exporter-for-3ds-max-english/
> >
> >
> > so far, it has worked great. and meet all my needs.
> >
> > lately i've been working with phunky more and more
> > and my as3 geom classes do not work.
> >
> > the error i get is in the actual class declaration
> >
> > public class Planet extends Mesh3D {
> >
> > the error is that the base class Mesh3D cant be found.
> >
> > is mesh3D depreciated in phunky? (i dont see its class)
> > what do i need to extend to get my files working again?
> >
> > i attached a simple sphere object i made ( w/ correct
> > UI mapping points ) so you can see what im talking about.
> >
> > any help is greatly appreciated! thanx alot!
> > ____ ___
> > \ \/ /___________ ____
> > .\ // __ \_ __ \/ _ \
> > ./ \ ___/| | \( <_> )
> > /___/\ \___ >__|---\____/
> > | \_/ \/ |
> > | xero harrison |
> > | x at xero.nu |
> > | http://xero.nu |
> > | http://fontvir.us |
> > | http://xero.owns.us |
> > `---------------------'
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071128/1a3b05a5/attachment.html
> >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: Planet.as
> > Type: application/octet-stream
> > Size: 53782 bytes
> > Desc: not available
> > Url : http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071128/1a3b05a5/attachment.obj
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
> > End of Papervision3D Digest, Vol 14, Issue 216
> > **********************************************
> >
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
--
Rob Bateman
Flash Development & Consultancy
Work: 0207 4823328
Mobile: 07714 329 073
rob.bateman at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20071201/d3a5b4f4/attachment-0001.html
More information about the Papervision3D
mailing list