Author Topic: Creating forest etc in 3d games  (Read 185 times)

Creating forest etc in 3d games
« on: 23 Mar 2021, 13:38 »
Hey! I've been playing around with 3d lately and before doing something "stupid" I thought I should ask someone who knows about these things. When you create a forest for example with a gazillion objects, how to do it? I can't imagine that you place one model at a time and then maybe by 2024 you have a complete forest. Should  i keep like 20 trees in one model file and then clone them or is that bad practice?
« Last Edit: 23 Mar 2021, 13:47 by Mouth for war »
mass genocide is the most exhausting activity one can engage in, next to soccer

Darth Mandarb

  • Evil Sith Lord
  • Mittens Vassal
  • AGS Baker
    • Lifetime Achievement Award Winner
    • Darth Mandarb worked on one or more games that won an AGS Award!
    •  
    • Darth Mandarb worked on one or more games that was nominated for an AGS Award!
Re: Creating forest etc in 3d games
« Reply #1 on: 23 Mar 2021, 13:50 »
Are you looking to render the forest (in the game) in real-time? Or will it be pre-rendered backgrounds that were built in 3D?

If the former I would recommend a few models for the "close up" trees to cut down on total polygons (you probably only need two or three base models) and use a particle system to spread them around the immediate area. For the far-off trees you could use planes that wrap around the scene and slap some repeating tree texture maps on them. Another cool thing you could do if the game itself is in 3D is you could slap a displace modifier on the tree particle system and drive it with a noise filter to make the leaves swaying a bit. It's such a great effect!

If the latter I would say go hog with a particle system (again really only need two to three base models and let the particle system vary the rotation/scale for you).

Good luck!

eri0o

Re: Creating forest etc in 3d games
« Reply #2 on: 23 Mar 2021, 13:54 »
On Unreal there's a vegetation tooling, and you can use it to place the vegetation easily - you can either make your own or download prebuilt trees and other elements. I noticed I have to plan my environments so that it has an uneven terrain so things get culled/hidden by geometry to reduce the impact on perfomance.

The tooling on Unreal also can be used procedurally: https://docs.unrealengine.com/en-US/BuildingWorlds/OpenWorldTools/ProceduralFoliage/QuickStart/index.html

What is the platform you are developing?
« Last Edit: 23 Mar 2021, 14:01 by eri0o »

Re: Creating forest etc in 3d games
« Reply #3 on: 23 Mar 2021, 14:02 »
Thanks! It will be a 3d game so no prerendered bg's. I'll see what the engine is capable of regarding that particle stuff. In worst case scenario i'll make smaller areas. I'm not gonna go Skyrim crazy here :-D
mass genocide is the most exhausting activity one can engage in, next to soccer

Re: Creating forest etc in 3d games
« Reply #4 on: 23 Mar 2021, 14:04 »
I'm using the 3d addon called firefly for Clickteam's Fusion  software so it's not as sophisticated as unity or unreal I'm afraid. I'll see what can be done. Thanks :-)
mass genocide is the most exhausting activity one can engage in, next to soccer

Re: Creating forest etc in 3d games
« Reply #5 on: 23 Mar 2021, 14:35 »
It does have a particle and a terrain object though so maybe it's possible to get stuff done :-D
mass genocide is the most exhausting activity one can engage in, next to soccer

eri0o

Re: Creating forest etc in 3d games
« Reply #6 on: 23 Mar 2021, 15:04 »
I noticed it's compatible with a bunch of file formats, so maybe it's possible to script this either in a text file or in other engine and import it if it's not easy to do on it.

Re: Creating forest etc in 3d games
« Reply #7 on: 23 Mar 2021, 15:20 »
Scripting something like that sounds complicated but maybe it's not so bad? :-)
mass genocide is the most exhausting activity one can engage in, next to soccer