Archive for December 8th, 2008

VectorVision Hello World

Monday, December 8th, 2008 | examples | Comments

Since VectorVision was integrated with Papervision3D, it seemed only appropriate to make a Hello World demo for today. Simple, eh?


source

package
{
	import flash.events.Event;
 
	import org.papervision3d.materials.special.Letter3DMaterial;
	import org.papervision3d.typography.Font3D;
	import org.papervision3d.typography.Text3D;
	import org.papervision3d.typography.fonts.HelveticaBold;
	import org.papervision3d.view.BasicView;
 
	[SWF(width="640", height="480", backgroundColor="#000000", frameRate="60")]
	public class VectorVisionHelloWorld extends BasicView
	{
		private var text3D:Text3D;
 
		public function VectorVisionHelloWorld()
		{
			var material:Letter3DMaterial = new Letter3DMaterial(0xcc0000);
			var font3D:Font3D = new HelveticaBold();
			text3D = new Text3D("Hello World", font3D, material);
 
			scene.addChild(text3D);
 
			startRendering(); 	
		}
 
		override protected function onRenderTick(event:Event=null):void
		{
			text3D.yaw(1);
			renderer.renderScene(scene, camera, viewport);
		}
	}
}

Tags: ,

Papervision3D now includes VectorVision

Monday, December 8th, 2008 | announcements | Comments

Mark Barcinski just finished merging VectorVision with Papervision3D. Go grab the latest downloads:

http://code.google.com/p/papervision3d/downloads/list

*update – I uploaded the wrong .swc (without VectorVision) this morning. If you grabbed the .swc earlier than this update, please redownload. The .zip was fine.

Tags:

Search

Recommended Books

Speaking at FITC Toronto

 

December 2008
M T W T F S S
« Nov   Jan »
1234567
891011121314
15161718192021
22232425262728
293031  

Preferred Video Tutorial Resolution

  • 1024x768 (53%, 85 Votes)
  • 1280x1024 (15%, 24 Votes)
  • 1920x1080 (15%, 24 Votes)
  • 800x600 (13%, 20 Votes)
  • 480x320 (4%, 6 Votes)
  • 640x480 (0%, 2 Votes)

Total Voters: 160

Loading ... Loading ...