Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Tue Mar 19, 2024 3:20 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: collada importer
PostPosted: Tue Jan 08, 2008 2:01 pm 
Offline

Joined: Wed Nov 07, 2007 7:31 pm
Posts: 26
Location: Amsterdam
I just wrote a simple application that can read single meshes from a collada file into a tri file.

This could be cool for the "not artists" like me because i just look into the google 3d warehouse site for assets for my games and convert them into a tri file and... voilĂ  lots of cool stuff in my game world.

You can pick it up from http://www.scratchydreams.com/projects/collada.7z

The app is a simple java (don't hate :)) application without any dependencies except the core JVM.

The code is simple, maybe easy to port to C or C++ but them you need a XML parser library which is standard with the JVM.

Cheers,
Paulo


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 10:58 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Looks interesting. I'll give it a try ASAP.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 20, 2008 10:05 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Image

Works fine :)
A few fixes I had to do:
- missing TRI version in header
- was using "locale" decimal separator (,) instead of dot (.)

paulo, can I add a slightly modified version of this code to Raydium source tree, as a contrib ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 21, 2008 12:20 pm 
Offline

Joined: Wed Nov 07, 2007 7:31 pm
Posts: 26
Location: Amsterdam
Sure you can!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 09, 2008 9:18 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Done (commit 609). Thanks !

This application can be updated to handle materials. If you're searching something to do with Java, help yourself ... ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group