How to create a 3dmodel map like <Inscryption>?

as
1.rendering 2d ui on a 3d model.
2.a map algorithm.
3.add 3d white model(in this example that is tree) to those empty space on map.
So far,I only know 1 and 2.No idea about 3.
Help me, my lords!!!

What is stopping you from populating it with meshes? Do you want to automate it?

yes,auto fill those empty space.

Check this out:

Especially part 4 that focuses on splines.


sir,as ur suggestion, I tried to use pcg tech for generating the map.But it seems didnt work well when it be limited in a small area(in this case this is a map on the table).
1.I set up up a spline and sample its inside point.
2.Then I set up another spline and sample the line point itself for the road to pass the buildings.
3.Take the difference set between the them to generate building.
result: the road edge didnt show very clear.
do u have any other suggestion ?

Set up some collision boxes where there should be no trees. Perform a bunch of randomised line traces from the top.

  • if the trace hits the ground, spawn a tree
  • if the trace hits a box or another tree, don’t spawn a tree