CreatingATileBankold
Version 1 (ChrisNewman, 07/19/2011 11:25 am)
1 | 1 | ChrisNewman | h2. Creating A Tile Bank (tile_edit_r | 3DSMAX) |
---|---|---|---|
2 | 1 | ChrisNewman | |
3 | 1 | ChrisNewman | 1. Launch tile_edit_r.exe (C:\ryzom\code\nel\tools\3d\tile_edit\) |
4 | 1 | ChrisNewman | You should get.... |
5 | 1 | ChrisNewman | |
6 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/883/tut1.jpg! |
7 | 1 | ChrisNewman | |
8 | 1 | ChrisNewman | 2.Click on the button next to "Absolute path". |
9 | 1 | ChrisNewman | Change the path to C:\Database\landscape\_texture_tiles\. |
10 | 1 | ChrisNewman | |
11 | 1 | ChrisNewman | 3. Click "Add land", type "TestLand" and click "OK". |
12 | 1 | ChrisNewman | |
13 | 1 | ChrisNewman | 4. Click "Add tile set", type "TestTileSetOne" and click "OK". |
14 | 1 | ChrisNewman | |
15 | 1 | ChrisNewman | 5. Click "Add tile set", type "TestTileSetTwo" and click "OK". |
16 | 1 | ChrisNewman | |
17 | 1 | ChrisNewman | 6. Save as "TestBank" in C:\Database\landscape\_texture_tiles\TestBank.bank |
18 | 1 | ChrisNewman | |
19 | 1 | ChrisNewman | 7. Highlight "TestLand" and press "Edit land", Add the two tile sets and press "OK". |
20 | 1 | ChrisNewman | |
21 | 1 | ChrisNewman | At this point you should click save. |
22 | 1 | ChrisNewman | |
23 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/884/tut2.jpg! |
24 | 1 | ChrisNewman | |
25 | 1 | ChrisNewman | 8. Navigate to C:\Database\Landscape\_texture_tiles\jungle And open the contents of 1-junglemousse,12-vasejungle,displace and Transitions\ AlphaNoiseA in Photoshop (You can also use Gimp if you like). |
26 | 1 | ChrisNewman | |
27 | 1 | ChrisNewman | 9. Save all textures in the folders you got them from as 24bit TARGA (.tga), (You could use png but you may have issues that are beyond the purpose of this tutorial). |
28 | 1 | ChrisNewman | > Extra>Since the PNGs and TGAs compress to DDS during the build_pipeline and the .banks are not used at runtime and building new banks with png support fails at save you have to use double images for now but after you run the build_pipeline it will only use the one DDS at runtime anyway. |
29 | 1 | ChrisNewman | So in short yes you have to use double images now, but it will just use the one when in game automatically. |
30 | 1 | ChrisNewman | |
31 | 1 | ChrisNewman | 10. Back in tile_edit_r highlight "TestTileSetOne" and click "Edit tile set". |
32 | 1 | ChrisNewman | |
33 | 1 | ChrisNewman | 11. Select> Diffuse,128x128 and then right click in the empty area to the right and choose "Add". |
34 | 1 | ChrisNewman | |
35 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/887/tut3.jpg! |
36 | 1 | ChrisNewman | |
37 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/888/tut4.jpg! |
38 | 1 | ChrisNewman | |
39 | 1 | ChrisNewman | 12. Navigate to jungle\1-junglemousse, Select all the 128x128 .tga images (4 total) and click "OK". |
40 | 1 | ChrisNewman | |
41 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/889/tut5.jpg! |
42 | 1 | ChrisNewman | |
43 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/890/tut6.jpg! |
44 | 1 | ChrisNewman | |
45 | 1 | ChrisNewman | 13. Select> Diffuse,256x256 and then right click in the empty area to the right and choose "Add", Repeat step 12 this time selecting all 10 256x256 images. |
46 | 1 | ChrisNewman | |
47 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/891/tut7.jpg! |
48 | 1 | ChrisNewman | |
49 | 1 | ChrisNewman | 14. Select> Diffuse,Transitions and select the first square on the right. |
50 | 1 | ChrisNewman | Right click, Select replace and choose any 128x128 texture from the 1-junglemousse set. |
51 | 1 | ChrisNewman | Do the same to the remaining squares using the 4 128x128 1-junglemousse textures randomly. |
52 | 1 | ChrisNewman | |
53 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/899/tut15.jpg! |
54 | 1 | ChrisNewman | |
55 | 1 | ChrisNewman | 15. Select> Alpha,Transitions and Click "Batch load...". |
56 | 1 | ChrisNewman | Navigate to C:\Database\Landscape\_texture_tiles\jungleTransitions\AlphaNoiseA and select alpha_noise_00.tga and click "OK". |
57 | 1 | ChrisNewman | At this point you will be prompted to reuse the rotation of the alpha tiles, select "Yes". |
58 | 1 | ChrisNewman | |
59 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/894/tut10.jpg! |
60 | 1 | ChrisNewman | |
61 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/893/tut9.jpg! |
62 | 1 | ChrisNewman | |
63 | 1 | ChrisNewman | 16. This is an optional step but we will do it for the tutorial, We will add some displacement grey scale maps that will deform the surface when in the players line of site. |
64 | 1 | ChrisNewman | Select> Displace, right click and replace the first six squares with j_foret 1-4 from the displace folder randomly, click "OK". |
65 | 1 | ChrisNewman | |
66 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/895/tut11.jpg! |
67 | 1 | ChrisNewman | |
68 | 1 | ChrisNewman | > Extra> Using at least a small 32x32 grey scale is recommended with all textures to give it extra lighting detail. |
69 | 1 | ChrisNewman | |
70 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/902/tut18.jpg! |
71 | 1 | ChrisNewman | |
72 | 1 | ChrisNewman | 17. Repeat steps 10 to 15 for TestTileSetTwo this time using the 12-vasejungle set instead of 1-junglemousse. |
73 | 1 | ChrisNewman | |
74 | 1 | ChrisNewman | 18. Now in the main menu highlight TestTileSetOne. |
75 | 1 | ChrisNewman | Under "Surface data" add 12 and for TestTileSetTwo add 21 (12 will make grass kick up from the players feet, 21 = dirt). |
76 | 1 | ChrisNewman | Click "Save". |
77 | 1 | ChrisNewman | |
78 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/896/tut12.jpg! |
79 | 1 | ChrisNewman | |
80 | 1 | ChrisNewman | 19. At this point we should test out the bank in max. |
81 | 1 | ChrisNewman | Open 3DSMAX, Add a plane and make it 128x128. |
82 | 1 | ChrisNewman | Click in the "Top" of the view cube and fill the view port with the plane. |
83 | 1 | ChrisNewman | |
84 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/897/tut13.jpg! |
85 | 1 | ChrisNewman | |
86 | 1 | ChrisNewman | 20. With the plane selected goto the modifier drop down menu and select "NeL Convert". |
87 | 1 | ChrisNewman | Go back the the modifier again and select "NeL Painter". |
88 | 1 | ChrisNewman | |
89 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/898/tut14.jpg! |
90 | 1 | ChrisNewman | |
91 | 1 | ChrisNewman | 21. Goto the tools menu and click "NeL Tile Bank". |
92 | 1 | ChrisNewman | Navigate to your TestBank.bank. |
93 | 1 | ChrisNewman | |
94 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/900/tut16.jpg! |
95 | 1 | ChrisNewman | |
96 | 1 | ChrisNewman | 22. Go back to the modify menu, Select the plane and press the paint button on the right. |
97 | 1 | ChrisNewman | The terrain painter screen should pop up. |
98 | 1 | ChrisNewman | Begin painting and you should get smooth blending like you see in the picture below. |
99 | 1 | ChrisNewman | Note> Scroll down to "Painting Landscape With NeL Patch Painter" for the NeL Painter user guide. |
100 | 1 | ChrisNewman | |
101 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/901/tut17.jpg! |
102 | 1 | ChrisNewman | |
103 | 1 | ChrisNewman | h2. Creating Landscape in 3DSMAX (status= testing and writing draft docs. |
104 | 1 | ChrisNewman | |
105 | 1 | ChrisNewman | h2. Painting Landscape With NeL Patch Painter (status= tested and writing docs. |
106 | 1 | ChrisNewman | |
107 | 1 | ChrisNewman | To begin painting your landscape just select the tile (Or tiles) you would like to paint and frame them in the view port, Then open NeL Painter. |
108 | 1 | ChrisNewman | |
109 | 1 | ChrisNewman | |
110 | 1 | ChrisNewman | !http://dev.ryzom.com/attachments/939/NeLPainterCheatsheet.jpg! |