Importing Models
From Computing and Software Wiki
(New page: The model to be imported MUST be a COLLADA (*.dae) file. <br>There are different way to export to collada file depend on the software you use to create the model. In this tutorial, we use ...) |
|||
Line 1: | Line 1: | ||
+ | __TOC__ | ||
+ | |||
The model to be imported MUST be a COLLADA (*.dae) file. | The model to be imported MUST be a COLLADA (*.dae) file. | ||
<br>There are different way to export to collada file depend on the software you use to create the model. In this tutorial, we use [http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=7635018 Audodesk Maya] as an example | <br>There are different way to export to collada file depend on the software you use to create the model. In this tutorial, we use [http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=7635018 Audodesk Maya] as an example | ||
+ | ==Importing Scene Data== | ||
<br>Export the model to COLLADA (*.dae) file. After exported to collada file, put it in the directory "..\C4\Import\dae" | <br>Export the model to COLLADA (*.dae) file. After exported to collada file, put it in the directory "..\C4\Import\dae" | ||
*pic | *pic | ||
Start C4 and select Tool and New World | Start C4 and select Tool and New World | ||
*pic | *pic | ||
- | + | Select Import Sense from World menu and choose the model. Click OK | |
*pic | *pic | ||
- | ................... | + | After selecting a Collada file, the imported geometry (as well as lights and materials) will appear in the World Editor. At this point, you may make any changes that you need to. |
+ | <br>Note that during the import process, the World Editor will keep track of the materials used by the imported geometry. The texture maps are correctly assigned to each geometry, but the images themselves still need to be imported using the [http://www.cas.mcmaster.ca/wiki/index.php/Importing_Textures Importing Textures] | ||
+ | |||
+ | ==Exporting to a Model== | ||
+ | A model (.mdl) resource is created by exporting a model from the World Editor. | ||
+ | <br>After import from scene data, it is exported by choosing Save As Model from the World menu. Select the directory that would be saved into. Click OK. | ||
+ | *pic | ||
+ | |||
+ | Return to [http://www.cas.mcmaster.ca/wiki/index.php/RCaragogo RCaragogo] | ||
+ | <br> | ||
+ | ---- | ||
+ | '''References''' | ||
+ | <br>http://www.terathon.com/wiki/index.php?title=Creating_an_Entity_Model |
Revision as of 14:23, 19 March 2008
Contents |
The model to be imported MUST be a COLLADA (*.dae) file.
There are different way to export to collada file depend on the software you use to create the model. In this tutorial, we use Audodesk Maya as an example
Importing Scene Data
Export the model to COLLADA (*.dae) file. After exported to collada file, put it in the directory "..\C4\Import\dae"
- pic
Start C4 and select Tool and New World
- pic
Select Import Sense from World menu and choose the model. Click OK
- pic
After selecting a Collada file, the imported geometry (as well as lights and materials) will appear in the World Editor. At this point, you may make any changes that you need to.
Note that during the import process, the World Editor will keep track of the materials used by the imported geometry. The texture maps are correctly assigned to each geometry, but the images themselves still need to be imported using the Importing Textures
Exporting to a Model
A model (.mdl) resource is created by exporting a model from the World Editor.
After import from scene data, it is exported by choosing Save As Model from the World menu. Select the directory that would be saved into. Click OK.
- pic
Return to RCaragogo
References
http://www.terathon.com/wiki/index.php?title=Creating_an_Entity_Model