Away3D: Loading Metasequoia model

So what have I done on the last 3 weeks at home? Cooking, sketching, and of course, finishing my game prototype. It’s done but I need to adjust a lot of things to make it more fun. Another new thing is I learn Away3D.

After doing all tutorials (compiling, putting models on screen, rotating them, …), I really like Away3D. Flash 3D is not as I thought :-) Maybe that because I’m already familiar with 3D programming.

Since I’ve done a lot of 3D modelings using Metaseq, I want Away3D to load Metaseq files (MQO). Away3D Lite supports MQO but not the Away3D. So I tried to use Blender to convert the model to obj or Colada, but somehow didn’t work. Almost everything I export from Blender didn’t work (as usual) :|

Then I found a very nice code at sleepydesign (thanks katopz ;-) ) but the code cannot compile on the new Away3D (version 2.4.0/3.4.0 Flash Player 10). It seems that there are some classes that already gone. So I modify the code a little bit and …. tada! 8-)

Load MQO model using Away3D

It’s Hiro from my demo game Tokusatsu Agent. Click the image to play the Flash file. Make sure you have Flash Player 10 installed ;-)

The code is still not finish. It only able to load embedded model, not from external file/url.  The model above uses 3 texture files and I am still working on the MaterialLibrary part so later I can change the materials after loading the model. Once finish, I will put it on the net ;-)

  1. No comments yet.

  1. November 21st, 2009