Changes between Version 5 and Version 6 of Basic3DImplementation
- Timestamp:
- Jul 15, 2012, 1:00:54 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Basic3DImplementation
v5 v6 1 1 2 == 0 A.D. basic 3D implementation guide == 2 = 0 A.D. Basic Model Importing Guide = 3 [[TOC]] 4 In 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. 3 5 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) 6 Your final result will look something like this:[[BR]][[BR]] 7 [[Image(http://i173.photobucket.com/albums/w73/purepics/0AD/atlasfinal.gif)]] 5 8 6 To keep things simple, we are going to create a simple textured crate/box object. 9 == Requirements == 7 10 11 This 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 16 You must also have an Alpha release of 0 A.D. installed on your computer, or you can use the SVN development version. 8 17 9 18 [[BR]] … … 11 20 12 21 [[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. 13 23 14 24 * '''STEP 1 -''' Navigate to the 'mods' folder in the game's installation directory: `binaries\data\mods` (see [wiki:Mod_Layout mod layout] for details) … … 126 136 127 137 [[BR]] 128 == Viewing model in Atlas ==138 == Viewing the model in Atlas == 129 139 130 140 [[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