Changes between Version 29 and Version 30 of ArtDesignDocument


Ignore:
Timestamp:
Nov 24, 2011, 10:41:52 PM (12 years ago)
Author:
Pureon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ArtDesignDocument

    v29 v30  
    136136----
    137137==== Blender ====
    138 [[Image(http://i.imgur.com/SNzTJ.jpg)]] 
    139 
    140 Collada models exported using Blender 2.6+ are now mostly compatible with 0AD as long as a few simple rules are followed. If using earlier versions of Blender you may find exported collada files produce errors in-game, so we recommend Blender 2.6+ when creating models and animations for 0AD.
     138[[Image(http://i.imgur.com/SNzTJ.jpg)]]
     139
     140Collada models exported using Blender 2.6+ are now mostly compatible with 0 A.D. as long as a few simple rules are followed. If using earlier versions of Blender you may find exported collada files produce errors in-game, so we recommend Blender 2.6+ when creating models and animations for 0AD.
    141141
    142142[[BR]]'''Exporting Collada models to use in 0 A.D.'''
    143143
    144 After creating your model, select it in object mode and go to File > Export > COLLADA (.dae). Then click the 'Export COLLADA' button after giving the .dae file a name and selecting the export directory. That's it, hopefully a 0AD compatible model/animation file has been saved.[[BR]][[BR]][[BR]][[BR]]Generally following these rules will help the collada files open in 0AD:[[BR]][[BR]]1) '''You should only export 1 object per collada model.''' If your file has multiple objects, select only 1 for export and activate the 'Export only selected' option in the Collada Exporter options panel.[[BR]]2) '''Your mesh should be UV mapped'''. A simple unwrap can be done by selecting all faces in edit mode and going to Mesh > UV Unwrap... > Unwrap[[BR]]3) '''Your object should only have 1 material, otherwise the model will not import'''. Delete unnecessary materials using the Material tab while the object is selected in Object mode.
    145 
    146 '''Bug - choppy animations[[BR]]'''While most skeletal animations do work in 0AD, you may find rotation animations aren't imported smoothly into 0AD - this is easiest to see in wheel motion animations where the wheels don't turn as constant speeds. If this happens to you, please post on the forums and let us know.
    147 
    148 '''Useful 0 A.D. Blender links'''[[BR]][[BR]]__[http://trac.wildfiregames.com/ticket/461 pmd2collada]__  - Converter by Matt Minton - Use to convert Pyrogenesis PMD format 3D  models to the Blender compatible DAE Collada format. Currently only  works with static models.[[BR]]__[http://www.wildfiregames.com/forum/index.php?s=&showtopic=13321&view=findpost&p=212192 Collada fixscript]__ - Python script that fixes Collada static models for use in Blender 2.5x
     144After creating your model, select it in object mode and go to File > Export > COLLADA (.dae). Then click the 'Export COLLADA' button after giving the .dae file a name and selecting the export directory. That's it, hopefully a 0AD compatible model/animation file has been saved.[[BR]][[BR]]Generally following these rules will help the collada files open in 0 A.D. -[[BR]][[BR]]1) '''You should only export 1 object per collada model.''' If your file has multiple objects, select only 1 for export and activate the 'Export only selected' option in the Collada Exporter options panel.[[BR]]2) '''Your mesh should be UV mapped'''. A simple unwrap can be done by selecting all faces in edit mode and going to Mesh > UV Unwrap... > Unwrap[[BR]]3) '''Your object should only have 1 material, otherwise the model will not import'''. Delete unnecessary materials using the Material tab while the object is selected in Object mode.
     145
     146'''[[BR]]Importing collada models from 0 A.D. into Blender[[BR]]'''If a collada model doesn't import into Blender try the following:[[BR]][[BR]]1) Open the DAE file in Notepad[[BR]]2) Find the line <diffuse>[[BR]]3) Delete the entire <diffuse> element. It'll look something like this:[[BR]][[BR]]            <diffuse>[[BR]]              <texture texture="Map!__123-image" texcoord="CHANNEL0">[[BR]]                <extra>[[BR]]                  <technique profile="MAYA">[[BR]]                    <wrapU sid="wrapU0">TRUE</wrapU>[[BR]]                    <wrapV sid="wrapV0">TRUE</wrapV>[[BR]]                    <blend_mode>ADD</blend_mode>[[BR]]                  </technique>[[BR]]                </extra>[[BR]]              </texture>[[BR]]            </diffuse>[[BR]][[BR]](Delete everything from <diffuse> to </diffuse>)[[BR]]4) Save the file (don't change the DAE format)[[BR]]5) Try to import it again
     147
     148'''[[BR]]Bug - choppy animations[[BR]]'''While most skeletal animations do work in 0 A.D., you may find rotation animations aren't imported smoothly into 0 A.D. - this is easiest to see in wheel motion animations where the wheels don't turn as constant speeds. If this happens to you, please post on the forums and let us know.
     149
     150'''[[BR]]Useful 0 A.D. Blender links'''[[BR]][[BR]]__[http://trac.wildfiregames.com/ticket/461 pmd2collada]__  - Converter by Matt Minton - Use to convert Pyrogenesis PMD format 3D  models to the Blender compatible DAE Collada format. Currently only  works with static models.[[BR]]__[http://www.wildfiregames.com/forum/index.php?s=&showtopic=13321&view=findpost&p=212192 Collada fixscript]__ - Python script that fixes Collada static models for use in Blender 2.5x[[BR]]
    149151
    150152----