final project b

Page 2

Project B R ese ac he d C od e The biggest obstacle for me will be code manly because I am a animator in AE, Maya, C4D, and know nothing about interactivity outside the basics of html. So I have been looking for tutorials and code that I can use in order to complete this project. I know this has been done before in a similar fashion and this is what I have found so far.

Most promising info I have come across has been the use of a program called papervision3d which is used as a loader for the images. Moderncarpentry.com has been the site that has had a couple tutorials on how to go about doing this. Here is a bit of code they have put out there:

var f = new BitmapAssetMaterial( "front" );

//camera settings using Camera3D

This is from Joy Galluci from class which I thought was very helpful:

cam.zoom = 1;

var d = new BitmapAssetMaterial( "down" ); b.smooth = true;

cam.focus = 1000;

f.smooth = true;

cam.z = 100;

r.smooth = true;

//setting up materials and the cube var quality :Number = 24; // Materials var b = new BitmapAssetMaterial( "back" );

l.smooth = true;

stop(); startGameBtn.addEventListener(MouseE vent.MOUSE_DOWN, begin); function begin(evt:MouseEvent) { startGameBtn.removeEventListener(Mo useEvent.MOUSE_DOWN, begin); nextFrame(); }

var r = new BitmapAssetMaterial( "right" ); var l = new BitmapAssetMaterial( "left" ); var t = new BitmapAssetMaterial( "top" );

t.smooth = true; d.smooth = true;


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.