Docs:Creating character's model
From Mod Wiki
(Difference between revisions)
Revision as of 17:04, 5 June 2007 (edit) Smile (Talk | contribs) ← Previous diff |
Revision as of 14:42, 6 June 2007 (edit) (undo) Smile (Talk | contribs) Next diff → |
||
Line 9: | Line 9: | ||
[[image:Docs_maya_character_limitation.jpg|Character's 3D model limitations|center|frame|Character's 3D model limitations]] | [[image:Docs_maya_character_limitation.jpg|Character's 3D model limitations|center|frame|Character's 3D model limitations]] | ||
*There are no limitations for the number of triangles, but it's recommended to limit the number of triangles '''to 5000''' for the solid and stable game functioning. | *There are no limitations for the number of triangles, but it's recommended to limit the number of triangles '''to 5000''' for the solid and stable game functioning. | ||
- | * | + | *Character's 3D model mustn't contain bugs in geometry, texture stretches and long thin triangles (see [[Docs:Creating a scene in Maya#Exporting geometry from Maya|fixing bugs]] for more information). |
*Движок поддерживает <code>отзеркаливание текстуры</code>. | *Движок поддерживает <code>отзеркаливание текстуры</code>. | ||
[[image:Docs_maya_character_mirrortexture.jpg|Отзеркаливание текстуры|center|frame|Отзеркаливание текстуры]] | [[image:Docs_maya_character_mirrortexture.jpg|Отзеркаливание текстуры|center|frame|Отзеркаливание текстуры]] |
Revision as of 14:42, 6 June 2007
Contents |
Creating a model, restrictions
Creating character's 3D model and texture to it is not the subject of stated below.
There is enough information on the principles of creating a character in the Internet, we will get you acquainted with the restrictions and limitations of our engine.
Restrictions
- The character must be in the center of coordinate system (see example from SDK)
- Character's height must be within
1.6 – 2 meters
(as in the real life)
- There are no limitations for the number of triangles, but it's recommended to limit the number of triangles to 5000 for the solid and stable game functioning.
- Character's 3D model mustn't contain bugs in geometry, texture stretches and long thin triangles (see fixing bugs for more information).
- Движок поддерживает
отзеркаливание текстуры
.
- Модель должна быть с UV координатами,
XRay Shader’ом
и группами сглаживания. - Обнулить все
трансформации
модели и удалитьhistory
, перед привязкой её к скелету - Модель должна содержать один или более XRay Shader с параметрами показанными ниже, допустимо использование прозрачности, блеска и самосвечения. Описание возможных шейдеров смотрите в разделе Docs:Создание сцены в Maya
Создание и настройка скелета, скининг, ограничения
- Для использования анимаций из библиотеки игры, необходимо использовать скелет из SDK без изменений
- Joint’ы не должны содержать scale, rotate, transform перед привязкой к 3д модели
- 3д модель должна быть присоединена к скелету с использованием Smooth Bind
- На одну вершину не должно воздействовать более чем 4 joint’а
Анимация
- На анимацию не накладывается никаких ограничений.
- Все анимации можно хранить в одном файле с моделью персонажа.