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 12-29-18, 02:51 PM   #1
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,655
Downloads: 137
Uploads: 0


Default

Really glad you and Mihai hooked up!
Jeff-Groves is offline   Reply With Quote
Old 12-29-18, 04:48 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jeff-Groves View Post
Really glad you and Mihai hooked up!
What do you know about LOD distances in the GR2 format?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-29-18, 04:59 PM   #3
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,655
Downloads: 137
Uploads: 0


Default

As far as I know off the top of my head there is nothing in the GR2 about LOD. No extra 3D models or such.
Now SH4 has a LOD setting but I don't recall without looking where it's at.
Let me check a few things and get back to you on this.
Jeff-Groves is offline   Reply With Quote
Old 12-29-18, 05:18 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by gap View Post
What do you know about LOD distances in the GR2 format?
I will make myself clearer. This is a first rework of Helgoland:



Maybe, on the far right, you will notice a sea stack, the famous Lange Anna, that I have modelled and imported in game.

The problem is that it keeps popping in and out, depending on camera distance and angle. The same goes for shadows, water reflections and other lighting effects. The same applies to other terrain objects (but not all of them!), though normally we won't notice them disappearing as we move away from them due to their proportionally smaller dimensions and to their fading in the background.
IIRC, SHIII and IV terrain objects have far rendering controllers which set the minimum dimension of objects printed on screen before the game stops rendering them. In SH5, sea and air units have LOD models, but nowhere I could find a controller similar to the ones used in SHIII. Units and terrain objects are probably treated in a different way. For one, the latter have no LOD models, when the player is too far from them, they simply disappear, but as I said they all don't disappear at the same time. An object-specific pararmeter must tell the game when it is time to stop rendering any given object and since most of them have only the StaticObject and the HarborObjectCtrl controller applied to them (one related with collision, and the other with night/winter textures), this something must be stored directly in the GR2 models
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-29-18, 05:27 PM   #5
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,655
Downloads: 137
Uploads: 0


Default

Is that imported as a dat file with the Unifiedrender controller?
There is a LOD factor under that.
Jeff-Groves is offline   Reply With Quote
Old 12-29-18, 05:33 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jeff-Groves View Post
Is that imported as a dat file with the Unifiedrender controller?
There is a LOD factor under that.
No, it is a GR2 file. I imported it into Iceberg01.GR2 first, and then into church.GR2. Little seems to have changed though.

Here is a closer view of the red stack:



Considering how low poly it is, I think it looks pretty nice, especially when the lighting effects "pop in"
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 12-29-18, 05:46 PM   #7
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,655
Downloads: 137
Uploads: 0


Default

what texture are you using and how many mip maps?
Jeff-Groves is offline   Reply With Quote
Old 12-29-18, 06:07 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Jeff-Groves View Post
what texture are you using and how many mip maps?
diffuse map: DX5 dds format, 1024 x 1024 pixels, 11 mip levels, with self-illumination map in the alpha channel.
ambient occlusion and normal maps: DX1 dds format, 1024 x 1024 pixels, 11 mip levels each.

PS: congratulations for your recently earned and well deserved patch
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 12-29-18 at 06:21 PM.
gap is offline   Reply With Quote
Reply

Tags
enviromental mod, environment, terrain, trees, vegetation


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 11:06 PM.


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