CreatingATileBank

Version 2 (Botanic, 09/25/2011 04:31 am)

1 1 kervala
h1. Creating A Tile Bank
2 1 kervala
3 1 kervala
{{>toc}}
4 1 kervala
5 1 kervala
h2. Notes
6 1 kervala
7 1 kervala
Notes on TileBank manager documentation:
8 1 kervala
9 1 kervala
    * Images Have Red Highlighted Areas To Give Focus To The Area Of Discussion Or Part Of The Interface You Will Interact With.
10 1 kervala
    * Various Details On The Formatting Of Data Required For The TileBank Manager Are Located In The Appendices.
11 1 kervala
    * A Glossary Of Terms Is Provided In The Appendices Of This Document.
12 1 kervala
    * A .doc file version of this tutorial can be found ** HERE **
13 1 kervala
14 1 kervala
h2. Step 1 - Adding a Land
15 1 kervala
16 2 Botanic
Launch tile_edit_r.exe (C:\ryzom\code\nel\tools\3d\tile_edit\)
17 2 Botanic
18 1 kervala
Adding a land just needs you to enter the name you want to call the land.
19 1 kervala
20 1 kervala
!tile_bank_manager_step_a.png!
21 1 kervala
22 1 kervala
!tile_bank_manager_step_b.png!
23 1 kervala
24 1 kervala
!tile_bank_manager_step_c.png!
25 1 kervala
26 1 kervala
h2. Step 2 - Adding a tile set
27 1 kervala
28 1 kervala
Adding a [[TileSet]] requires you to enter a name too.
29 1 kervala
30 1 kervala
!tile_bank_manager_step_d.png!
31 1 kervala
32 1 kervala
!tile_bank_manager_step_b.png!
33 1 kervala
34 1 kervala
!tile_bank_manager_step_c.png!
35 1 kervala
36 1 kervala
h2. Step 3 - Editing a tile set
37 1 kervala
38 1 kervala
This might be the most important part. After you click on the lower edit [[TileSet]] button you get the tile bank manager. Here you can add any type of tiles you need for drawing them to a landscape. When you have opened the manager this brings us directly to Step4.
39 1 kervala
40 1 kervala
Unable to render embedded object: File (tile_bank_manager_edit_tileset.png) not found.
41 1 kervala
42 1 kervala
!tile_bank_manager_add_bank.png!
43 1 kervala
44 1 kervala
h2. Step 4 - Adding tiles to a tile set
45 1 kervala
46 1 kervala
On the left side of this editor dialog you will find five groups of radio buttons.
47 1 kervala
48 1 kervala
    * Texture allows you to select the type of texture you want to add or modify.
49 1 kervala
    * Size allows you to alter the size the textures are displayed as in the editor.
50 1 kervala
    * Texte info lets you choose whether you want to see the filename or the index number of the tile displayed under each image.
51 1 kervala
    * Tiles allows you to switch between the size, alpha and displacement tile types for adding or modification
52 1 kervala
    * Subtileset is deprecated and can be safely ignored.
53 1 kervala
54 1 kervala
NOTE: Transitions are alpha maps for merging and overlapping between different TileSets.
55 1 kervala
56 1 kervala
NOTE: Displacements are for making the landscape a bit more non-uniform.
57 1 kervala
58 1 kervala
The first you should add some textures start with Diffuse and the size of the texture (128x128 or 256x256) depending on the size of your TGA file.
59 1 kervala
60 1 kervala
!tile_bank_manager_add_diffuse.png!
61 1 kervala
62 1 kervala
!tile_bank_manager_add_diffuse_128.png!
63 1 kervala
64 1 kervala
Now right click on the large empty area of the window and left click the Add option on the menu that pops up.
65 1 kervala
66 1 kervala
Using the file dialog that is opened browse for the TGA tile image you want to add to the tile set.
67 1 kervala
68 1 kervala
NOTE: The TGA images must be saved as uncompressed!
69 1 kervala
70 1 kervala
!tile_bank_manager_add_menu.png!
71 1 kervala
72 1 kervala
!tile_bank_manager_step_xxx.png!
73 1 kervala
74 1 kervala
!tile_bank_manager_batch_load.png!
75 1 kervala
76 1 kervala
After we have added the diffuse and additive tiles we need to add transitions for your texture types.
77 1 kervala
78 1 kervala
!tile_bank_manager_add_transitions.png!
79 1 kervala
80 1 kervala
!tile_bank_manager_add_diffuse_transitions.png!
81 1 kervala
82 1 kervala
Now you select the tile slot you wish to alter.
83 1 kervala
84 1 kervala
tile_bank_manager_add_diffuse_transitions_tile.png
85 1 kervala
86 1 kervala
Right click and choose Replace from the menu that pops up.
87 1 kervala
88 1 kervala
!tile_bank_manager_replace_tile.png!
89 1 kervala
90 1 kervala
!tile_bank_manager_step_xxxx.png!
91 1 kervala
92 1 kervala
Using the file dialog that is opened browse for the TGA tile image you want to add to the tile set.
93 1 kervala
94 1 kervala
tile_bank_manager_batch_load.png
95 1 kervala
96 1 kervala
You add the alpha maps with the same method.
97 1 kervala
98 1 kervala
!tile_bank_manager_add_alpha_transitions.png!
99 1 kervala
100 1 kervala
!tile_bank_manager_add_alpha_transitions_tile.png!
101 1 kervala
102 1 kervala
You add the displacement maps with the same method.
103 1 kervala
104 1 kervala
!tile_bank_manager_add_displacement.png!
105 1 kervala
106 1 kervala
h2. Step 5 - Assigning tile set order to a land
107 1 kervala
108 1 kervala
After you have successfully edited a [[TileSet]] you need to add this [[TileSet]] to your land.
109 1 kervala
110 1 kervala
!tile_bank_manager_edit_land.png!
111 1 kervala
112 1 kervala
!tile_bank_manager_add_tileset_to_land_a.png!
113 1 kervala
114 1 kervala
!tile_bank_manager_add_tileset_to_land_b.png!
115 1 kervala
116 1 kervala
!tile_bank_manager_add_tileset_to_land_c.png!
117 1 kervala
118 1 kervala
h2. Glossary of Terms
119 1 kervala
120 1 kervala
    * [[TileBank]] : A Group Of Lands
121 1 kervala
    * Land : An Ordered Group Of [[TileSet]]?
122 1 kervala
    * [[TileSet]] : A Group Of Tiles
123 1 kervala
    * Tile : A 128x128 Or 256x256 Pixel Square Image Block Of Terrain Surface
124 1 kervala
    * TGA : The Native Format Required For Tiles
125 1 kervala
    * DDS : The Compressed Converted Form Of Tiles ( Direct Draw Surface )
126 1 kervala
    * Alpha : A Unit Of Opacity Defining A Level Of Transparency An Image Has