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