Author Topic: Hole in the wall  (Read 702 times)

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Hole in the wall
« on: August 13, 2018, 08:57:57 AM »
I'm not sure whether it is possible in Terragen... but I would like to create a shallow cave in a hillside.

The regular negative displacement is out of the question of course because it points straight downwards. Take a look at the image to see what I mean. Also, note the dimensions of the said, planned cave:



So far, I have found this method:

https://planetside.co.uk/forums/index.php/topic,23709.msg239806.html#msg239806

Is there any other way to do it? If any?
"When dictatorship is a fact, revolution becomes a right."

Offline Dune

  • Member
  • *
  • Posts: 15131
    • www.ulco-art.nl
Re: Hole in the wall
« Reply #1 on: August 13, 2018, 10:59:02 AM »
Redirect or vector displace by simple shape or painted shader and/or distribution shader for altitudes, something like that.

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Re: Hole in the wall
« Reply #2 on: August 13, 2018, 07:02:16 PM »
I think this should do quite well. The only limitation is that the "insides" of the cave are almost flat and cannot be displaced in a traditional way. For the current project it is irrelevant but for the future, I would like to know how to improve it. :-\
"When dictatorship is a fact, revolution becomes a right."

Offline WASasquatch

  • Member
  • *
  • Posts: 3261
Re: Hole in the wall
« Reply #3 on: August 13, 2018, 07:09:57 PM »
I think this should do quite well. The only limitation is that the "insides" of the cave are almost flat and cannot be displaced in a traditional way. For the current project it is irrelevant but for the future, I would like to know how to improve it. :-\

Warp the shape making the caves. I'd imagine that'd "carve out" a relatively similar shape in the mountain.

Offline Dune

  • Member
  • *
  • Posts: 15131
    • www.ulco-art.nl
Re: Hole in the wall
« Reply #4 on: August 14, 2018, 05:33:38 AM »
If you push that cave in, add a compute terrain/compute normal+XYZ shader after it and you could probably displace extra. It all depends on how deep you need that cave to be.

Offline RenÚ

  • Member
  • *
  • Posts: 641
Re: Hole in the wall
« Reply #5 on: August 14, 2018, 06:56:47 AM »
Or use a lateral only displacement.

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Re: Hole in the wall
« Reply #6 on: August 14, 2018, 11:12:56 AM »
Warp the shape making the caves. I'd imagine that'd "carve out" a relatively similar shape in the mountain.

This is just what I do. First, I make a decent, irregular shape for the hole, then "push" it in.

@ Dune, RenÚ, these are really good tips guys. I thought this is going to be far more difficult! Oh, and the cave dimensions are right there on the drawing.
"When dictatorship is a fact, revolution becomes a right."

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Re: Hole in the wall
« Reply #7 on: August 15, 2018, 02:09:16 PM »
Okay, a follow-up question...

Can I populate objects inside the cave now, PLUS bend them relative to the cave's walls? :-\ Populator will only consider the area of the original terrain and not the newly carved cavern.
"When dictatorship is a fact, revolution becomes a right."

Offline bobbystahr

  • Member
  • *
  • Posts: 10347
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: Hole in the wall
« Reply #8 on: August 15, 2018, 05:38:41 PM »
Okay, a follow-up question...

Can I populate objects inside the cave now, PLUS bend them relative to the cave's walls? :-\ Populator will only consider the area of the original terrain and not the newly carved cavern.


If you hang a Compute Terrain off the bottom(no out put connection to planet, just dangling there)of your Shader stack you should be able to pop inside the cave using that as your Anchor. Also use Lean to Terrain Normal should help with the walls.
« Last Edit: August 15, 2018, 05:40:52 PM by bobbystahr »
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Re: Hole in the wall
« Reply #9 on: August 16, 2018, 06:44:19 AM »
It won't work. :-[ The populator still puts all items on top and even on the "phantom" hillside. Two, maybe three objects out of 100 make it into the cave.

I tried reducing or expanding compute terrain's grid size and of course put the population center inside the cave rather than top of it, but it's not successful.
"When dictatorship is a fact, revolution becomes a right."

Offline RenÚ

  • Member
  • *
  • Posts: 641
Re: Hole in the wall
« Reply #10 on: August 16, 2018, 08:45:31 AM »
I tried it with the 'lateral only' displacement. Doesn't work either. No idea why not.

Offline Dune

  • Member
  • *
  • Posts: 15131
    • www.ulco-art.nl
Re: Hole in the wall
« Reply #11 on: August 16, 2018, 09:56:27 AM »
I encountered that problem too (once upon a time), and can't remember what I did. Maybe an altitude restriction helps. Did you try masking by painted shader (set to 3D!)?

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Re: Hole in the wall
« Reply #12 on: August 16, 2018, 04:05:22 PM »
I encountered that problem too (once upon a time), and can't remember what I did. Maybe an altitude restriction helps. Did you try masking by painted shader (set to 3D!)?

I think I did... But the setup was different, so I might try that once more. In a way I understand that the program considers "raw" terrain, without exotic modificators. But still... ::)

Alternatively, one can create an invisible cube that can serve as a basement for a given population. Then, shove this cube into a cave and place it so that it touches the cave's walls. This way, you can even force your population upside-down!

That may, sort of, solve the problem but unfortunately is veeery time-consuming. ::)


84246-0

"When dictatorship is a fact, revolution becomes a right."

Offline Dune

  • Member
  • *
  • Posts: 15131
    • www.ulco-art.nl
Re: Hole in the wall
« Reply #13 on: August 16, 2018, 05:13:08 PM »
That is indeed quite some work. If you want to have hanging plants, you have to rotate the pop 180║.

Offline N-drju

  • Member
  • *
  • Posts: 1453
  • A bee-sting allergic artist and philosopher
Re: Hole in the wall
« Reply #14 on: August 16, 2018, 05:43:47 PM »
Well, I just discovered that for some reason objects populated with this method clump together in several "pockets" across the population plane leaving the rest of the area completely empty! ??? I have no idea what's wrong, especially that the first pop turned out well. I am now using cyphyr's crystals but I can see no reason why these objects in particular would be "broken" while populating on object! I guess I'll just have to do the whole damn thing by hand! ???
"When dictatorship is a fact, revolution becomes a right."

 

anything