Away3d workshop slides
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Away3d workshop slides

on

  • 3,573 views

Slides from my gotoAndSki workshop (http://www.gotoandski.com)

Slides from my gotoAndSki workshop (http://www.gotoandski.com)

Statistics

Views

Total Views
3,573
Views on SlideShare
3,570
Embed Views
3

Actions

Likes
3
Downloads
47
Comments
0

2 Embeds 3

http://www.slideshare.net 2
http://a0.twimg.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Away3d workshop slides Presentation Transcript

  • 1. Workshop gotoAndSki(1); Wednesday, June 16, 2010
  • 2. Intro 3D in the Flash Player Wednesday, June 16, 2010
  • 3. Flash 3(D) faking it Wednesday, June 16, 2010
  • 4. Sandy 3D (2005) Wednesday, June 16, 2010
  • 5. Papervision3D (2006) Wednesday, June 16, 2010
  • 6. Away3D (2007) Wednesday, June 16, 2010
  • 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
  • 11. 3D Engine Features Sandy Papervision3D Away3D Camera types 2 4 4 Material types 5 26 22 color, texture, phong, goraud, cel, outline, color, texture, phong, outline, flat, enviro, Shaders color, texture, phong, goraud, cel, outline bump bump, normal map, fresnel, glass, lambert Primitives 11 7 29 Extrusions, Lathe, Explode, Weld, Mirror, Advanced modeling Extrusions - Replicate, Merge, Bezier patch 3D vectors - ✓ ✓ 3DS, ASE, Collada, DAE, KMZ, MD2, Import 3DS, ASE, Collada, MD2 Sketchup, SketchupCollada 3DS, ASE, Collada, Kmz, MD2, MD2Still, obj Export - Collada Obj, AS3 class, elevation Camera lenses, Blockers, NURBS, Unique features Starfield, Actionscript 2 version Particles, ASCollada, bitmap effects Triangle caching, facelink, Awaybuilder Documentation ★★☆☆☆ ★☆☆☆☆ ★★★☆☆ Engine pet Cat Cow Turtle 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
  • 13. Flash 3D limitations and how to live with them Wednesday, June 16, 2010
  • 14. Flash 3D competition X3D, Unity3D and O3D (WebGL) Wednesday, June 16, 2010
  • 15. Flash 3D limitations and how to love them 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
  • 24. The Scene Scene3D Wednesday, June 16, 2010
  • 25. The Cameras Camera3D TargetCamera3D HoverCamera3D SpringCam Lenses Wednesday, June 16, 2010
  • 26. Rendering view.render() Renderer.BASIC Renderer.CORRECT_Z_ORDER Renderer.INTERSECTING_OBJECTS Wednesday, June 16, 2010
  • 27. Working in 3D Use your hand to think... Wednesday, June 16, 2010
  • 28. 3D building blocks Vertices Faces UV coordinates Wednesday, June 16, 2010
  • 29. Primitives 29 total Some more useful than other Wednesday, June 16, 2010
  • 30. Primitives Positioning Mesh resolution Inverting faces Bothsided OwnCanvas Wednesday, June 16, 2010
  • 31. Tweening in 3D Just as in 2D, just add the Z Wednesday, June 16, 2010
  • 32. ObjectContainer3D For nesting objects Wednesday, June 16, 2010
  • 33. Pre-made models Software Formats Loading Debug tools Wednesday, June 16, 2010
  • 34. Light Limits apply! Wednesday, June 16, 2010
  • 35. Materials Color materials Bitmap materials Composite materials PixelBender shaders Wednesday, June 16, 2010
  • 36. Making models from scratch Wednesday, June 16, 2010
  • 37. Planning for expandability Wednesday, June 16, 2010
  • 38. UV Coordinates How mapping works Wednesday, June 16, 2010
  • 39. User Interaction Mouse Keyboard Wednesday, June 16, 2010
  • 40. Workshop examples http://www.flashgamer.com/workshop/gotoAndSki/ Cooliris.as - (original plugin example) Wednesday, June 16, 2010
  • 41. Away3D resources Away3D documentation http://away3d.com/livedocs/ Developers group http://groups.google.com/group/away3d-dev Away3D http://away3d.com/ Flashmagazine tutorials http://www.flashmagazine.com/Tutorials/category/away3d/ Tartiflop tutorials http://blog.tartiflop.com/first-steps-in-away3d/ Advanced modeling tutorials http://blog.closier.nl/ Advanced text http://www.lidev.com.ar/?cat=3 Wednesday, June 16, 2010