SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-07-19, 07:49 PM   #1
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,744
Downloads: 303
Uploads: 0


Default

Just wanted to break in and say, excellent work!
The fields are so lush and yummy looking. It's the lack of stuff like this that turned me off SH5. Love how the sea stack has geological layers - reminds me of the hills in Pennsylvania.
iambecomelife is offline   Reply With Quote
Old 01-13-19, 08:30 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Muckenberg View Post
Hi Gap
Unfortunately, I'm from the Czech Republic, so I do not know the details of the Norwegian climate. Holt will have to wait for the fjords, but that does not mean I will not look forward. You do a great job and push SH5 a little higher.
Quote:
Originally Posted by iambecomelife View Post
Just wanted to break in and say, excellent work!
The fields are so lush and yummy looking. It's the lack of stuff like this that turned me off SH5. Love how the sea stack has geological layers - reminds me of the hills in Pennsylvania.
Thank you guys, I had no time to work on this mod in the last weeks, but I am planning an update within the next few days
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 01-18-19, 04:36 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quick update on terrain object's LOD issue

As expected, the MinRenderDim controller does nothing on GR2 object, but there is more: wanting to discover what made LOD ranges too short for my sea stack model, I created a copy of one of the stock objects with the longest ranges, and I imported my model into it.

I supposed LOD ranges to be governed by some little know or hidden parameter in mesh's extended data, and I hoped that after switching to a GR2 file with the appropriate ExtendedData settings my model would have been visible from further away, but unfortunately I was wrong and, at close distance, the model was popping in and out as I moved closer of further away from it.

The next step was copying the same (stock) GR2 file used in my previous test, and using it in place of the sea stack without further changes. Result: I could see the model (a group of buildings) from a long distance with no sudden "pop up effect".

At this point I started thinking that LOD distances could be ID/bone name related and that by renaming the bones I could have made the game not to recognize my object as a proper terrain object. To check that I imported the sea stack mesh in the same file as before without changing bone names, but again LOD ranges were too short. That excluded bone names from my list of suspects and it left me with just one reasonable hypothesis LOD ranges are mesh-related. To confirm that, I re-imported the original (stock) mesh in the file of my tests and, in accordance with my last statement, the object was visible again from a long distance.

What can tie meshes and LOD distances? There must be an obvious link, but I am missing it
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 01-18-19, 04:49 PM   #4
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Can you post pics of what your talking about?
Jeff-Groves is offline   Reply With Quote
Old 01-18-19, 06:37 PM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jeff-Groves View Post
Can you post pics of what your talking about?
Please check your e-amail: I sent you a copy of my working files and a description of them. I hope that by reproducing the issue on your machine and by looking directly into the files, you will make yourself a better idea on the issue than you could get from simple screenshots
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 01-19-19, 11:55 AM   #6
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

OK. I see what you are talking about now.
Try changing the collision mesh with the one the city GR2 has.
I'd do it but I'm not home and don't have all the needed programs with me.


If that solves the issue create a new collision mesh with a broad base but deep enough to not hit a sub or ship in the area.
I'm looking out the window of my temporary apartment in Cleveland, Ohio right now.


All that view needs is a VIIA in the river. LOL

Last edited by Jeff-Groves; 01-19-19 at 12:15 PM.
Jeff-Groves is offline   Reply With Quote
Old 01-19-19, 01:06 PM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jeff-Groves View Post
OK. I see what you are talking about now.
Try changing the collision mesh with the one the city GR2 has.
I'd do it but I'm not home and don't have all the needed programs with me.


If that solves the issue create a new collision mesh with a broad base but deep enough to not hit a sub or ship in the area.
I think I've got your point, I will do that and I will let you know if it works

Quote:
Originally Posted by Jeff-Groves View Post
I'm looking out the window of my temporary apartment in Cleveland, Ohio right now.


All that view needs is a VIIA in the river. LOL
So nice! I wish we had a SH Great Lakes campaign lol
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 01-19-19, 04:22 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jeff-Groves View Post
Try changing the collision mesh with the one the city GR2 has.
Jeff, you are the man!
After so much messing, the too short LOD range issue is gone for good, and the red pillar rock is now visible from far, far away



What matters for terrain object's rendering distance isn't actually the size of the collision mesh, but the radius of main model's bounding sphere. You put me in the right direction, thank you very much!

This little discovery means that we can add to the game any kind of landmark with all the goodies of the GR2 format. You know what will the next model that I am going to import. Time to PM Jim
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Reply

Tags
enviromental mod, environment, terrain, trees, vegetation

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.