Forum: Vue


Subject: Heightfield Integration Tutorial

eonite opened this issue on Jun 22, 2009 · 59 posts


ArtPearl posted Tue, 23 June 2009 at 2:28 PM

Oh- that's so much fun, Thank you for posting it. I havnt done anything sophisticated with the terrain editor, so these are my baby steps, and I'm stumbling a bit:) I wanted to see if I can extend this to having more than one feature. In the attached image I have my revised terrain function, and the resulting render. The basic idea was to replace the 'length' node with a new version. The original length node basically calculates the distance to the terrain's origin (0,0,0). Instead I added a constant vector (pos1) that should define the position of the first feature, and I subtract that from the input position. The rest of this branch remained the same. Then I added a new branch for the second feature. This of course has a different constant position (pos2) to be subtracted from the input position. Well, it sort of works , in the sense that I have now two features, but I had to adjust the parameters in the brightness/contrast node and in the smooth-map node. And even though I played around with it for awhile, I cant make the two features look identical. (the heightfield map is the same).

Also, I seem to have generated a partial moat around the mountain on the left(see arrow. I suspect the numbers I used in the smooth-map node, but I dont know for sure.

Any advice how to get better control on my mountains? ultimately I would like to be able to define
the position, radius and height of each feature, without having to adjust additional parameters on a trial&error basis.

Thanks anyhow - even if I dont get it to work any better, it was quit fun!

"I paint that which comes from the imagination or from dreams, or from an unconscious drive. I photograph the things that I do not wish to paint, the things which already have an existence."
Man Ray, modernist painter
http://artpearl.redbubble.com/