Sign in to follow this  
Anddos

books that show how to parse model formats

Recommended Posts

Anddos    588
Is there any programming books purely on how to parse model formats for c++ and get the model rendering on screen etc...

Share this post


Link to post
Share on other sites
Endar    668
[quote name='Anddos' timestamp='1306143936' post='4814523']
Is there any programming books purely on how to parse model formats for c++ and get the model rendering on screen etc...
[/quote]

What model formats were you looking for? There are plenty of parsers or parser tutorials out there for the more common model formats.

Share this post


Link to post
Share on other sites
Anddos    588
well i was looking for one that can handle animation data, i know that .x can but i wanted to look at some code that does it with c++

Share this post


Link to post
Share on other sites
FelixK15    335
That depends on some facts.
-Which format has the file you want to parse? (e.g. XML)
-What kind of data do you want to retrieve from that file?
-etc.

Maybe there is a manual or something where you can lookup the structure of the file format?

(You wan't to parse a specific file format,don't you?)

Share this post


Link to post
Share on other sites
kauna    2922
How about using FBX? The format is supported by many Autodesk programs.

Autodesk provides an extensive SDK including model viewer example in C++.

Cheers!

Share this post


Link to post
Share on other sites
Anddos    588
[quote]
Autodesk provides an extensive SDK including model viewer example in C++
[/quote]

thanks i will look in to it

Share this post


Link to post
Share on other sites
V-man    813
There are plenty of obj and 3ds loaders out there. Specifications can be found at wotsit.org.
There is collada (xml based).
After you are done with those formats, create your own.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this