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.

Papervision 3d AS2

Have fun!

Tags »

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

  1. 1

    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!

  2. 2

    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.

  3. 3

    I’d be very interested that as well!

    Thanks

  4. 4

    OK just sorting myself out in a new office – promise I will pop up a link to the flas abd source asap!

  5. 5

    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);

Submit comment