« Return to Thread: [GW rev #510] Added a 3DS parser

[GW rev #510] Added a 3DS parser

by Tim Knip-2 :: Rate this Message:

Reply to Author | View in Thread

Hi all,

Added a simple 3DS parser to the Great White trunk.
=> org.papervision3d.objects.parsers.Max3DS

The parser is based on Away3D's implementation (thanks to the Away3D guys!)

There probably are some issues remaining.

Let me know if you find bugs, please!

Greets,
Tim K

USAGE:
==================================
// where to find textures
var textureDir:String = "./images/";  // use a trailing slash!

// optional materialsList
var materials:MaterialsList = new MaterialsList();

// the 3DS file
var fileName:String = "<path-to-3ds-file>";

// load it!
_3ds.load(fileName, materials, textureDir);

// add to scene
scene.addChild(_3ds);
==================================

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

 « Return to Thread: [GW rev #510] Added a 3DS parser