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

Re: [GW rev #510] Added a 3DS parser

by Bart Wttewaall-4 :: Rate this Message:

Reply to Author | View in Thread

Just when I got used to exporting directly to dae :)

2008/4/6, Tim Knip <tim.knip@...>:
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



--
Mediamonkey
Freelance Flash Developer
e: info@...
t: 06-10550859
_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

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