Jump to content

Smoothing of the ground


Dad72
 Share

Recommended Posts

Is there a function to slick the ground with the passage of a brush (as the elevation of the ground of WORLMONGER)? for instance ground.setSubdivision or something like that.

My ground presents several angle that I would like to smooth with a brush.

What is to be done?

Thank you

Link to comment
Share on other sites

I'm not sure if such function exists but, you could write one your self, by using vertices you could potentially draw your own terrain,

then create another mesh that will draw above your terrain that will look like the brush you seek. you can give it a special material what ever you want.

 

then by pressing you do the smoothing, aka you mean lower and raising the ground ? or making more vertices around the edges so it will look a lot "smoother" ?

 

it's not an easy task but once you write it, it will look epic mate.

 

BTW- check the 

BABYLON.Mesh.CreatePlane

 source for reference on using vertices you could find some code in the forum also.

Link to comment
Share on other sites

Thank you.
IT would seem that WorldMonger would introduce this functionality, but is manage automatically while they raise summits has what I see from it, I will do further research on this subject when I would have managed to display a colour in the brush.

I would share then the code when i would have succeeded. This could interest other people.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...