Papervision 3D for ActionScript 2
OK – so they forgot to tell me it was for flash player 8. Oh well. So I’ve done it for ActionScript 2 with some controls for testing.
Have fun!
OK – so they forgot to tell me it was for flash player 8. Oh well. So I’ve done it for ActionScript 2 with some controls for testing.
Have fun!
Author:admin
Date: Thursday, 26. June 2008 14:40
Trackback: Trackback-URL Category: Uncategorized
Feed for the post RSS 2.0 Comment this post
5 comments
Monday, 9. November 2009 1:27
Hi!
I got to Your website after hours of searching for PV3d examples for AS2.0. Yours’ are amazing
Could You please show some resources how to do that? Or fla file or anything for PV3d for AS2.0. It would be really nice. Thank You!
Monday, 9. November 2009 10:30
Thanks.
It’s been a while (and a couple of machines ago) but I’ll see if I can dig out the FLAs and classes and pop’em up for download.
Monday, 16. November 2009 23:12
I’d be very interested that as well!
Thanks
Monday, 16. November 2009 23:25
OK just sorting myself out in a new office – promise I will pop up a link to the flas abd source asap!
Wednesday, 25. November 2009 14:19
like this (get the PV3D repository from googlecode):
container = this.createEmptyMovieClip(“container”, this.getNextHighestDepth());
container._x = Stage.width / 2;
container._y = Stage.height / 2;
scene = new org.papervision3d.scenes.Scene3D(container);
camera = new org.papervision3d.cameras.Camera3D();
camera.zoom = 1;
camera.focus = 500;
camera.z = -2000;
// bmpImage = bitmap in library
bmap = new org.papervision3d.materials.BitmapAssetMaterial(“bmpImage”);
bmap.oneSide = false;
plane = new org.papervision3d.objects.Plane(bmap);
scene.push(plane);
scene.renderCamera(camera);