Author: baiyun.com | Source: baiyun.com | 15:38:26 | read 61 times
Flash
Introduction to 3D Engines
There are no fewer than 10 flash3d engines, which are really difficult to use. I personally used pv3d for a while and I feel that the creation time of pv3d is, the user scale and so on are relatively more mature, so I personally recommend pv3d.
Conclusion: I am currently using papervision. If away3d can fix the problem and improve execution efficiency, I will replace a3d. If greatwhite (pv3d2) keeps making errors and away3d cannot solve the problem, I will consider Alternativa.
Flash 3D Basics
HTTP://Flash3d.esojourn.org/cn/flash-3d-basics
This tutorial is intended for beginners of computer 3D graphics. The tutorial will introduce common terms and explain how to implement 3D in flash. If you do not know what a mesh is, a texture or a shader, see what a shader is? -The article is not completed). This article will explain some basic knowledge before you prepare to use the papervision3d, away3d, and Sandy engines to create 3D flash. This tutorial only covers basic computer 3D knowledge, so no programming basics are required.
This tutorial is written for beginners, but you can also find other information in the tutorial. All examples are implemented using away3d. You can also download the sample source code at will. Directly researching code is the best way to learn flash 3D. Here (the article is not completed) describes how to use the code. Finally, we will remind you that each example will run only when you point to it. If all the Flash files run together, your browser will be suspended immediately. The following will also explain why.
Now, go to the topic. 3D is simple. Like what you see with your eyes every day, it is something you get used. Therefore, your brain is very familiar with the 3D world. 3D in computers is very similar to 3D in reality. The difference is that in a computer, everything you see is designed by some people and only displayed on a flat display. (Note: The real world is not changed out of thin air)
Common flash 3D Engines
Alternativa 3D engine; away3d engine; coppercube engine; flare 3D engine; Sandy 3D engine;
Papervision3d engine; newx3d engine; sharikura 3D engine; alchemy3d engine.
Flash 3D engine learning materials
There are currently several well-known flash3d fans in China who can find information:
Official flash3d website-with the latest and most comprehensive flash3d engine learning materials, it is a home for flash3d enthusiasts to study and learn.
Flash3d Research Institute-representing the top technical team of flash3d in China. The QQ group covers most of the flash3d industry experts.
Tiandihui 3D application area-tiandihui relies on its massive flash staff. This 3D area has many flash3d enthusiasts.
Official flash 3D engine: stage3d
Papervision3d
It is regarded as the oldest and most popular 3D engine, which is available in the as2 era. The performance is very good (DEMO) and supports 3D models in the ASE and Dae formats. The pasters In the Dae format are very good. Many materials are supported, and almost all of the methods we can think of are supported. But relatively speaking, there are not many models, and camera is not very useful, and there is no default controller. In addition, I found that he has not updated quickly recently, and many functions have not been added one after another, which is a pity. Pv3d is a good choice if you want to implement a project that requires high performance, no need for dynamic lighting, collision detection, etc. License: MIT
MIT license.
Papervision 3D. I like this engine very much. Similar to away 3D. However, I found that pv3d has better performance and no problems with triangle loss. If pv3d can produce a stable version as soon as possible. A lot of things are still being modified. Outdated documents may also cause some problems.
Alternativa 3D
A commercial 3D engine that supports 3DS format models and collision detection. There is a controller similar to counter-strike, which is very convenient to operate the lens. However, if you want to dynamically set the location of an individual model, it will be miserable and the performance will be very poor. Because it is not an open-source project, you have to consider it as a commercial application. License: alternativa3d license.
Alternativa is a perfect engine. I have not studied this engine in depth due to copyright agreement issues. If they add free agreement terms for individual developers in the commercial development copyright agreement, I will certainly consider this engine. Copyright fees are a big problem.
Before molehill came out, tanki online developed with this engine was amazing. The 3D racing car at the Adobe Max conference last year impressed everyone, and this game came from the alternativa3d engine.
Engine Features:
• Supports loading most popular 3D files, such as Collada and obj.
• Has the 3DS MAX 2010 output plug-in
• Allows you to conveniently manage 3D objects in a way similar to displayobject.
• Efficient 3D Deep sorting
• Lighting system, mouse interaction, multi-camera system, etc.
Official website: http://Www.alternativaplatform.com/
Authorization method: free but not open-source, the latest free version supporting molehill will be released in April this year.
Development Environment: Flex (flash) builder, flashdevelop and other ActionScript development environments.
Demo case:
Http://www.alternativaplatform.com/en/demos/maxracer/
• Http://Www.alternativaplatform.com/en/demos/metro2033online/
• Http://Tankionline.com/
• Http://War.q1.ru/art/screenshots/
More games using this engine: http://Www.alternativaplatform.com/en/showcase/
Away3d
This is a powerful 3D engine that supports multiple (ASE, Dae, kmz, 3DS, md2, OBJ) model formats, 3D animation, dynamic lighting, etc, however, the performance does not seem very good. A cube of 1024*1024 runs well. I don't know if I didn't set it. License: Apache license2.
Away3d is a good 3D engine with good community support and clear and constantly improved structure documents. With away3d, you can choose one of your favorite development tools to start 3D flash development.
I like away3d because its API is the clearest and its documentation and examples are the best. However, the disappearance of the triangle type is a headache.
It is worth mentioning that away3d has a tool for visual editing scenarios and models-prefab3d (http://Www. closier. NL/prefab/), which is a powerful tool developed by Adobe AIR. Developers and designers can easily texture 3D scenes, edit lighting and set animations, and output the document used by away3d.
On the day Adobe molehill announced, they also released the latest version of 4.0 Alpha supporting molehill.
Engine Features:
• Supports loading most popular 3D files, such as Collada and obj.
• A free prefab3d tool for visual editing scenarios and models
• Comprehensive resource loading, event processing, lighting, camera, skeleton animation, and sound effect Processing
Official website: http://Www.away3d.com/
Authorization method: open-source and free
Development Environment: Flex (flash) builder, flashdevelop and other ActionScript development environments.
Demo case:
Http://infiniteturtles.co.uk/projects/away3d/broomstick/ShallowWaterDemo.html
• Http://Www. Ringo. nl/projects/away3d/broomstick/loaderobjtest.html
• Http://Not-so-stupid.com/clients/not-so-stupid/away4/duck/
• Http://Infiniteturtles. co. uk/projects/away3d/broomstick/loadermd5test.html
More games using this engine: http://Away3d.com/projects-using-away3d
Sandy 3D
It looks like pv3d. In fact, I think it is better than pv3d, with a clearer structure and good performance. However, I think he is not mature enough, so he needs to be cautious when selecting. License: Mozilla Public License 1.1.
I have downloaded it but do not like its documents and examples. Then there will be no more time to spend on this.
Sharikura 3D
I believe everyone has read pictaps, which is quite good. The ECO zoo demonstrated at the max conference is even more amazing. Even a very smooth 3D animation, I doubt whether it was made by flash. However, we can only look at these beautiful demos.
Zero3d
Zero3d is a fully open-source flash 3D engine independently developed by Chinese people and based on Flash Player 10. its official website is www.zero3d.cn open-source address: zero3d.googlecode.com.
The latest version is v1.3. the current function supports almost all mainstream flash 3D content. it also features physical, particle, rigid body, and genie systems. all Chinese documents. all Chinese code comments. it provides convenient and complete technical support from use to development. the most important thing is that it is a Chinese engine.
Flare3d
Flare3d is an engine used to create flash 3D games. Its most distinctive feature is its complete flash 3D Game Development workflow.
Engine Features:
• Supports importing the 3DS MAX Model
• Visualized scene and model editing and textures
• Lighting system, skeleton, and camera system
• Intuitive Development Process
Official website: http://Www.flare3d.com/
Authorization method: Commercial authorization, 30-day trial version.
Development Environment: Flex (flash) builder, flashdevelop and other ActionScript development environments.
Demo case:
Http://www.flare3d.com/games/AlmaxRace/
• Http://Www.beyond-reality-face.com/demo
• Http://Www.flare3d.com/demos/animations/
More games using this engine: http://Www.flare3d.com/showcase
Comparison and Analysis
Papervision 3D is a little more efficient.
The SwF generated using away3d is at least kb, but the same effect can be reduced to 20 KB with pv3d. However, the CPU usage is similar.
Papervision has the most users in 3D. You can ask more people and learn more materials.
Should Alternativa 3D be more efficient? But not open source.
Conclusion: The away3d instance is used first, and then papervision 3D is studied.