Terrain Generator plug-in
This topic has been viewed 1959798 times and has 90 replies
Re: Terrain Generator plug-in
It's outside of the capabilities of Sweet Home 3D and I'm investigating the possibilities too. Mainly because the size of the terrain I want to create is many times bigger than the Terrain Editor can handle.
Here are some links to start your research:
https://gamedevelopment.tutsplus.com/creating-realistic-terrain-for-html5-games-with-webgl--cms-24539t
https://polycount.com/discussion/88933/how-to-make-terrains-for-games
https://touchterrain.geol.iastate.edu/
To create a height map: https://tangrams.github.io/heightmapper/
The biggest problem is not creating the terrain but to create a good looking texture. The easiest way is to heightmap an existing terrain and start with a screenshot for editing in GIMP.
Warning: it's a LOT of work.
Here are some links to start your research:
https://gamedevelopment.tutsplus.com/creating-realistic-terrain-for-html5-games-with-webgl--cms-24539t
https://polycount.com/discussion/88933/how-to-make-terrains-for-games
https://touchterrain.geol.iastate.edu/
To create a height map: https://tangrams.github.io/heightmapper/
The biggest problem is not creating the terrain but to create a good looking texture. The easiest way is to heightmap an existing terrain and start with a screenshot for editing in GIMP.
Warning: it's a LOT of work.
Dodecagon.nl
1300+ 3D models, manuals, and projects
1300+ 3D models, manuals, and projects
- Daniels118
- Posts: 503
- Joined: Wed Nov 17, 2021 9:04 pm
- Country: Italy
Re: Terrain Generator plug-in
This could be of some interest: https://www.youtube.com/watch?v=5EV1elNFNSM
Once you have done, just export it in OBJ format and import it in SweetHome3D.
There is this too: https://touchterrain.geol.iastate.edu/
It allows to export to OBJ format, but SH3D fails to open it, maybe it's just matter of adjusting some lines in the file (missing material?).
Once you have done, just export it in OBJ format and import it in SweetHome3D.
There is this too: https://touchterrain.geol.iastate.edu/
It allows to export to OBJ format, but SH3D fails to open it, maybe it's just matter of adjusting some lines in the file (missing material?).
Re: Terrain Generator plug-in
No, you have to fix the number format but there seems to something else wrong too. I haven't figured it out yet.It allows to export to OBJ format, but SH3D fails to open it, maybe it's just matter of adjusting some lines in the file (missing material?).
Edit: Correction, just remove all comma's and you can import it in Sweet Home 3D. I don't remember where I encountered the wrong number format.
Dodecagon.nl
1300+ 3D models, manuals, and projects
1300+ 3D models, manuals, and projects
Re: Terrain Generator plug-in
Concerning a terrain created with touchterrain:
Sweet Home 3D doesn't allow a size beyond 100000cm (1km). For a sizable terrain that is of course insufficient but there is a trick to circumvent this: After import save and close the project. Now edit the Home.xml file where you can increase the size. I managed to get a terrain of 100kmx100km by increasing every size of the terrain object.
> The 3Dview might have a few problems (black background when you zoom out).
> Export and import from Sweet Home 3D will reduce the obj file size significantly without loosing the increased size.
> Strangely, that same export/import increases the reported model size in Sweet Home 3D
> The 2Dview becomes a little useless because you can't zoom out far enough to see the whole terrain after you increased the size.
> Resizing will make parts a little blocky so first import the model in blender to smooth it.
> If you need a terrain just a little over the 1km limit this method is very useful. Maybe up to 5kmx5km.
I abandoned this type of terrain because I don't necessarily need the terrain in Sweet Home 3D itself. I'm investigating html terrains as used in web-games and will try to add multiple Sweet Home 3D projects to that terrain.
Sweet Home 3D doesn't allow a size beyond 100000cm (1km). For a sizable terrain that is of course insufficient but there is a trick to circumvent this: After import save and close the project. Now edit the Home.xml file where you can increase the size. I managed to get a terrain of 100kmx100km by increasing every size of the terrain object.
> The 3Dview might have a few problems (black background when you zoom out).
> Export and import from Sweet Home 3D will reduce the obj file size significantly without loosing the increased size.
> Strangely, that same export/import increases the reported model size in Sweet Home 3D
> The 2Dview becomes a little useless because you can't zoom out far enough to see the whole terrain after you increased the size.
> Resizing will make parts a little blocky so first import the model in blender to smooth it.
> If you need a terrain just a little over the 1km limit this method is very useful. Maybe up to 5kmx5km.
I abandoned this type of terrain because I don't necessarily need the terrain in Sweet Home 3D itself. I'm investigating html terrains as used in web-games and will try to add multiple Sweet Home 3D projects to that terrain.
Dodecagon.nl
1300+ 3D models, manuals, and projects
1300+ 3D models, manuals, and projects
-
cactuskid02
- Posts: 5
- Joined: Wed Oct 23, 2019 5:10 pm
- Country: USA
Re: Terrain Generator plug-in
I am trying to replicate my home property to plan out my home modifications. Honestly, this idea worked great. Replicated the slope and direction perfect. My land drops 16' over 200' (front to back). I look down on the top of my RV from the road, it is that drastic. Doing this any other way was a pain in the backside.
[img]file:///Users/mirohr/Desktop/Screenshot%202023-08-24%20at%2010.45.55%20AM.png[/img]
[img]file:///Users/mirohr/Desktop/Screenshot%202023-08-24%20at%2010.45.55%20AM.png[/img]
Re: Terrain Generator plug-in
A slope angle would be very useful. Or have I missed it?
Re: Terrain Generator plug-in
You can't enter a slope angle but you can combine the 'Row modification' with the 'Influence radius' to get different angles.
[hr]For those searching for a terrain generator that also creates a texture and is usable for large terrains: https://prof-yaffle.itch.io/terrain-generator.
The obj/mtl export imports perfectly in Sweet Home 3D although it's very small when imported. Just increase its size a thousand times for a great terrain. It also has options for water and sky. And most amazingly it includes a good manual!
Available for Linux, Windows, OSX.
(And C#/Unity source code is also available.)
[hr]For those searching for a terrain generator that also creates a texture and is usable for large terrains: https://prof-yaffle.itch.io/terrain-generator.
The obj/mtl export imports perfectly in Sweet Home 3D although it's very small when imported. Just increase its size a thousand times for a great terrain. It also has options for water and sky. And most amazingly it includes a good manual!
Available for Linux, Windows, OSX.
(And C#/Unity source code is also available.)
Dodecagon.nl
1300+ 3D models, manuals, and projects
1300+ 3D models, manuals, and projects
Re: Terrain Generator plug-in
Hi, thanks for this great plugin!
Is there anyone else having problems with levels below 0, where the terrain will be shown higher than it should be?
I tried to fix this in the code but miserably failed
To me it looks like negative elevation is being ignored / set to 0.
Is there anyone else having problems with levels below 0, where the terrain will be shown higher than it should be?
I tried to fix this in the code but miserably failed
Re: Terrain Generator plug-in
Oops, the problem is also present in higher levels and the reason is that the plugin always uses 0 as base instead of the current level's elevation.Hi, thanks for this great plugin!
Is there anyone else having problems with levels below 0, where the terrain will be shown higher than it should be?
I tried to fix this in the code but miserably failedTo me it looks like negative elevation is being ignored / set to 0.
Who is online
Users browsing this forum: No registered users and 1 guest