Collada Importer tS7.61

free scripts, plugins, models, textures
Post Reply
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Collada Importer tS7.61

Post by clintonman »

I wrote a Collada import plugin/script for truespace 7.61 full and standalone versions. It reads mesh and animation information. It does not read skeleton or materials information. You can find it here:

http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;

You should also know that it does not store information in standard truespace form. All transformations form a chain of nodes to the final item. The image shows the nodes associated with a camera imported from Lightwave.
colladaChain.jpg
This system is used to represent hierarchies, maintain the rotation orders and to allow for those cases where collada assigns more than 3 rotations(xyz) or more than one translation to an object.
Clinton Reese

http://clintons3d.com
User avatar
RAYMAN
Captain
Posts: 2506
Joined: 21 May 2009, 18:56

Re: Collada Importer tS7.61

Post by RAYMAN »

Now thats great ! Thank you I will give it a try !
Peter
v3rd3
Lieutenant Commander
Posts: 1178
Joined: 21 May 2009, 20:04

Re: Collada Importer tS7.61

Post by v3rd3 »

Wow.... downloading...

Thank you Santa Clinton....
User avatar
Tiles
Master Chief Petty Officer
Posts: 401
Joined: 27 May 2009, 08:34

Re: Collada Importer tS7.61

Post by Tiles »

Santa Clinton, haha. Err, thank you Santa Clinton :D
Free Gamegraphics, Freeware Games http://reinerstilesets.de
User avatar
Prodigy
Site Admin
Posts: 957
Joined: 21 May 2009, 14:46
Type the number ten into the box: 0
Location: Uruguay

Re: Collada Importer tS7.61

Post by Prodigy »

HOHOHO!!! :bananaclaus:
๑۩۞۩๑ prodigy ๑۩۞۩๑
Peter
Senior Chief Petty Officer
Posts: 170
Joined: 18 Apr 2010, 15:18
Type the number ten into the box: 0
Location: Texas

Re: Collada Importer tS7.61

Post by Peter »

Hey, clintonman.

Thanks for making this. I tested it with a model exported from MeshLab and it opened OK. Can it import vertex colors as well?
If not, could you add this feature?

-Peter
a day without orange juice is like... a day without orange juice
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Collada Importer tS7.61

Post by clintonman »

Peter wrote:Hey, clintonman.

Thanks for making this. I tested it with a model exported from MeshLab and it opened OK. Can it import vertex colors as well?
If not, could you add this feature?

-Peter
I don't believe that is possible. The Importer is a workspace plugin and only modelspace has support for vertex colors. I assume you're talking about color in a vertex that bleads into the polygons of the mesh. If it's only the vertex getting the color it might be possible. If you send a sample I can take a look.
Clinton Reese

http://clintons3d.com
Peter
Senior Chief Petty Officer
Posts: 170
Joined: 18 Apr 2010, 15:18
Type the number ten into the box: 0
Location: Texas

Re: Collada Importer tS7.61

Post by Peter »

I'm now having some trouble creating a good sample,

Forget it for now. Thanks anyway.
a day without orange juice is like... a day without orange juice
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Collada Importer tS7.61

Post by clintonman »

yaf_test.jpg
Image is an import of the Yafaray Blender glass scene. The materials and lights are not Yafaray but should be easy to replace and the cube is an imported null that represents the scene node of the collada file.

Update:

My primary goal was to get at least some material transfer from Blender to trueSpace as a basis for testing/learning Yafaray render with scenes created for Blender. I plan to add an option to import as yafaray materials and lights later after I learn more about it. The secondary goal was to improve the buggy little program using techniques used in the fbx importer.

more stable - no need to restart after an import
reads <polygon> tags
material limit increased from 1 to 16 per mesh
uv limit raised from 1 to the truespace maximum of 2
will read a fake skeleton - not a true skeleton but a proof of concept for testing
button highlighting is fixed
new user interface with import scale and filters for lights, cameras, skeletons, meshes and animations
button to empty the scene
reads skeletal meshes(but not the skeletons) - the previous version completely ignored these meshes
works with Blender2.49 in that some material information will transfer

get it here

http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;
Clinton Reese

http://clintons3d.com
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: Collada Importer tS7.61

Post by froo »

Very cool clinton!
Post Reply