User Tools

Site Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
modeleditor:modelfiles [2011-06-11 12:30]
Carsten Augmented the text
modeleditor:modelfiles [2015-06-11 23:01] (current)
Line 1: Line 1:
-====== Model Files ======+====== Model Files Explained ​======
  
 Each model comprises several files on disk, such as the model file, material definition files, and texture images. Each model comprises several files on disk, such as the model file, material definition files, and texture images.
Line 66: Line 66:
  
 The two ''​cmat''​ files are linked as follows: The two ''​cmat''​ files are linked as follows:
-When the Cafu model code loads the materials of a model, it opens the main ''​cmat''​ file with the same base name as the model. This file contains a statement like+When the Cafu model code loads the materials of a model, it opens the main ''​cmat''​ file (''​Trinity.cmat''​). This file contains a statement like
 <code lua> <code lua>
 dofile("​Trinity_editor.cmat"​);​ dofile("​Trinity_editor.cmat"​);​
Line 80: Line 80:
  
 The texture images are referenced from the material definition scripts. The texture images are referenced from the material definition scripts.
-See the documentation about [[http://www.cafu.de/wiki/#​the_cafu_material_system|the Cafu Material System]] for more details.+See the documentation about [[http://docs.cafu.de/#​the_cafu_material_system|the Cafu Material System]] for more details.
  
 Example: Example:
modeleditor/modelfiles.1307788246.txt.gz ยท Last modified: 2013-01-07 12:07 (external edit)