Jump to content
ddabrahim

How to paint terrain in Leadwerks 3.2?

Recommended Posts

Hi, I'm new to Leadwerks 3 and I would like to get some help with Terrain painting.

My problem is that, when I select the painting tool in terrain editor and I click on a layer, nothing happens, can't paint the terrain. The only thing I can do is to select minimum and maximum slope and height for every layer (texture) and when I sculpt the terrain it change the layer (texture) at some point, but as there is a painting tool to choose I think we can paint the selected texture on the terrain somehow but I don't know how and also can't find tutorials. The only tutorial I find is for Leadwerks 2.x but the terrain painting just don't work that way in v3.2 as I can't choose (assign) layer to paint.

Anybody could help me please?

 

Thanks.

Share this post


Link to post

I'm not clear from your post: did you already double click Diffuse under Layer 1 and choose a texture to paint with? If not, I think that's what you're missing.

Share this post


Link to post

Thanks for your reply.

 

If I'm double click on diffuse under layer, it only open the texture editor for me, I can't paint textures. I can add textures to layer 1,2,3,4,,6,7,8.... but I can't choose any of them to paint, I can only set minimum, maximum height where the layer start, stop. But I would like to "paint" any texture anywhere on the terrain as in 3D world studio for example.

Share this post


Link to post

Just click on the teh textire layer to select it, don't double click. Once selected layer you want, select paint mode , and just paint on terrain.

Share this post


Link to post

No it doesn't work. I'm selecting the paint tool, click on a layer once, start clicking in the editor and nothing happening. What am I missing?

Share this post


Link to post

Have you changed the slope min and slope max angles fo the base layer they can influence if a texture can be painted or not depending on terrain slope.

(Note : There is no erase texture in LE3 from what i know erase a texture from terrain , make layer paint = 0)

Share this post


Link to post

Make sure the texture you selected isn't set as being a cubemap, like bfn.tex or the skybox-texture.

Try using the Blue/Green/Orange grids from the developer-folder and check whether it works with them. If so, your textures have some weird settings.

Share this post


Link to post

Okay, something is happening now. Depending on min-max slope and height settings I can paint the higher layer on the top of the lower layer for example I can paint layer 3 on the top of layer 2, layer 4 on the top of layer 3 and so on. Well, It not something I was expecting, I wish we could paint any layer anywhere as in 3D World Studio. unsure.png

But at least we have 16 layers to play around with.laugh.png

 

Thanks for all help smile.png

Share this post


Link to post

You seemed to fix your problem, but for others I found Aggors You Tube tutorial on terrain sculpting.

It is for the old Leadwerks but it is much the same.

For painting http://m.youtube.com/watch?list=PLC272E30DD2883EC3&v=-6socw4zmPA. This tutorial is also for the older version but Aggors explains the basics well.

 

There is also a Terrain.map in your map folder which gives you a more up to date example.

 

Enjoy.

Share this post


Link to post

If you are painting with a texture layer selected, you can removed the texture by painting with the control key pressed.

Share this post


Link to post

Thanks for the help, the tutorial videos are very useful, well explained. I wish that we would have all the terrain options of v2 in v3, such as base layer to blend a texture in to all layers, grass panting, visibility and shininess. Pretty cool features. I hope that they going to be implemented in v3 in the future.

 

Thanks again smile.png

Share this post


Link to post

I really want to remake those terrain tutorials for Leadwerks 3, but it feels like new features could be added any day, making those videos quickly out of date.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...