Flash 3D engine with "obj" file support


This 3D engine can load models in a standard "obj" file, and display it in real 3D.
Many 3D tools can export "obj" file format. I'm using SketchUp pro.
My 3D car simulation application was based on this engine.

Originally it was an open source 3D engine writen in AS1.0, I found it years ago, then I rewrote it in 2.0, and added some new feature to it. Different from other 3D engines use pixels graphics to draw polygons, This 3D engine use vector graphics to display polygons. This method is suitable for flash player 7, since it doesn't have bitmap abillity. And it's more good looking, because vector graphics are naturally anti-aliased by the player.
For flash player 8 or later, a pixel engine is a better choice.

The hidden surface removal is buggy, because most hidden surface removal method are not designed for vector graphics. So I took a shortcut. Although it's a buggy method, but you still can get perfect result if you spend some time refine your model. Load the model house.obj, you can see the engine is working very well on this model.

Choose peremeters to create a shape or select obj file to load.
Drag on the model to rotate it.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
16 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.