[GW rev #510] Added a 3DS parser

2 messages Options
Embed this post
Permalink
Tim Knip-2

[GW rev #510] Added a 3DS parser

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Bart Wttewaall-4

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

Reply Threaded More More options
Print post
Permalink
Just when I got used to exporting directly to dae :)

2008/4/6, Tim Knip <[hidden email]>:
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
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



--
Mediamonkey
Freelance Flash Developer
e: [hidden email]
t: 06-10550859
_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org