Tools elevate and dig

Hi, i saw this sample Babylon Engine for HTML5 and my goal is do the same with tool elevate & dig.
Is possible elevate&dig in some one part of the cat ?
https://www.babylonjs-playground.com/#1BAPRM#309

Thank you!

Hi, @aWeirdo is possible apply your sample GitHub - aWeirdo/HeightMapGenerator: HeightMap generator made with BabylonJs in a simple mesh? My point is, can i use the elevation on this mesh (cat) https://www.babylonjs-playground.com/#1BAPRM#309

Thank you!

Hi @Helder_Oliveira
I don’t see why not :slight_smile:

You’d have to calculate the direction to your liking,
perhaps from vertice pos towards the camera pos or something like that?
or even from mesh center towards vertice pos? there are many options
the generator use static y +/- as heightMaps only goes up/down, so it ignores x & z.

Also saving/loading as mesh file, .babylon or .GLTF, etc, rather than a image file :slight_smile:

good luck!

1 Like

Hi @aWeirdo thank you for your reply :slight_smile:
I saw than i shared the wrong PG , the right PG is this one https://www.babylonjs-playground.com/#1BAPRM#309 (I updated the link on post) . My apologies :wink:

Time to talk approximately that pricey 780 Ti man ! Got a Phantom Edition for a hundred dollars and as soon as OC’d to the max without touching voltages I damage a inventory 1060 ( 1600 vs 1800 on unigine Heaven Ultra AAx8 in 1920x1080 all matters extreme).