Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

891108 Posts in 33521 Topics- by 24766 Members - Latest Member: karlari84

June 18, 2013, 10:35:27 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)Reading\Converting standard 3D formats.
Pages: [1]
Print
Author Topic: Reading\Converting standard 3D formats.  (Read 349 times)
PompiPompi
Level 10
*****



View Profile WWW
« on: June 17, 2012, 10:57:54 PM »

I need to be able to read a standard 3D format and convert all other formats into that file format.
I tried to use Collada, but apart from Collada Dom being horrible to compile, it didn't seem to work(don't remember what was the issue).
I also tried fbx, but I was getting a single empty node for reading a file and I had no idea why. There was also no sample file in the SDK that I know should work.
The only thing I was able to make work is reading a half life .smd file. However, there doesn't seem to be any tool to convert standard 3D file formats into smd, unless I buy a $4k software like Maya and use a plugin for that.

Any advice on how to read standard 3D file formats?
Logged


Kickstarter? no no no... it's Kicksucker...
Nix
Level 10
*****



View Profile
« Reply #1 on: June 17, 2012, 11:10:47 PM »

Sounds like you need a lesson in reading documentation
Logged
Schrompf
Level 1
*

Always one mistake ahead...


View Profile WWW
« Reply #2 on: June 18, 2012, 12:12:31 AM »

Collada works fine for me, in case I need skinned meshes, node animations or instancing. Our artists usually use something simple like .3ds or .obj if they just have a simple static model to export. On the reading side I use the Open Asset Import library. It reads all of these formats, and 30 more, and is somewhat easy to set up. But as I'm one of the founders of this library, I'm probably a bit biased.
Logged

Let's Splatter it and then see if it still moves.
PompiPompi
Level 10
*****



View Profile WWW
« Reply #3 on: June 18, 2012, 02:58:38 AM »

Sounds like you need a lesson in reading documentation
Or someone needs a lesson in writting proper(MS like) documentation?
Logged


Kickstarter? no no no... it's Kicksucker...
VortexCortex
Level 2
**


Engram Architect


View Profile WWW Email
« Reply #4 on: June 18, 2012, 09:55:24 AM »

There's really no standard for 3D formats.  There's several common formats, but only defacto industry standards...

Anyhow, if you're not writing your own format to address your own specific needs, then go with a format that meets your requirements.  I'm not really sure what your needs are, so it's hard to suggest one.

Blender supports many formats and is open source.  I'm not advocating its use, but you could look at its code if you need help importing a 3D format that it understands.
« Last Edit: June 20, 2012, 03:04:27 PM by VortexCortex » Logged

rivon
Level 10
*****



View Profile
« Reply #5 on: June 18, 2012, 12:00:26 PM »

You can take a look at how Irrlicht imports all the model files.
Logged
PompiPompi
Level 10
*****



View Profile WWW
« Reply #6 on: June 18, 2012, 01:09:57 PM »

Oh, I used assimport eventually, it's pretty awesome and easy to use.
Logged


Kickstarter? no no no... it's Kicksucker...
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic