[Papervision3D] Papervision slowdowns
Dwayne Neckles
dwayneneckles at hotmail.com
Thu Jan 3 15:20:33 PST 2008
sorry buddy - i just joined : )
i agree btw
Date: Thu, 3 Jan 2008 22:59:31 +0000
From: worldofpaper at googlemail.com
To: papervision3d at osflash.org
Subject: Re: [Papervision3D] Papervision slowdowns
There are no examples for GreatWhite as ( as has been said many times on the list ) it's alpha and will be changing before it's deemed to be an official release, so it's a waste of resources to constantly 'fix' examples each time a change affects them.
T
On Jan 3, 2008 10:48 PM, Dwayne Neckles <dwayneneckles at hotmail.com> wrote:
one last thing.. there doesnt seem to be any examples with 2.0 (on the svn) as there are
on the svn right... I will look at your links again...
unlike the 1.7 found here -
http://papervision3d.googlecode.com/svn/trunk/as2/trunk/examples
and if i take john grdens interactive materials fla which is in 1.7 id have to update some of the code right?
Also I wanted to use papervision to redo my portfolio site.. so maybe I should use
1.7 anyway?
> Date: Thu, 3 Jan 2008 13:28:10 -0800
> From: azupko at zupko.info
> To: papervision3d at osflash.org
> Subject: Re: [Papervision3D] Papervision slowdowns
>
> Since papervision is open source there are alot of versions to choose
> from. 1.5 was the last main "Stable" release - but I currently use 2.0
> Effects branch (to add to the confusion even more :)).
2.0 is
> significantly faster than 1.5 and is structured somewhat differently.
> Personally i would recommend learning 2.0 since that is where papervision
> is going and you won't have to relearn the engine again. You can read
> some good walkthroughs of it on Johns blog (www.rockonflash.com/blog) or
> Ralph's blog (
www.unitzeroone.com). If you decide you want to get into
> effects, you can read about all that on my blog (blog.zupko.info).
>
> Keep in mind,
2.0 is alpha - so if you are wanting the most stable you
> might want to consider earlier versions.
>
>
> > 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_______________________________________________
> > 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
i'm is proud to present Cause Effect, a series about real people making a difference. Learn more
_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
--
Trevor Burton
http://www.paperworld3d.com
_________________________________________________________________
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/45f53307/attachment-0001.html
More information about the Papervision3D
mailing list