creating_a_tile_bank - ryzom/ryzomcore GitHub Wiki


title: Creating-A-Tile-Bank_884912 description: published: true date: 2023-03-01T05:04:54.807Z tags: editor: markdown dateCreated: 2019-11-25T02:41:27.877Z

Ryzom Core : Creating A Tile Bank

  1. Ryzom Core
  2. Ryzom Core Home
  3. Tutorials
  4. Reference Guides

Ryzom Core : Creating A Tile Bank

Created by Matt Raykowski, last modified on Oct 11, 2012

Creating A Tile Bank (tile_edit_r | 3DSMAX)

1\. Launch tile\_edit\_r.exe (C:\\ryzom\\code\\nel\\tools\\3d\\tile\_edit\\)

You should get....

tut1.jpg

2.Click on the button next to "Absolute path".

Change the path to C:\Database\landscape\_texture_tiles\.

3. Click "Add land", type "TestLand" and click "OK".

4. Click "Add tile set", type "TestTileSetOne" and click "OK".

5. Click "Add tile set", type "TestTileSetTwo" and click "OK".

6. Save as "TestBank" in C:\Database\landscape\_texture_tiles\TestBank.bank

7. Highlight "TestLand" and press "Edit land", Add the two tile sets and press "OK".

At this point you should click save.

tut2.jpg

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).

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).

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.

So in short yes you have to use double images now, but it will just use the one when in game automatically.

10. Back in tile_edit_r highlight "TestTileSetOne" and click "Edit tile set".

11. Select> Diffuse,128x128 and then right click in the empty area to the right and choose "Add".

tut3.jpg

tut4.jpg

12. Navigate to jungle\1-junglemousse, Select all the 128x128 .tga images (4 total) and click "OK".

tut5.jpg

tut6.jpg

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.

tut7.jpg

14. Select> Diffuse,Transitions and select the first square on the right.
Right click, Select replace and choose any 128x128 texture from the 1-junglemousse set. 
Do the same to the remaining squares using the 4 128x128 1-junglemousse textures randomly.

tut15.jpg

15. Select> Alpha,Transitions and Click "Batch load...".
Navigate to C:\Database\Landscape\_texture_tiles\jungleTransitions\AlphaNoiseA and select alpha_noise_00.tga and click "OK".
At this point you will be prompted to reuse the rotation of the alpha tiles, select "Yes".

tut10.jpg

tut9.jpg

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.
Select> Displace, right click and replace the first six squares with j_foret 1-4 from the displace folder randomly, click "OK".

tut11.jpg

Extra> Using at least a small 32x32 grey scale is recommended with all textures to give it extra lighting detail.

17. Repeat steps 10 to 15 for TestTileSetTwo this time using the 12-vasejungle set instead of 1-junglemousse.

18. Now in the main menu highlight TestTileSetOne.
Under "Surface data" add 12 and for TestTileSetTwo add 21 (12 will make grass kick up from the players feet, 21 = dirt).
Click "Save".

tut12.jpg

19. At this point we should test out the bank in max.
Open 3DSMAX, Add a plane and make it 128x128.
Click in the "Top" of the view cube and fill the view port with the plane.

tut18.jpg

tut13.jpg

20. With the plane selected goto the modifier drop down menu and select "NeL Convert".
Go back the the modifier again and select "NeL Painter".

tut14.jpg

21\. Goto the tools menu and click "NeL Tile Bank".

Navigate to your TestBank.bank.

tut16.jpg

22. Go back to the modify menu, Select the plane and press the paint button on the right.
The terrain painter screen should pop up.
Begin painting and you should get smooth blending like you see in the picture below.
Note> Scroll down to "Painting Landscape With NeL Patch Painter" for the NeL Painter user guide.

tut17.jpg

Creating Landscape in 3DSMAX (status= testing and writing draft docs.

Painting Landscape With NeL Patch Painter (status= tested and writing docs.

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.

nel_painter_cheatsheet.jpg

Attachments:

tut1.jpg (image/jpeg)
tut2.jpg (image/jpeg)
tut3.jpg (image/jpeg)
tut4.jpg (image/jpeg)
tut5.jpg (image/jpeg)
tut6.jpg (image/jpeg)
tut7.jpg (image/jpeg)
tut15.jpg (image/jpeg)
tut10.jpg (image/jpeg)
tut9.jpg (image/jpeg)
tut11.jpg (image/jpeg)
tut12.jpg (image/jpeg)
tut18.jpg (image/jpeg)
tut13.jpg (image/jpeg)
tut14.jpg (image/jpeg)
tut16.jpg (image/jpeg)
tut17.jpg (image/jpeg)
NeLPainterCheatsheet.jpg (image/jpeg)

Document generated by Confluence on Nov 24, 2019 20:18

Atlassian

⚠️ **GitHub.com Fallback** ⚠️