« Previous - Version 30/76 (diff) - Next » - Current version
ChrisNewman, 08/30/2010 05:21 am


Adding A New Continent (WIP)

About

Goals for this tutorial.

1.make a 4 tile continent (WIP)
2.Link the continent to the newbieland (WIP)
3.Make a new tile bank (Finished)
4.Make and add a new vegetable set (WIP)
5.Make a tree in speedtree and weight paint it with NeL tree painter. (WIP)
6.Add sky,weather and seasons. (WIP)
7.Add a particle "Blue Flame" effect to a piece of geometry. (WIP)
8.Add a building. (WIP)
9.Add a water zone (WIP)
10.Make awesomest tutorial ever (Optional)

Pre Constraints

This tutorial assumes the following.....

1. You are using mercurial change set 660.
2. You have cloned the mercurial repository to C:\ryzom
3. You have downloaded the asset repository to C:\ryzom_assets
4. You have downloaded the client to C:\ryzom_client
5. You have compiled all sources and can run and connect to your own server.
6. You have compiled,installed and loaded the NeL plugins for 3DSMAX.
7. You have installed python 2.6.6

*Optional Constraints

1.Speedtree for 3DSMAX

Code Changes

Script And Configuration Changes

Creating A Tile Bank

1. Launch tile_edit_r.exe (C:\ryzom\code\nel\tools\3d\tile_edit\)
You should get....

2.Click on the button next to "Absolute path".
Change the path to C:\ryzom_assets\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:\ryzom_assets\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.

8. Navigate to C:\ryzom_assets\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).

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


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


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.

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.

15. Select> Alpha,Transitions and Click "Batch load...".
Navigate to C:\ryzom_assets\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".


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

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

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.

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

21. Goto the tools menu and click "NeL Tile Bank".
Navigate to your TestBank.bank.

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.

Extra> Painter user guide.

Function keys:
--------------
F1: TILE MODE
Go in tile mode.
F2: COLOR MODE
Go in vertex color mode
F3: DISPLACE MODE
Go in displace mode (not operational)
SPACE: CHANGE MATERIAL
In tile mode, select a tileset in the list.
In color mode, select a color in the list.
In dispace moden select a displace map in the list.
CTRL+Z: UNDO
CTRL+E: REDO
A: Toggle lighting on / off
P: PICK
In tile mode, pick a tileset on the landscape.
In color mode, pick a color on the landscape.
In dispace moden pick a displace map on the landscape.
F5: FILL
In tile mode, fill the patch you click on with the current tileset with rotation = 0.
In color mode, fill the patch you click on with the current color.
In displace mode, fill the patch you click on with the current displace map.
F6: FILL
In tile mode, fill the patch you click on with the current tileset with rotation = 1.
F7: FILL
In tile mode, fill the patch you click on with the current tileset with rotation = 2.
F8: FILL
In tile mode, fill the patch you click on with the current tileset with rotation = 3.
W:
Toggle texture 256 / texture 128
X:
Toggle vertex colors
INSERT / SUPPR:
Select the brush size (small, medium large)
F / V:
Select your tile group you want to paint with (All, 0, 1, 2, 3, 4, 5, 6, 7).
B:
Select your background color.
C:
Show/hide orientation arrows.
C:
Show/hide orientation arrows.
HOME / END:
Select the opacity of the brush (for vertex color)
PAGEUP / PAGEDOWN:
Select the hardness of the brush (for vertex color)
F11:
Trick mode: donesn't try to propagate border. Use ONLY when you can't do anything else.

Creating Landscape in 3DSMAX

Painting Landscape With NeL Patch Painter

Exporting Assets

tut1.jpg (43.4 kB) ChrisNewman, 08/27/2010 12:07 am

tut2.jpg (40.2 kB) ChrisNewman, 08/27/2010 01:16 am

tut3.jpg (43 kB) ChrisNewman, 08/28/2010 06:25 am

tut4.jpg (32.2 kB) ChrisNewman, 08/28/2010 06:25 am

tut5.jpg (109.9 kB) ChrisNewman, 08/28/2010 06:25 am

tut6.jpg (98.5 kB) ChrisNewman, 08/28/2010 06:25 am

tut7.jpg (139.3 kB) ChrisNewman, 08/28/2010 06:56 am

tut8.jpg (53.3 kB) ChrisNewman, 08/28/2010 06:56 am

tut9.jpg (26.5 kB) ChrisNewman, 08/28/2010 08:29 am

tut10.jpg (143.8 kB) ChrisNewman, 08/28/2010 08:29 am

tut11.jpg (122.5 kB) ChrisNewman, 08/28/2010 03:41 pm

tut12.jpg (47.7 kB) ChrisNewman, 08/28/2010 03:41 pm

tut13.jpg (97.5 kB) ChrisNewman, 08/28/2010 10:50 pm

tut14.jpg (62.3 kB) ChrisNewman, 08/28/2010 10:50 pm

tut15.jpg (102.7 kB) ChrisNewman, 08/29/2010 03:27 am

tut16.jpg (50.8 kB) ChrisNewman, 08/29/2010 03:31 am

tut17.jpg (207.7 kB) ChrisNewman, 08/29/2010 03:45 am

tut18.jpg (288.2 kB) ChrisNewman, 08/29/2010 12:29 pm

tut19.jpg (202.4 kB) ChrisNewman, 09/05/2010 05:25 am

tut20.jpg (181.6 kB) ChrisNewman, 09/05/2010 05:25 am

tut21.jpg (74.7 kB) ChrisNewman, 09/05/2010 11:22 pm

NeLPainterCheatsheet.jpg (218.2 kB) ChrisNewman, 09/09/2010 05:43 am

VDPIC.jpg (46.7 kB) ChrisNewman, 09/09/2010 06:04 am

tut22.jpg (97.7 kB) ChrisNewman, 09/09/2010 04:32 pm

TestTree01.zip (113.9 kB) ChrisNewman, 09/12/2010 06:46 am

treefilemax01.jpg (97.8 kB) ChrisNewman, 09/12/2010 07:06 am