On Thu, May 31, 2007 at 09:39:32AM +0200, QUILLET Jean-Charles wrote:
> I did do that actually.
> I found it hard to find a working animated 3ds file I could use to
> trace the code, dump the chunks, etc... That's why I was asking about
> the current status of this feature.
> It seems easy to read using lib3ds for sure. But what about creating
> my own 3ds animation ? 

If your only source of 3ds files is what you find on the internet, I
would highly recommend to not use 3ds. If you work with some artist, see
what program he uses and write an exporter for it, that exports all the
data you need to a format having all features you need for your program.

If you intend to do the graphics work yourself, then learn to use a
program and again write an exporter for it. That way you can make your
own test files.

Having said that, I worked for many years with 3ds files, mainly
exported from 3dstudio max, and although furstrating at first, I got the
job done with it. Probably I can provide you with some sample 3ds
animations from 3dsmax if you want, just contact me privately. I'm no
3dartist though, so don't expect nice things, but I can do enough to
help you test features.

> What kind of animation can we realise using the
> library ?

Rigid body animation (includes hierarchical animation too).
A 3ds file contains seperate "tracks" of keyframes for
position/rotation/scaling, plus you get "linking" information for
hierarchical animation (parent/child relations between nodes).

It's been a long time since I wrote code that reads animation data from
lib3ds and even longer since I wrote code that reads animation data
directly from a 3ds file without lib3ds, so I can't give you any more
details at this point.

-- 
John Tsiombikas (Nuclear / Mindlapse)
[EMAIL PROTECTED]
http://nuclear.demoscene.gr/

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to