Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mitomart

Pages: [1]
1
dwsel:

Thanks for the advice.  As it happens, I have looked at other formats (I noticed that the
native .an8 format exports the setting, for one), but I would prefer to improve my .3ds
loader if possible.  For one thing, I have dozens of models in that format, and it simplifies
things for me to have all of my assets in the same format. 

Also, Anim8or loads the correct texture blend mode for the materials from the exported
.3ds file, so it must be writing that information somewhere in order to correctly render
the model that it exported. 

Poring over the various .3ds specs, there are two potential places where this setting
could get written: 
1.  in a chunk specifically designed for it (0xa082)
2.  in the material flags chunk (0xa351). 

However, according to my loader (and hex editor), these chunks do not appear in the exported file. 

In the end, I may have to add support for other formats (or add the ability to override the texture
blending in my effects definition files), but the stubborn part of me wants to make sure that there
is no better way first. 

Thanks again!

2
Hi,

I am exporting models into .3ds format and loading them into my rendering engine.  Most models look great, except that any textures with a blend mode of "decal" do not load correctly (my loader never finds a blend mode designation so uses the default "darken" e.g. modulate).  Looking at the .3ds spec and the generated binary files, I don't see the blend mode designation.  Can anyone tell me into which chunk anim8or exports this information?  Any help with this would be appreciated. 

Thanks!

Pages: [1]