Index  | Recent Threads  | 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: 91
Posts: 91   Pages: 10   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1972403 times and has 90 replies Next Thread
Xlance
Advanced Member
Member's Avatar


Joined: Mar 23, 2020
Post Count: 122
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

@Keet
Replace your file with this! Does this solve it ?

https://www.mediafire.com/file/olmfxvr1ufjwuwt/TerrainGenerator-1.4.2.sh3p/file
----------------------------------------

Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
[Mar 31, 2026, 11:38:44 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: 1807
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

First of all: Thank you for the fast response. I misread "Grid divisions" for "Grid size". That doesn't change what happened but it clears up my understanding of the number that was written in the Home.xml file.

I created a terrain with grid size 30 and a second room with grid size 50. Selecting them both and using the TerrainGenerator causes one of the rooms to display the weird spikes. What I already detected is that combining rooms with a different grid size causes problems.

Make the grid division number read-only because it's just a calculation with the grid size and room size. It's not a number that you should use to change the grid, that's what the grid size is for. What is important is that with multiple rooms they all have the same grid size. Creating both rooms with the same grid size and then combine them for a single terrain is now correct.

Problem solved. But you should find a way to alert users that multiple rooms require the same grid size in order to combine them.
- Check on startup if multiple selected rooms have the same grid size. If not give a warning message that the rooms must have the same grid size for a correct combined terrain.
Or
- Automatically change the grid size for all selected rooms to the grid size of the room with the smallest grid size (most detailed).

Now I have to find a nice height-map to see if that can be used for my ShoppingMall terrain
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects
[Apr 1, 2026, 7:25:31 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Xlance
Advanced Member
Member's Avatar


Joined: Mar 23, 2020
Post Count: 122
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

@Keet
Check on startup if multiple selected rooms have the same grid size. If not give a warning message that the rooms must have the same grid size for a correct combined terrain.

https://www.mediafire.com/file/82e03sfsea22lhn/TerrainGenerator-1.4.4.sh3p/file

smile
----------------------------------------

Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
[Apr 1, 2026, 5:10:47 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: 1807
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

Now it works surprisingly well. Changing a combination of two rooms that were created with different grid sizes works great. Of course you can faintly see a seam where the two rooms touch but that's inevitable with different grid sizes. To avoid the seam you have to change the grid sizes to be equal before you start elevating.
Very well done!
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects
[Apr 1, 2026, 5:56:08 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Xlance
Advanced Member
Member's Avatar


Joined: Mar 23, 2020
Post Count: 122
Status: Offline
Reply to this Post  Reply with Quote 
Re: Terrain Generator plug-in

@Puybaret
FYI :-)
----------------------------------------

Windows 64bit | Intel i7 | 8GB Ram | SH3D 7.5 + Plugins
[Apr 3, 2026, 1:05:20 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: 91   Pages: 10   [ Previous Page | 1 2 3 4 5 6 7 8 9 10 ]
[ 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