7. Other engines
• Alternativa Platform • FreeSpin 3D
• WireEngine3D • Project3D
• ND3D • Silverback3D
• Five 3D (vektor-basert) • Electric 3D
• Sophie 3D • Flare 3D
• DirectFlex • Yogurt 3D
• Sharikura 3D • Ambiera CopperCube
• Wick3D • NewX 3D
Wednesday, June 16, 2010
8. 3D engine in 10 lines
Making a basic engine isn’t hard
Wednesday, June 16, 2010
9. Why and why not make your own?
Wednesday, June 16, 2010
10. Engine comparisons
Why it’s difficult to compare
Wednesday, June 16, 2010
12. Why Away3D?
• Constant development
• Solid base API
• Open Source
• Solid and supportive team
• Ease of use
• Documentation
• Technical features
Wednesday, June 16, 2010
16. Flash has something important...
... that the others can only dream of!
Wednesday, June 16, 2010
17. •98% install base
•Simple install for remaining 2%
•One player - endless options
•This is only the second generation...
Flash 3D strengths the upside
Wednesday, June 16, 2010
18. Away3D flavors
Away3D
Away3D Lite
Wednesday, June 16, 2010
19. Setting up for Away3D
http://away3d.com/downloads/
http://away3d.googlecode.com/svn/
Flash Pro, FlashDevelop, Flash Builder, IntelliJ IDEA, FDT?
Wednesday, June 16, 2010
20. Checklist
✓Have created a Workshop folder?
✓Have downloaded Away3D source files?
✓Have added Away3D files to Workshop folder?
✓Have created an empty class in Workshop folder?
✓Have created a new FLA and set the new class as Document Class
(Flash users only)?
✓Have copied the workshop files?
Wednesday, June 16, 2010
21. 5 lines to get started
var view:View3D = new View3D({x:250,y:200});
addChild(view);
var sphere:Sphere = new Sphere();
view.scene.addChild(sphere);
view.render();
Wednesday, June 16, 2010
22. Complete class
package
{
import away3d.containers.View3D;
import away3d.primitives.Sphere;
import flash.display.Sprite;
[SWF(width="500", height="400", frameRate="60", backgroundColor="#FFFFFF")]
public class T01_class extends Sprite
{
public function T01_class()
{
// create a viewport
var view:View3D = new View3D({x:250,y:200});
addChild(view);
// create a sphere and put it on the 3D stage
var sphere:Sphere = new Sphere();
view.scene.addChild(sphere);
// render the view
view.render();
}
}
}
Wednesday, June 16, 2010
23. The viewport
View3D
Clipping
Wednesday, June 16, 2010