assimp/doc/ImporterNotes.rtf

21 lines
2.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

{\rtf1\ansi\ansicpg1252\deff0\deflang1031\deflangfe1031\deftab708{\fonttbl{\f0\froman\fprq2\fcharset0 Cambria;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Calibri;}}
{\*\generator Msftedit 5.41.21.2508;}\viewkind4\uc1\pard\sa200\sl276\slmult1\lang1033\b\f0\fs56 Open Asset Import Library\par
\b0\fs44 Notes:\par
\f1\par
\pard\fi-360\li720\sa200\sl276\slmult1\f2 1.\tab DirectX-Loader:\par
\pard\li720\sa200\sl276\slmult1\fs24 DirectX files have no well-defined way to deal with multiple textures for one asset. If an asset has assigned multiple textures they are simply stored as a list of texture files. To determine the type of a texture ASSIMP is using the following algorithm:\par
\pard\fi-360\li1420\sa200\sl276\slmult1 -\tab If the filename of a texture contains \'82\i bump\i0\lquote or \'82\i height\i0\lquote (case-insensitive) it is assumed to b e a height map.\f1\fs44\par
\f2 -\tab\fs24 If the filename of a texture contains \'82\i NM\i0\lquote or \'82\i normal\lquote\i0 (case-insensitive) it is assumed to b e a normal map.\f1\fs44\par
\f2 -\tab\fs24 If the filename of a texture contains \'82\i spec\i0 \lquote or \'82\i glanz\i0\lquote (case-insensitive) it is assumed to b e a specular color texture\f1\fs44\par
\f2 -\tab\fs24 If the filename of a texture contains \'82\i ambi\i0 \lquote or \'82\i umgebungsfarbe\i0\lquote (case-insensitive) it is assumed to b e an ambient color texture\f1\fs44\par
\f2 -\tab\fs24 If the filename of a texture contains \'82\i emissive \i0\lquote or \'82\i self\i0\lquote (case-insensitive) it is assumed to b e an emissive color texture\f1\fs44\par
\pard\li720\sa200\sl276\slmult1\f2\fs24 Before using the loader make sure the X-exporter you\rquote re using is writing multiple textures if existing.\par
\par
\pard\fi-360\li720\sa200\sl276\slmult1\fs44 2.\tab 3DS\f1 -\f2 Loader:\f1\fs24\par
\pard\li720\sa200\sl276\slmult1\f2 Some 3ds files seem to contain invalid transformations/rotations (which is not handled properly by the ASSIMP loader). However, some modelers are able to read and write these files correctly. Any information/hint how to solve this is highly appreciated.\f1\fs44\par
\pard\sa200\sl276\slmult1\fs24\par
\pard\li720\sa200\sl276\slmult1\fs44\par
\pard\li1080\sa200\sl276\slmult1\par
\lang1031\par
}