User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
modelling:usingasemodels [2009-05-17 15:25]
Carsten created
modelling:usingasemodels [2012-04-04 11:07]
Carsten deleted page: contents (hand-writing initial model materials) has been obsoleted by the Model Editor
Line 2: Line 2:
  
 Most 3D modelling programs can export models to the ASE file format. Most 3D modelling programs can export models to the ASE file format.
-As all Ca3D-Engine ​programs directly support the ASE file format, using ASE models is straightforward.+As all Cafu programs directly support the ASE file format, using ASE models is straightforward.
  
-This section explains the one-time adjustments required so that an ASE model works properly with the Ca3D-Engine.+This section explains the one-time adjustments required so that an ASE model works properly with the Cafu engine.
  
  
Line 43: Line 43:
   * you must be able to remember it or write it down for the next step,   * you must be able to remember it or write it down for the next step,
   * it must not have whitespace (space or tab) characters,   * it must not have whitespace (space or tab) characters,
-  * it should be unique for all models known to the Ca3D-Engine.+  * it should be unique for all models known to the Cafu engine.
  
 If there is more than one ''​*MATERIAL''​ in your ''​*MATERIAL_LIST'',​ you can initially use the same ''​*MATERIAL_NAME''​ string everywhere. If there is more than one ''​*MATERIAL''​ in your ''​*MATERIAL_LIST'',​ you can initially use the same ''​*MATERIAL_NAME''​ string everywhere.
-When you later find out that you want to use different ​Ca3DE materials for different parts of the model, come back here and assign individual+When you later find out that you want to use different ​Cafu materials for different parts of the model, come back here and assign individual
 material names as required. material names as required.
  
Line 74: Line 74:
  
  
-===== Creating ​Ca3DE materials =====+===== Creating ​Cafu materials =====
  
 We now add definitions for each material that we referenced above. We now add definitions for each material that we referenced above.
Line 103: Line 103:
 Note that in the example, the normal and specular map lines are commented out. Note that in the example, the normal and specular map lines are commented out.
 For your own use, remove the comment marker ''​%%//​%%''​ as required. For your own use, remove the comment marker ''​%%//​%%''​ as required.
-You can learn more about Ca3DE material definitions at [[:start#the_ca3de_material_system|The Ca3DE Material System]].+You can learn more about Cafu material definitions at [[:start#the_cafu_material_system|The Cafu Material System]].
  
 If the ''​*MATERIAL_NAME''​ keyword occurred multiple times in the ASE file and you specified different names for them, you should repeat this step for every distinct material name. If the ''​*MATERIAL_NAME''​ keyword occurred multiple times in the ASE file and you specified different names for them, you should repeat this step for every distinct material name.
Line 110: Line 110:
 ===== Checking and using the model ===== ===== Checking and using the model =====
  
-{{ :​modelling:​usingase-2.png|Checking the ASE model in the ModelViewer}} You can check the result in the Ca3DE ModelViewer by running it from the command line with the model name as a parameter:​ +{{ :​modelling:​usingase-2.png|Checking the ASE model in the ModelViewer}} You can check the result in the Cafu ModelViewer by running it from the command line with the model name as a parameter:​ 
-<​code>​C:​\Ca3DE-9.05> ModelViewer.exe Games\DeathMatch\Models\Static\wbridge-1.ase</​code>​+<​code>​C:​\Cafu-9.06> ModelViewer.exe Games\DeathMatch\Models\Static\wbridge-1.ase</​code>​
 (Use auto-completion also with [[http://​support.microsoft.com/​kb/​310530|Microsoft Windows]] for easily typing the path name.) (Use auto-completion also with [[http://​support.microsoft.com/​kb/​310530|Microsoft Windows]] for easily typing the path name.)
  
 When you're satisfied with the result: When you're satisfied with the result:
   * use the [[:​mapping:​cawe:​editingtools:​newentity|New Entity]] tool for placing your ASE model in CaWE,   * use the [[:​mapping:​cawe:​editingtools:​newentity|New Entity]] tool for placing your ASE model in CaWE,
-  * watch the related "​[[http://​www.ca3d-engine.de/​flash/​Placing_a_Model.htm|Placing a Model]]"​ tutorial -- recommended! 8-)+  * watch the related "​[[http://​www.cafu.de/​flash/​Placing_a_Model.htm|Placing a Model]]"​ tutorial -- recommended! 8-)
  
 If you want to make adjustments later, both the ASE model as well as the material definitions can be edited as shown above also //after// the model has been placed in a map or world file. The changes will take effect when the program is next restarted. If you want to make adjustments later, both the ASE model as well as the material definitions can be edited as shown above also //after// the model has been placed in a map or world file. The changes will take effect when the program is next restarted.