[Papervision3D] Papervision slowdowns
Dwayne Neckles
dwayneneckles at hotmail.com
Thu Jan 3 12:58:30 PST 2008
Andy!
I really appreciate your response...
what version are you using so many people are using 1.5/7 then 2.0 its confusing...
> Date: Thu, 3 Jan 2008 12:49:12 -0800
> From: azupko at zupko.info
> To: papervision3d at osflash.org
> Subject: Re: [Papervision3D] Papervision slowdowns
>
> Something happened in 1.7 so that at certain angles there is a smoothing
> problem causing significant lag. I tested your code and it runs the same
> speed for both revisions, but when smoothing is turned on for 1.7 it locks
> up. Turn bam.smooth = false; and it will run fine in 1.7 as well.
>
> There is a size check to fix this but i don't hvae the code on me - if you
> really want it i can look for it later tonight.
>
>
> hth
>
> -andy
>
> > Gang was my question not clear enough? I didnt get a response.
> >
> >
> >
> > From: dwayneneckles at hotmail.com
> > To: papervision3d at osflash.org
> > Subject: RE: Papervision slowdowns
> > Date: Thu, 3 Jan 2008 14:04:27 +0000
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > I am on a Macbook pro.. and i swear 1.5 was smoother..
> > check out the code below i am using..
> > it comes in smooth for about a second but then it slows down...
> >
> > and overalll nothing has been working with papervision 3d for me :(
> >
> >
> > import org.papervision3d.scenes.*;
> > import org.papervision3d.objects.*;
> > import org.papervision3d.cameras.*;
> > import org.papervision3d.materials.*;
> >
> > // Create the container Sprite
> > var container:Sprite = new Sprite();
> > container.x = stage.stageWidth * 0.5;
> > container.y = stage.stageHeight * 0.5;
> > addChild(container);
> >
> > // Setup the 3D scene
> > var scene:Scene3D = new Scene3D(container);
> > var camera:Camera3D = new Camera3D();
> > camera.zoom = 5;
> >
> > // Create the material
> > var bam:BitmapAssetMaterial = new BitmapAssetMaterial("cover");
> > bam.oneSide = false;
> > bam.smooth = true;
> >
> > // Create the 3D planes
> > for(var i:uint=0; i<50; i++)
> > {
> > var p:Plane = new Plane(bam, 234, 236, 2, 2);
> > scene.addChild(p);
> > p.x = Math.random() * 1000 - 500;
> > p.y = Math.random() * 1000 - 500;
> > p.z = Math.random() * 1000 - 500;
> > p.rotationY = Math.random() * 360;
> > }
> >
> > this.addEventListener(Event.ENTER_FRAME, render);
> >
> > function render(e:Event):void
> > {
> > camera.x += stage.mouseX - (stage.stageWidth*0.5);
> > camera.y += stage.mouseY - (stage.stageHeight*0.5);
> > scene.renderCamera(camera);
> > }
> > // Render the 3D scene
> >
> >
> >
> > From: dwayneneckles at hotmail.com
> > To: papervision3d at osflash.org
> > Subject: Papervision slowdowns
> > Date: Thu, 3 Jan 2008 13:53:02 +0000
> >
> >
> >
> >
> >
> >
> >
> > Anyone know why papervision 1.7 is experience major slowdowns and
> > lagtime...unlike 1.5?
> >
> >
> >
> >> From: papervision3d-request at osflash.org
> >> Subject: Papervision3D Digest, Vol 16, Issue 14
> >> To: papervision3d at osflash.org
> >> Date: Thu, 3 Jan 2008 03:59:42 -0800
> >>
> >> 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: Adding a plane to a cube material.. (Fred-80)
> >> 2. Cube 3D, light, shading, transparency (Almir Busevac)
> >> 3. Re: - Is this game done in 3D? (Nathaniel Warner)
> >> 4. Using a cube material as conteiner for a plane (Fredrik Aas)
> >> 5. Re: Using a cube material as conteiner for a plane
> >> (ayo at binitie.com)
> >> 6. Re: video not displaying with the new flash player release
> >> 9.0.115 (quinrou .)
> >> 7. Re: Using a cube material as conteiner for a plane (Fredrik Aas)
> >>
> >>
> >> ----------------------------------------------------------------------
> >>
> >> Message: 1
> >> Date: Thu, 3 Jan 2008 01:33:32 -0800 (PST)
> >> From: Fred-80 <fredrikaas at gmail.com>
> >> Subject: Re: [Papervision3D] Adding a plane to a cube material..
> >> To: papervision3D at osflash.org
> >> Message-ID: <14594029.post at talk.nabble.com>
> >> Content-Type: text/plain; charset=us-ascii
> >>
> >>
> >> Yea, I agree it works to a degree. But isn't it a better way. - using
> >> the
> >> Front material as the conteiner for the plane?
> >>
> >> Thanks for the tip!
> >> Best regards
> >> Fred
> >>
> >>
> >> Roy Wiggins wrote:
> >> >
> >> > Try just moving the plane, eg
> >> > plane.z = -size/2
> >> > should stick it somewhere in the vicinity of an edge. Maybe the wrong
> >> one,
> >> > or end up the wrong rotation in which case you'll need to do something
> >> > like
> >> > plane.rotationY = 90
> >> >
> >> > On Jan 3, 2008 12:27 AM, Fred-80 <fredrikaas at gmail.com> wrote:
> >> >
> >> >>
> >> >> Hey!
> >> >>
> >> >> I would be very greatfull if someone could telle me how I can add a
> >> plane
> >> >> to
> >> >> a cube material.
> >> >>
> >> >> The materiallist and cube looks like this:
> >> >>
> >> >> var materials:MaterialsList = new MaterialsList(
> >> >> {
> >> >> //all:
> >> >> front: new MovieAssetMaterial( "Front", true
> >> ),
> >> >> back: new MovieAssetMaterial( "Back", true
> >> ),
> >> >> right: new MovieAssetMaterial( "Right", true
> >> ),
> >> >> left: new MovieAssetMaterial( "Left", true
> >> ),
> >> >> top: new MovieAssetMaterial( "Top", true ),
> >> >> bottom: new MovieAssetMaterial( "Bottom", true
> >> )
> >> >> } );
> >> >>
> >> >> cube = new Cube( materials, size, size, size, quality, quality,
> >> quality,
> >> >> insideFaces, excludeFaces );
> >> >>
> >> >> scene.addChild( cube, "Cube" );
> >> >>
> >> >> What I want to do is to add a plane onto the Front side of the cube..
> >> >> I've
> >> >> tried adding it like this:
> >> >>
> >> >> scene.addChild(plane);
> >> >>
> >> >> But this of course places the plane in the center of the cube and not
> >> on
> >> >> the
> >> >> Front material of the Cube. Also i've tried for instance
> >> >> scene.cube.Front.addChild(plane) or similar, without success..
> >> >>
> >> >> Any ideas??
> >> >>
> >> >> Thanks in advance!
> >> >>
> >> >> Fred
> >> >>
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >> http://www.nabble.com/Adding-a-plane-to-a-cube-material..-tp14593471p14593471.html
> >> >> Sent from the Papervision3D mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> 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
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Adding-a-plane-to-a-cube-material..-tp14593471p14594029.html
> >> Sent from the Papervision3D mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 2
> >> Date: Thu, 3 Jan 2008 10:39:16 +0100
> >> From: "Almir Busevac" <almir at klapp.no>
> >> Subject: [Papervision3D] Cube 3D, light, shading, transparency
> >> To: papervision3d at osflash.org
> >> Message-ID:
> >> <ceb3bfa40801030139l88c86d3q50b2c65af25db7b8 at mail.gmail.com>
> >> Content-Type: text/plain; charset=ISO-8859-1
> >>
> >> Hello!
> >>
> >> I am playing with papervision3d rightnow, and i wonder is it possible
> >> to create cube with semi-transparent sides, so that the inside of the
> >> cube is visible? (like this:
> >> http://img174.imageshack.us/img174/7695/examplesa0.jpg )
> >>
> >> I guess in order to get the result like in the pic, i should take a
> >> look at the shading and point light, right?
> >>
> >> Any good examples:) ?
> >>
> >> Thanks in advance
> >> A.
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 3
> >> Date: Wed, 2 Jan 2008 23:45:57 -1000
> >> From: "Nathaniel Warner" <warner.nathaniel at gmail.com>
> >> Subject: Re: [Papervision3D] - Is this game done in 3D?
> >> To: papervision3d at osflash.org
> >> Message-ID:
> >> <e4f612b20801030145t7b377ae1g59f526e941ede2f1 at mail.gmail.com>
> >> Content-Type: text/plain; charset=ISO-8859-1
> >>
> >> awesome!
> >>
> >> On 1/2/08, o renken <renkster at gmail.com> wrote:
> >> > Hi Visioners,
> >> >
> >> > first of all.. i wish a happy new year to all of you guys.. :-)
> >> >
> >> >
> >> > what do you think.. is this game done in PV3D or at least 3D? Iam not
> >> > sure...
> >> > http://www.lachmeister.de/lustiges-flash-spiel/sport/1361/fred-feuerstein-rodeln.html
> >> >
> >> > have a nice day,
> >> > olee
> >> >
> >> > --
> >> > http://www.renkster.de/
> >> > _______________________________________________
> >> > Papervision3D mailing list
> >> > Papervision3D at osflash.org
> >> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >> >
> >> >
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 4
> >> Date: Thu, 3 Jan 2008 11:20:04 +0100
> >> From: "Fredrik Aas" <fredrikaas at gmail.com>
> >> Subject: [Papervision3D] Using a cube material as conteiner for a
> >> plane
> >> To: papervision3d at osflash.org
> >> Message-ID:
> >> <8bd2a25b0801030220t1c87a153q249ffc4c9c6cea60 at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> Hello!
> >>
> >> I would be very greatfull if someone could telle me how I can use a cube
> >> material as a conteiner for a plane
> >> The materiallist and cube looks like this:
> >>
> >> var materials:MaterialsList = new MaterialsList(
> >> {
> >> //all:
> >> front: new MovieAssetMaterial( "Front", true ),
> >> back: new MovieAssetMaterial( "Back", true ),
> >> right: new MovieAssetMaterial( "Right", true ),
> >> left: new MovieAssetMaterial( "Left", true ),
> >> top: new MovieAssetMaterial( "Top", true ),
> >> bottom: new MovieAssetMaterial( "Bottom", true )
> >> } );
> >>
> >> cube = new Cube( materials, size, size, size, quality, quality, quality,
> >> insideFaces, excludeFaces );
> >>
> >> scene.addChild( cube, "Cube" );
> >>
> >> What I want to do is to add a plane onto the Front side of the cube..
> >> I've
> >> tried adding it like this:
> >>
> >> scene.addChild(plane);
> >>
> >> But this of course places the plane in the center of the cube and not on
> >> the
> >> Front material of the Cube. I know I can position the plane from there,
> >> but
> >> that's not the point..
> >> Also i've tried for instance scene.cube.Front.addChild(plane) or
> >> similar,
> >> without success..
> >>
> >> Any ideas??
> >>
> >> Thanks in advance!
> >>
> >> Fred
> >> -------------- next part --------------
> >> An HTML attachment was scrubbed...
> >> URL:
> >> http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080103/7ed247bf/attachment-0001.html
> >>
> >> ------------------------------
> >>
> >> Message: 5
> >> Date: Thu, 3 Jan 2008 06:06:29 -0500
> >> From: "ayo at binitie.com" <ayo at binitie.com>
> >> Subject: Re: [Papervision3D] Using a cube material as conteiner for a
> >> plane
> >> To: papervision3d at osflash.org
> >> Message-ID: <380-2200814311629324 at M2W017.mail2web.com>
> >> Content-Type: text/plain; charset=iso-8859-1
> >>
> >> This should work:
> >>
> >> yourCube.addChild(yourPlane);
> >>
> >> Make sure you set your x, y, znd z coords so the plane does not
> >> disappear
> >> into the cube.
> >>
> >> a/
> >>
> >> Original Message:
> >> -----------------
> >> From: Fredrik Aas fredrikaas at gmail.com
> >> Date: Thu, 3 Jan 2008 11:20:04 +0100
> >> To: papervision3d at osflash.org
> >> Subject: [Papervision3D] Using a cube material as conteiner for a plane
> >>
> >>
> >> Hello!
> >>
> >> I would be very greatfull if someone could telle me how I can use a cube
> >> material as a conteiner for a plane
> >> The materiallist and cube looks like this:
> >>
> >> var materials:MaterialsList = new MaterialsList(
> >> {
> >> //all:
> >> front: new MovieAssetMaterial( "Front", true ),
> >> back: new MovieAssetMaterial( "Back", true ),
> >> right: new MovieAssetMaterial( "Right", true ),
> >> left: new MovieAssetMaterial( "Left", true ),
> >> top: new MovieAssetMaterial( "Top", true ),
> >> bottom: new MovieAssetMaterial( "Bottom", true )
> >> } );
> >>
> >> cube = new Cube( materials, size, size, size, quality, quality, quality,
> >> insideFaces, excludeFaces );
> >>
> >> scene.addChild( cube, "Cube" );
> >>
> >> What I want to do is to add a plane onto the Front side of the cube..
> >> I've
> >> tried adding it like this:
> >>
> >> scene.addChild(plane);
> >>
> >> But this of course places the plane in the center of the cube and not on
> >> the
> >> Front material of the Cube. I know I can position the plane from there,
> >> but
> >> that's not the point..
> >> Also i've tried for instance scene.cube.Front.addChild(plane) or
> >> similar,
> >> without success..
> >>
> >> Any ideas??
> >>
> >> Thanks in advance!
> >>
> >> Fred
> >>
> >>
> >> --------------------------------------------------------------------
> >> mail2web.com - Microsoft? Exchange solutions from a leading provider -
> >> http://link.mail2web.com/Business/Exchange
> >>
> >>
> >>
> >>
> >>
> >> ------------------------------
> >>
> >> Message: 6
> >> Date: Thu, 3 Jan 2008 11:53:52 +0000
> >> From: "quinrou ." <quinrou at gmail.com>
> >> Subject: Re: [Papervision3D] video not displaying with the new flash
> >> player release 9.0.115
> >> To: papervision3d at osflash.org
> >> Message-ID:
> >> <ed0c96200801030353u7ec6fdf1vacde2e93f7411226 at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> Hi,
> >>
> >> Sorry for the late response, just caching up with things...
> >>
> >> @Ralph: Really, that's a real bummer... I do understand the reason for
> >> this
> >> though. By FMS3 do you mean Flash Macromedia Server 3? If that is the
> >> case
> >> Can I used a Red5 Server instead coz I am not sure the client is going
> >> to be
> >> willing to spend more money into this unless we can find a cheap
> >> solution.
> >>
> >> Many Thanks
> >>
> >>
> >>
> >>
> >> On Dec 21, 2007 3:08 PM, Ralph Hauwert <r.hauwert at gmail.com> wrote:
> >>
> >> > I'm sorry, but you can't. There's one solution; buy FMS3. This will
> >> allow
> >> > you to play streaming flv's again.
> >> > I made a blog post about it :
> >> >
> >> > http://www.unitzeroone.com/blog/flash/the_latest_flash_9_breaks_stuf.html
> >> >
> >> > Ralph.
> >> >
> >> >
> >> > On Dec 21, 2007 3:40 PM, quinrou . <quinrou at gmail.com > wrote:
> >> >
> >> > > Hi all,
> >> > >
> >> > > I have built a site with papervision3d (v 1.5) and since the release
> >> of
> >> > > the flash player 9.0.115 the video are not been displayed. ou can
> >> hear
> >> > > the sound but the rendering is broken. My code hasn't change so a
> >> presume
> >> > > that something was changed in the Flash Player which causes this.
> >> Can anyone
> >> > > tell me what I need to do get the video working again
> >> > >
> >> > > thanks
> >> > > seb
> >> > >
> >> > >
> >> > > _______________________________________________
> >> > > Papervision3D mailing list
> >> > > Papervision3D at osflash.org
> >> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >> > >
> >> > >
> >> >
> >> >
> >> > --
> >> > Ralph Hauwert
> >> > _______________________________________________
> >> > 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/20080103/0b6fa71e/attachment-0001.html
> >>
> >> ------------------------------
> >>
> >> Message: 7
> >> Date: Thu, 3 Jan 2008 12:59:40 +0100
> >> From: "Fredrik Aas" <fredrikaas at gmail.com>
> >> Subject: Re: [Papervision3D] Using a cube material as conteiner for a
> >> plane
> >> To: ayo at binitie.com, papervision3d at osflash.org
> >> Message-ID:
> >> <8bd2a25b0801030359u635bdae3x96d15f9e14f9bf7b at mail.gmail.com>
> >> Content-Type: text/plain; charset="iso-8859-1"
> >>
> >> But this will place it in the center and Ihave to manually set it close
> >> to
> >> the Front material.. I tried this, but it didn't work too good i'm
> >> afraid..
> >>
> >> Thanks for the tip though..
> >> Fred
> >> On Jan 3, 2008 12:06 PM, ayo at binitie.com <ayo at binitie.com> wrote:
> >>
> >> > This should work:
> >> >
> >> > yourCube.addChild(yourPlane);
> >> >
> >> > Make sure you set your x, y, znd z coords so the plane does not
> >> disappear
> >> > into the cube.
> >> >
> >> > a/
> >> >
> >> > Original Message:
> >> > -----------------
> >> > From: Fredrik Aas fredrikaas at gmail.com
> >> > Date: Thu, 3 Jan 2008 11:20:04 +0100
> >> > To: papervision3d at osflash.org
> >> > Subject: [Papervision3D] Using a cube material as conteiner for a
> >> plane
> >> >
> >> >
> >> > Hello!
> >> >
> >> > I would be very greatfull if someone could telle me how I can use a
> >> cube
> >> > material as a conteiner for a plane
> >> > The materiallist and cube looks like this:
> >> >
> >> > var materials:MaterialsList = new MaterialsList(
> >> > {
> >> > //all:
> >> > front: new MovieAssetMaterial( "Front", true
> >> ),
> >> > back: new MovieAssetMaterial( "Back", true ),
> >> > right: new MovieAssetMaterial( "Right", true
> >> ),
> >> > left: new MovieAssetMaterial( "Left", true ),
> >> > top: new MovieAssetMaterial( "Top", true ),
> >> > bottom: new MovieAssetMaterial( "Bottom", true
> >> )
> >> > } );
> >> >
> >> > cube = new Cube( materials, size, size, size, quality, quality,
> >> quality,
> >> > insideFaces, excludeFaces );
> >> >
> >> > scene.addChild( cube, "Cube" );
> >> >
> >> > What I want to do is to add a plane onto the Front side of the cube..
> >> I've
> >> > tried adding it like this:
> >> >
> >> > scene.addChild(plane);
> >> >
> >> > But this of course places the plane in the center of the cube and not
> >> on
> >> > the
> >> > Front material of the Cube. I know I can position the plane from
> >> there,
> >> > but
> >> > that's not the point..
> >> > Also i've tried for instance scene.cube.Front.addChild(plane) or
> >> similar,
> >> > without success..
> >> >
> >> > Any ideas??
> >> >
> >> > Thanks in advance!
> >> >
> >> > Fred
> >> >
> >> >
> >> > --------------------------------------------------------------------
> >> > mail2web.com - Microsoft(R) Exchange solutions from a leading provider
> >> -
> >> > http://link.mail2web.com/Business/Exchange
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > 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/20080103/ee1ce40e/attachment.html
> >>
> >> ------------------------------
> >>
> >> _______________________________________________
> >> Papervision3D mailing list
> >> Papervision3D at osflash.org
> >> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >>
> >>
> >> End of Papervision3D Digest, Vol 16, Issue 14
> >> *********************************************
> >
> > Get the power of Windows + Web with the new Windows Live. Get it now!
> >
> > Don't get caught with egg on your face. Play Chicktionary! Check it out!
> >
> > _________________________________________________________________
> > i’m is proud to present Cause Effect, a series about real people making a
> > difference.
> > http://im.live.com/Messenger/IM/MTV/?source=text_Cause_Effect_______________________________________________
> > 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
_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!
http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_dec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080103/0989fd39/attachment-0001.html
More information about the Papervision3D
mailing list