Английская Википедия:Away3D

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Use dmy dates Шаблон:Infobox software

Away3D is an open-source platform for developing interactive 3D graphics for video games and applications, in Adobe Flash or HTML5. The platform consists of a 3D world editor (Away Builder),[1][2] a 3D graphics engine (Away3D or AwayJS), a 3D physics engine (Away Physics)[3] and a compressed 3D model file format (AWD).[4][5][6]

Development is managed by the Away Foundation, a UK-based non-profit focused on building and maintaining free and open-source software resources for high-performance mobile games and applications.[6][7] The foundation is supported by corporate sponsorship (Adobe,[8] JetBrains[9] among others) and individual donors.[7]

Platform

Away Builder

Away Builder is an open-source integrated development environment for importing, refining, preparing and exporting 3D models and animations.[1] It can import 3D models from various 3D applications such as Autodesk 3ds Max, and can bake lighting into texture maps.[1] The primary purpose of Away Builder is exporting 3D model packages for the Away3D engine.[1] It supports the compressed AWD binary format, enabling smaller sizes for 3D models than ASCII-based formats such as OBJ.

The Away Extension's plugin enables exporting 2D and 3D content from Adobe Animate into Away3D or AwayJS.[10]

Away3D

Away3D is an open-source ActionScript 3 engine for developing interactive 3D graphics within Adobe Flash Player and Adobe AIR. Away3D runs on current web browsers utilizing the Adobe Flash Player, and uses Stage3D for GPU-accelerated rendering.Шаблон:Fact

The engine can render 3D models and perform various other 3D computations. It supports hierarchical object transformation with features such as position, rotation and scaling, rendering of bitmap textures.[11][12] Real-time lighting and illumination is supported using Phong shading, Gouraud shading, point and directional lighting, cascading shadows, normal and specular mapping, global illumination and fog effects.[7][12] It also supports stereoscopic rendering, 3D sound, extrusion tools, particle animation and skeletal animation.[12] Post-processing effects may be used to enhance the quality of the graphics, and Away3D supports bloom, blur, depth of field and motion blur.[12]

Away3D 4 and onwards fully supports GPU-accelerated graphics using the Stage3D API introduced in Flash Player 11, freeing up the CPU for other computational tasks.[13] Since GPUs are capable of rendering many more textured triangles per second, it allows for much more detail and quality, and up to 100,000 triangles per frame instead of the typical 1,000 ceiling with CPU-based Flash rendering.[14]

Away Physics is a physics engine based on the Bullet physics library, for collision detection, soft and rigid body dynamics.[3] The engine is built jointly by the Away3D team and the JiglibFlash team, and is tightly integrated with the Away3D render pipeline.[3]

AwayJS

AwayJS is an open-source JavaScript 3D graphics rendering engine for HTML5 web browsers, and is a port of the Adobe Flash-based Away3D.[15][16] The Away3D codebase was ported to Microsoft TypeScript, a strongly-typed version of JavaScript that compiles to JavaScript files for compatibility with modern web standards.[17][18] AwayJS runs on current web browsers and uses WebGL for GPU-accelerated rendering.[15]

The engine can render 3D models and perform various other 3D computations. It supports hierarchical object transformation with features such as position, rotation and scaling, rendering of bitmap textures, and real-time lighting using Phong shading or Gouraud shading.[15] It also supports shadow mapping, particle animation and skeletal animation.[15]

AwayJS can render 2D and 3D graphical content using WebGL for GPU-accelerated rendering.[19] It enables developers to use the existing Away Builder toolkit for editing, refining, compressing and texture baking 3D models and animations.[20] AwayJS also supports the compressed AWD binary format, enabling smaller sizes for 3D models than ASCII-based formats such as OBJ.[21]

The AwayJS API is consistent with the Flash version of Away3D, enabling existing developers to migrate from Flash to HTML5 seamlessly.[15] To preserve backward-compatibility with Away3D, AwayJS enables developers to write GPU shaders in the Adobe Graphics Assembly Language (AGAL), or the standard OpenGL Shading Language (GLSL).[15]

History

Away3D was started in 2007 by Alexander Zadorozhny and Rob Bateman[22] as a fork of Papervision3D.[23]

Away3D saw active community involvement since its introduction in 2007, and superseded Papervision3D after it was updated to support GPU-accelerated rendering using Stage3D. Three guide books have been published on 3D content development with Away3D.[24][25][26]

The author states that the engine began as a spare-time project, and was created for fun. After large ad agencies and game publishers started it, they had to "evolve to keep pace". In an interview he further states: Шаблон:Cquote

In 2009, the Away3D community released Away3D Lite, a lighter version of the engine for Flash advertisements and other size-constrained content.[27][28] Away3D Lite was the fastest and smallest full-featured 3D engine built for Flash. It weighed in at 25 KB and performed 4 times faster than the full Away3D engine.[28] No future versions were released.[27]

In 2011, a Flash book noted in the section on "3D with Flash" that "Away3D and Alternativa3D are currently the preferred solution for performance and features because they have a more active development community".[23]

In 2013, Adobe chose Away3D as the sole 3D engine included within the Adobe Gaming SDK.[29][30] Since then, Adobe has funded further development in Away3D and Away Builder,[31] and has updated the Adobe Gaming SDK with new releases of Away3D.[32]

In 2016, Away3D 1.2 was ported to the Haxe multiplatform language, enabling it to be cross-compiled to JavaScript and other languages that support 3D graphics.[33] This also enables Away3D to run on OpenFL, a software framework with an API that is very similar to Adobe Flash Player API.[34]

References

Шаблон:Reflist

Further reading

External links

Шаблон:Adobe Flash Шаблон:Video game engines

  1. 1,0 1,1 1,2 1,3 Away Builder, Away Tools
  2. Away Builder, GitHub repository
  3. 3,0 3,1 3,2 Away Physics, Away Foundation
  4. AWD Format Website
  5. AWD Format, Away Tools
  6. 6,0 6,1 Шаблон:Cite web
  7. 7,0 7,1 7,2 Шаблон:Cite web
  8. Away3D & Adobe Шаблон:Webarchive, 17 Jul 2012, by Rob Bateman, Away3D
  9. JetBrains partnership and interview Шаблон:Webarchive, 28 Oct 2013, by Rob Bateman, Away3D
  10. Away Extensions, By The Away Foundation, Adobe Add-on Marketplace
  11. Away3D, FlashMagazine
  12. 12,0 12,1 12,2 12,3 Away3D Features, Away3D.com
  13. Stage3D vs WebGL Performance, Airtight Interactive
  14. Away3D 4.0 Alpha release - Broomstick Шаблон:Webarchive, Away3D.com
  15. 15,0 15,1 15,2 15,3 15,4 15,5 Шаблон:Cite web
  16. AwayJS, GitHub
  17. Away3D makes its way to Typescript!, Adobe AIR and Adobe Flash Player Team Blog
  18. Away3D Typescript 4.1 Alpha, Away3D Blog
  19. Шаблон:Cite web
  20. Introducing AwayJS, Lanyrd, Rob Bateman, 20 May 2014
  21. Tutorial: Away3D TypeScript: Resource Complete Шаблон:Webarchive, 7 July 2014, Grok Digital Designs
  22. Ошибка цитирования Неверный тег <ref>; для сносок started2007 не указан текст
  23. 23,0 23,1 Ошибка цитирования Неверный тег <ref>; для сносок Lengyel2011 не указан текст
  24. Away3d 3.6 Cookbook, Amazon.com
  25. Away3D 3.6 Essentials (Community Experience Distilled), Amazon.com
  26. The Essential Guide to 3D in Flash, Amazon.com
  27. 27,0 27,1 Away3D Lite Version 1.0, Away3D.com
  28. 28,0 28,1 Away3D Lite v1.0: fastest and smallest 3d engine in Flash Шаблон:Webarchive, Rob Bateman, 11 Sep 2009, Away3D.com
  29. Introducing Game Development Tools Шаблон:Webarchive, ByteArray.org
  30. Gaming SDK, Adobe Systems
  31. 2013: Full Speed Ahead for Adobe Gaming!, Adobe AIR and Adobe Flash Player Team Blog, Adobe
  32. Adobe Gaming SDK Updated, Adobe AIR and Adobe Flash Player Team Blog, Adobe
  33. Away Foundation roadmap 2014, Away3D Foundation
  34. away3d 1.2.0, Ported to OpenFL 2.x/Haxe, Haxelib