Changes between Version 5 and Version 6 of Basic3DImplementation


Ignore:
Timestamp:
Jul 15, 2012, 1:00:54 AM (12 years ago)
Author:
historic_bruno
Comment:

Minor cleanup

Legend:

Unmodified
Added
Removed
Modified
  • Basic3DImplementation

    v5 v6  
    11
    2 == 0 A.D. basic 3D implementation guide ==
     2= 0 A.D. Basic Model Importing Guide =
     3[[TOC]]
     4In this tutorial we are going to create a simple, non-animated, textured crate/box object to demonstrate the process of importing a basic model into 0 A.D. This example can be extended to work with more complex models and animated objects.
    35
    4 [[BR]] In this guide we will be using [http://www.blender.org/ Blender] to create the 3D model, [http://www.gimp.org/ GIMP] for textures, and [http://notepad-plus-plus.org/ Notepad++] for basic coding. All three of these programs are free and opensource, although other programs may be used to achieve similar results. You must also have an Alpha release of 0 A.D. installed on your computer. (SVN versions can be used too)
     6Your final result will look something like this:[[BR]][[BR]]
     7[[Image(http://i173.photobucket.com/albums/w73/purepics/0AD/atlasfinal.gif)]]
    58
    6 To keep things simple, we are going to create a simple textured crate/box object.
     9== Requirements ==
    710
     11This guide specifically uses the following free, open-source software:
     12 * [http://www.blender.org/ Blender] - to create the 3D model and UV mapping. Any version should work but the layout described on this tutorial is from version 2.6x. Other 3D modelling software supporting DAE/COLLADA export might work, too.
     13 * [http://www.gimp.org/ GIMP] - to create the model's texture. Again any version will work but this tutorial uses 2.8.x. Other image editing software will work, the main feature required is saving PNG images.
     14 * [http://notepad-plus-plus.org/ Notepad++] - to edit the [wiki:Actors actor file]. Notepad++ is available on Windows, but almost any decent text editor will do, the most helpful feature is code syntax highlighting.
     15
     16You must also have an Alpha release of 0 A.D. installed on your computer, or you can use the SVN development version.
    817
    918[[BR]]
     
    1120
    1221[[BR]]Lets begin by creating an [wiki:Actors actor] XML file that will link our 3D model with the texture file and crucially make them visible in [wiki:Atlas_Manual Atlas] (0 A.D.'s !Map/Scenario Editor).
     22'''Note:''' this process can also be accomplished with the the GUI-based [wiki:Actor_Editor actor editor] tool.
    1323
    1424 * '''STEP 1 -''' Navigate to the 'mods' folder in the game's installation directory: `binaries\data\mods` (see [wiki:Mod_Layout mod layout] for details)
     
    126136
    127137[[BR]]
    128 == Viewing model in Atlas ==
     138== Viewing the model in Atlas ==
    129139
    130140[[BR]]After saving the actor file, creating the texture, and exporting the 3D model, we can now open 0 A.D.'s [wiki:Atlas_Manual Atlas Editor] to view the crate in-game