X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic.wiki.git;a=blobdiff_plain;f=Blender_to_IQM.md;h=3d2bca148e82b8d6abe8e4e4629106d836f81e7a;hp=272e125f542150b8e67f253aeb09b8cfc211ef34;hb=cee5ca82ca99b3d1fdf7e9276c99c97a85ec573e;hpb=9d31c70f79e3c94c94c4cc1d0afa919c26bc8292 diff --git a/Blender_to_IQM.md b/Blender_to_IQM.md index 272e125..3d2bca1 100644 --- a/Blender_to_IQM.md +++ b/Blender_to_IQM.md @@ -1,26 +1,30 @@ Blender to IQM ============== -h2. Blender when exporting to IQM - -h3. Needed/Example files - \* Bounding Box for Stand and Crouch: http://dev.xonotic.org/attachments/download/33/bbox\_crouch\_stand.zip - \* Erebus example blend: http://dev.xonotic.org/attachments/download/291/erebus.blend - \* Erebus example framegroups: http://dev.xonotic.org/attachments/download/292/erebus.iqm.framegroups - \* Link to exporter: http://sauerbraten.org/iqm/ - -h3. Before You Start - \* use the bbox.blend in order to see the size that your model should be. Iqm exporter scale function untested. - \* use the duck\_bbox.blend in order to see the size that your model should be when crouching. - \* for more information on bbox size refer to div0’s model specs [[Player\_Model\_Spec]] - \* naming conventions for textures and model go as follow assuming the example is the umbra model: modelname: umbra.iqm, framegroups: umbra.iqm.framegroups, textures: umbra.tga or (jpg), umbra\_norm.tga, umbra\_gloss.tga, (need to add more) - -h3. Exporting - \# Select both mesh and armature in object mode. - \# Go to scripts \> export \> inter-quake-model. - \# Now make sure bounding boxes and meshes are both highlighted in the script window. - \# Export to a file path of your choosing, /path/to/umbra.iqm. Put the names of all the animations in the animations box, using commas for multiple anims. Then hit the export button and hopefully it will work without any errors. - \# Your model will need a .framegroups file to be used in Xonotic, look at the example file at the beginning of this article or check the [[Framegroups]] section of this wiki. +Blender when exporting to IQM +----------------------------- + +### Needed/Example files + +* Bounding Box for Stand and Crouch: http://dev.xonotic.org/attachments/download/33/bbox_crouch_stand.zip +* Erebus example blend: http://dev.xonotic.org/attachments/download/291/erebus.blend +* Erebus example framegroups: http://dev.xonotic.org/attachments/download/292/erebus.iqm.framegroups +* Link to exporter: http://sauerbraten.org/iqm/ + +### Before You Start + +* use the bbox.blend in order to see the size that your model should be. Iqm exporter scale function untested. +* use the duck_bbox.blend in order to see the size that your model should be when crouching. +* for more information on bbox size refer to div0’s model specs [[Player_Model_Spec]] +* naming conventions for textures and model go as follow assuming the example is the umbra model: modelname: umbra.iqm, framegroups: umbra.iqm.framegroups, textures: umbra.tga or (jpg), umbra_norm.tga, umbra_gloss.tga, (need to add more) + +### Exporting + +1. Select both mesh and armature in object mode. +2. Go to scripts \> export \> inter-quake-model. +3. Now make sure bounding boxes and meshes are both highlighted in the script window. +4. Export to a file path of your choosing, /path/to/umbra.iqm. Put the names of all the animations in the animations box, using commas for multiple anims. Then hit the export button and hopefully it will work without any errors. +5. Your model will need a .framegroups file to be used in Xonotic, look at the example file at the beginning of this article or check the [[Framegroups]] section of this wiki. ### Notes