Difference between revisions of "3D Models"

From The Official Visionaire Studio: Adventure Game Engine Wiki
m (EK moved page 3D models to 3D Models)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
==general==
 
Visionaire 4.0 supports 3D-Models with animations for character animations. Only a single animation is needed for each animation type (walking/standing/talking) since the fitting direction is calculated from the 3D-Model.
 
Visionaire 4.0 supports 3D-Models with animations for character animations. Only a single animation is needed for each animation type (walking/standing/talking) since the fitting direction is calculated from the 3D-Model.
  
Line 7: Line 8:
 
Due to the complexity of the file format (especially with animation) it's not always easy to get animations running in Visionaire. For example we could not export a working animation with Cinema 4D (maybe that's different now with a newer version like R14/R15). A recommended and successfully tested workflow is to model the character in Cinema 4D, export the model and then animate it in Blender. Other working models were created and animated with Maya and finally exported as *.x file.
 
Due to the complexity of the file format (especially with animation) it's not always easy to get animations running in Visionaire. For example we could not export a working animation with Cinema 4D (maybe that's different now with a newer version like R14/R15). A recommended and successfully tested workflow is to model the character in Cinema 4D, export the model and then animate it in Blender. Other working models were created and animated with Maya and finally exported as *.x file.
  
Visionaire 4.0 unterstützt 3D-Modelle mit Animationen für Personenanimationen. Für eine Animationsart (Geh-, Stand-, Rede-Animation) wird nur mehr eine einzige Animation benötigt, die passende Richtung wird aus dem 3d-Model berechnet.
+
==workflow==
 +
===AkcayKaraazmak' Method===
  
Visionaire verwendet zum Laden der 3D-Models die Assimp Library. Mit dem Assimp Viewer ( http://sourceforge.net/projects/assimp/files/assimp-3.0/assimp-view-3.0-setup.exe/download ) kann man selbst überprüfen, ob die eigene 3D-Model-Datei problemlos funktioniert. Alle Dateien die mit dem Assimp Viewer geladen werden können, sollten auch in Visionaire funktionieren.
+
Here are the steps used by Akçay Karaazmak from the creation process of the 3D model to the settings he used for exporting the 3D model.
  
Assimp unterstützt nur Bone-Animationen, keine Keyframe-Animationen von Formaten wie *.md2, *.md3 und *.3ds.
+
====Workflow====
 +
* I 3D modeled the character with T-pose in 3ds max. (Legs, torso, hands, head, shoes modeled seperatly). ''IMPORTANT: try not to work very hi-res.''
 +
* Exported the model to ZBrush for sculpting then export as obj.
 +
* Unwraped the exported model for texturing and did the texturing in Mari. (Textures are 1024x1024, higher resolutions have issues in Visionaire). Till now its more or less a standard character development procedure.
 +
* Then I Imported the model into 3ds max again. In 3ds max, I've merged all the parts (Legs, head, torso etc..) into 1 mesh.
 +
* Then I used biped for rigging the character.
 +
* After rigging, I skinned the model and animate it. Now model is ready for exporting, which is the other important part!
  
Aufgrund der Komplexität der Dateiformate (im besonderen mit Animationen) ist es nicht immer einfach eine lauffähige Animation in Visionaire zu importieren. Beispielsweise konnten wir keine Animation aus Cinema 4D so exportieren, dass sie von Assimp (und somit auch von Visionaire) korrekt geladen werden konnte (möglicherweise hat sich die Situation mit einer neueren Version wie R14/15 aber bereits geändert). Ein empfohlener und von uns getester Workflow ist, zuerst in Cinema 4D zu modellieren, das 3D-Model zu exportieren und in Blender zu animieren. Andere funktionsfähige Modelle wurden mit Maya erstellt und animiert und anschließend als *.x Datei exportiert.
 
  
{{i18n|3D_models}
+
====Exporting====
 +
I used Alin Direct-X exporter (free-version). Download link: http://www.cgdev.net/download.php
 +
 
 +
Export settings:
 +
* In GENERAL TAB just select (scene root, material, bone, mesh, skin, animation). Leave all others unchecked!
 +
* In VERTEXT ELEMENTS TAB just select (Textcoords). Leave all others unchecked!
 +
* In TEXTURES TAB just select (Textures and overwrite). Leave all others unchecked!
 +
* In MULTIPLE UV SETS TAB. Leave all others unchecked!
 +
* In ANIMATIONS TAB. Write down your animations. Uncheck keyframes
 +
* In TIME LINE TAB. Uncheck 3ds max and select custom with the parameter 1.
 +
* In STANDARD material TAB. Uncheck all
 +
* In DIRECT X SHADER TAB. Uncheck all
 +
* In COORDINATE SYSTEM TAB. Uncheck all (If model looks weird then try to check Right-handed)
 +
* X-File format should be text.
 +
 
 +
 
 +
In Visionaire Studio: you should adjust the settings for the camera height and angle to match the character angle with your scene.{{toc}}

Latest revision as of 10:15, 16 January 2023

general

Visionaire 4.0 supports 3D-Models with animations for character animations. Only a single animation is needed for each animation type (walking/standing/talking) since the fitting direction is calculated from the 3D-Model.

Visionaire uses the Assimp Library for loading 3D-Models. With Assimp Viewer ( http://sourceforge.net/projects/assimp/files/assimp-3.0/assimp-view-3.0-setup.exe/download ) you can verify yourself if the 3D-Model file can be loaded without any errors. All files which can be loaded in Assimp Viewer should also work in Visionaire.

Assimp only supports bone animations and no keyframe animation of formats like *.md2, *.md3 und *.3ds.

Due to the complexity of the file format (especially with animation) it's not always easy to get animations running in Visionaire. For example we could not export a working animation with Cinema 4D (maybe that's different now with a newer version like R14/R15). A recommended and successfully tested workflow is to model the character in Cinema 4D, export the model and then animate it in Blender. Other working models were created and animated with Maya and finally exported as *.x file.

workflow

AkcayKaraazmak' Method

Here are the steps used by Akçay Karaazmak from the creation process of the 3D model to the settings he used for exporting the 3D model.

Workflow

  • I 3D modeled the character with T-pose in 3ds max. (Legs, torso, hands, head, shoes modeled seperatly). IMPORTANT: try not to work very hi-res.
  • Exported the model to ZBrush for sculpting then export as obj.
  • Unwraped the exported model for texturing and did the texturing in Mari. (Textures are 1024x1024, higher resolutions have issues in Visionaire). Till now its more or less a standard character development procedure.
  • Then I Imported the model into 3ds max again. In 3ds max, I've merged all the parts (Legs, head, torso etc..) into 1 mesh.
  • Then I used biped for rigging the character.
  • After rigging, I skinned the model and animate it. Now model is ready for exporting, which is the other important part!


Exporting

I used Alin Direct-X exporter (free-version). Download link: http://www.cgdev.net/download.php

Export settings:

  • In GENERAL TAB just select (scene root, material, bone, mesh, skin, animation). Leave all others unchecked!
  • In VERTEXT ELEMENTS TAB just select (Textcoords). Leave all others unchecked!
  • In TEXTURES TAB just select (Textures and overwrite). Leave all others unchecked!
  • In MULTIPLE UV SETS TAB. Leave all others unchecked!
  • In ANIMATIONS TAB. Write down your animations. Uncheck keyframes
  • In TIME LINE TAB. Uncheck 3ds max and select custom with the parameter 1.
  • In STANDARD material TAB. Uncheck all
  • In DIRECT X SHADER TAB. Uncheck all
  • In COORDINATE SYSTEM TAB. Uncheck all (If model looks weird then try to check Right-handed)
  • X-File format should be text.


In Visionaire Studio: you should adjust the settings for the camera height and angle to match the character angle with your scene.