[Papervision3D] Setting Planes To Specific Positions

Aemeath lucifer-x at web.de
Mon Oct 1 05:22:15 PDT 2007


Hello there dear list~

What I'm trying to do is a panorama with the help of a cube (working so
far), and within this cube there are planes with MovieAssetMaterials for
each, showing videos we shot in front of a greenscreen as flv. Videos
showing, everything works fine, now I have a quite simple problem I guess,
but I can't get it worked out, so I hope you can help me.

These 2 planes I created are in the middle of the scene for now, overlapping
each other of course. I just want to know how to move them backwards / left
/ right. I searched quite a bit, found some stuff but I never got it
integrated in my code correctly. Is there a way to tell these planes
directly when being created where I want them to be placed?

This is the snippet of code that created a plane for me :

		protected function createPlane():void {
			var material2:MovieAssetMaterial = new MovieAssetMaterial("flv2", true,
true);

			var plane:Plane = new Plane( material2, 700, 700, 8, 8 );
			scene.addChild(plane);
		}

Marcel
-- 
View this message in context: http://www.nabble.com/Setting-Planes-To-Specific-Positions-tf4547998.html#a12978208
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list