Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 70
Posts: 70   Pages: 7   [ Previous Page | 1 2 3 4 5 6 7 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 241087 times and has 69 replies Next Thread
chris.williams@systemvision.co
Newbie



Australia
Joined: Feb 18, 2023
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

Hello,
Trying to run the Terrain Generator under windows 11 and it keeps crashing.
The scenario is that I have a large block of land and I've created a room to represent the block of land. when I try to run the plug-in, The pop-up window appears for a short period and then crashes the whole program
Tried version 1.2.1, 1.2, 1.1 and same issue.
Any suggestions?
Thanks
[Feb 18, 2023, 5:31:54 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1444
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

Hello,
Trying to run the Terrain Generator under windows 11 and it keeps crashing.
The scenario is that I have a large block of land and I've created a room to represent the block of land. when I try to run the plug-in, The pop-up window appears for a short period and then crashes the whole program
Tried version 1.2.1, 1.2, 1.1 and same issue.
Any suggestions?
Thanks
How large is 'large'? The maximum size I managed to reasonably generate is approximately 300mx300m. Anything bigger and it either takes many hours to just start or it just stops, i.e. it crashes back to the plan. Too big also has the disadvantage that any movement takes again a very long time to complete, making it virtually unworkable.
Try dividing your large block into a grid of smaller rooms and generate just a few parts leaving the borders untouched. Select the next set of rooms overlapping the previous set of blocks to generate the next part. I tried it with sets of 3x3 rooms of 100mx100, resulting in a 300x300 square. Very slow but it worked.
You will need a LOT of patience.
A very fast computer might stretch your options to a slightly bigger size. Also make sure to give SH3D/Java more memory if you haven't done that yet: https://www.sweethome3d.com/support/forum/vie...BBBA35690A13356E54D7#5802
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects
[Feb 18, 2023, 12:34:16 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1444
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

To add to my previous post:
After you have generated a set of rooms just delete the generated terrain object. The data itself is stored in the room so it's not lost. After you have completed elevating all grid blocks you can generate each single grid block or sets of consecutive 3x3 blocks to regenerate terrain objects that fill you total terrain.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects
[Feb 18, 2023, 12:38:58 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
cactuskid02
Newbie



USA
Joined: Oct 23, 2019
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

Has anybody tried creating a function to read a topology map and generate terrain from that, inputting the gradient scale and direction of slope?
[Aug 24, 2023, 12:44:37 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1444
Status: Offline
Reply to this Post  Reply with Quote 
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...es-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
[Aug 24, 2023, 1:30:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4009
Status: Online
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

You may want to read this thread...

H
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Aug 24, 2023, 2:04:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 474
Status: Offline
Reply to this Post  Reply with Quote 
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?).
[Aug 24, 2023, 2:13:15 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1444
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

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?).
No, you have to fix the number format but there seems to something else wrong too. I haven't figured it out yet.

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
----------------------------------------
[Edit 1 times, last edit by Keet at Aug 24, 2023, 3:01:43 PM]
[Aug 24, 2023, 2:27:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1444
Status: Offline
Reply to this Post  Reply with Quote 
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.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects
[Aug 24, 2023, 3:30:15 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
cactuskid02
Newbie



USA
Joined: Oct 23, 2019
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
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.


[Aug 24, 2023, 3:47:28 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 70   Pages: 7   [ Previous Page | 1 2 3 4 5 6 7 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved