This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
hpl2:third_party_tools:3d:maya [2014/10/24 07:51] mudbill created |
hpl2:third_party_tools:3d:maya [2014/10/27 08:22] (current) thegreatcthulhu Managed to upload the image - the DW Editor allows to choose something other than the root as the upload location. |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Autodesk Maya ====== | ====== Autodesk Maya ====== | ||
- | [[http://www.autodesk.com/products/maya/overview|Autodesk Maya]] is a professional and comprehensive 3D modeling and animation software. With the use of the OpenCOLLADA plugin, Maya can export a DAE file with the settings required to run in HPL2. | + | [[http://www.autodesk.com/products/maya/overview|Autodesk Maya]] is a professional and comprehensive 3D modeling and animation software. With the use of the OpenCOLLADA plugin, Maya can export a DAE file with the settings required to run in HPL2. They offer a free 3-year [[http://www.autodesk.com/education/free-software/maya|student trial]] for you to play around with. |
===== Setup ===== | ===== Setup ===== | ||
Line 9: | Line 9: | ||
You can download [[https://github.com/KhronosGroup/OpenCOLLADA/wiki/OpenCOLLADA-Tools|OpenCOLLADA here]], and install it following the instructions. | You can download [[https://github.com/KhronosGroup/OpenCOLLADA/wiki/OpenCOLLADA-Tools|OpenCOLLADA here]], and install it following the instructions. | ||
- | Once you have installed the plugin, you must enable it. Open Maya and go to Window > Plug-ins. Find OpenCOLLADA or COLLADAMaya or similar, then check the box to enable it. This will now give you the Collada exporter option when you save your model. | + | Once you have installed the plugin, you must enable it. Open Maya and go to Window > Settings/Preferences > Plug-in Manager. Find OpenCOLLADA or COLLADAMaya or similar, then check the box "Loaded" and "Auto Load" to enable it. This will now give you the Collada exporter option when you save your model. |
===== How to export your model ===== | ===== How to export your model ===== | ||
Line 15: | Line 15: | ||
Once you've made a model in Maya, you can export it using **File > Export All** (Or Export Selection if you don't want all the objects). There are a few things you must prepare first. | Once you've made a model in Maya, you can export it using **File > Export All** (Or Export Selection if you don't want all the objects). There are a few things you must prepare first. | ||
- | - Your model must have assigned at least 1 material. By default, a new object has a **lambert ** material pre-applied. If you need to assign a new or existing one, hold right click over your model and select Assign Favorite Material or **Assign New Material > Lambert**. You can also Assign Existing Material. | + | - Your model must have assigned at least 1 material. By default, a new object has a **lambert ** material pre-applied. If you need to assign a new or existing one, hold right click over your model and select Assign Favorite Material or **Assign New Material > Lambert**. You can also Assign Existing Material. |
- | - Open your material in the **Channel Box** and click on **Color ** to open the Material Type window. Select the type **File** and then click the folder icon to open a browser for a texture file. The material requires a texture file. The preferred texture format is DDS (DirectDraw Surface) that can be exported through Photoshop, Gimp or Paint.NET. | + | - Open your material in the **Channel Box** and click on **Color ** to open the Material Type window. Select the type **File** and then click the folder icon to open a browser for a texture file. The material requires a texture file. The preferred texture format is DDS (DirectDraw Surface) that can be exported through Photoshop ([[https://developer.nvidia.com/nvidia-texture-tools-adobe-photoshop|Plugin]]), Gimp ([[https://code.google.com/p/gimp-dds/#Downloads|Plugin]]) or [[http://getpaint.net|Paint.NET]]. |
- Once you have added this, you can export your model. Open the export window, then select the OpenCOLLADA or COLLADAMaya exporter at the bottom. Use the following export settings: | - Once you have added this, you can export your model. Open the export window, then select the OpenCOLLADA or COLLADAMaya exporter at the bottom. Use the following export settings: | ||
- | Select **Triangulate ** under General Export Options. | + | Select **Triangulate ** under General Export Options. |
- | Deselect **Cameras ** and **Lights ** under Filter Export | + | Deselect **Cameras ** and **Lights ** under Filter Export |
- | The rest might already be set to the proper value. Compare with the image. | + | The rest might already be set to the proper value. Compare with this image (from Maya 2011): |
+ | |||
+ | {{ :hpl2:third_party_tools:3d:br379ds_1_.png?nolink |}} | ||
===== Additional information about the above steps ===== | ===== Additional information about the above steps ===== |