Changes between Version 3 and Version 4 of Basic3DImplementation


Ignore:
Timestamp:
Jun 17, 2012, 9:36:16 PM (12 years ago)
Author:
Pureon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Basic3DImplementation

    v3 v4  
    1 '''  0 A.D. basic 3D implementation guide'''  [[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)
     1
     2== 0 A.D. basic 3D implementation guide ==
     3
     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)
    25
    36To keep things simple, we are going to create a simple textured crate/box object.
    47
    58
    6 [[BR]]'''Actor file setup'''
     9[[BR]]
     10== Actor file setup ==
     11
    712[[BR]]Lets begin by creating an 'actor' xml file that will link our 3D model with the texture file and crucially make them visible in Atlas (0 A.D.'s Map/Scenario Editor).
    813
     
    1722 * '''STEP 5 -''' Open the 'crate_test.xml' file in Notepad ++ (or any code editor). You will see this:[[BR]]
    1823 [[Image(http://i173.photobucket.com/albums/w73/purepics/0AD/actoropen.gif)]][[BR]]
     24 (Ignore the colored highlighted areas in this screenshot, that happens by default in Notepad++)[[BR]]
    1925
    2026 * '''STEP 6 -''' We need to change the file locations for 'mesh' and 'texture' to these:[[BR]]
     
    2632 * '''STEP 7 -''' Save the file (as 'crate_test.xml') and close Notepad ++
    2733
    28 [[BR]][[BR]]'''Texture creation'''
     34[[BR]]
     35== Texture creation ==
     36
    2937[[BR]]Here we will create a basic texture file so that we can skin it onto our model later.
    3038
     
    5361
    5462 
    55 [[BR]][[BR]]'''3D modeling'''
     63[[BR]]
     64== 3D modeling ==
     65
    5666[[BR]]Here we will go through the basic requirements of creating a textured (UV Mapped) model and exporting it as a Collada DAE format 3D file
    5767
     
    8292 * '''STEP 7 -''' Move the DAE file to the following location: binaries\data\mods\public\art\meshes\props
    8393
    84 [[BR]][[BR]]'''Viewing model in Atlas'''
     94[[BR]]
     95== Viewing model in Atlas ==
     96
    8597[[BR]]After saving the actor file, creating the texture, and exporting the 3D model, we can now open 0 A.D.'s Atlas Editor to view the crate in-game
    8698