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 10-23-13, 05:36 PM   #1
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Targor Avelany View Post
It also means that you would need 2 types of the balloons in the game, with 2 different models.
That is kind of incorrect. And it does go to discusions I've had with gap about how 3D models can/do work in all SH Versions.

The first thing you need to over come is the thought that you need multi-3d Models for any reason. That is not true and it has been proven.

The second thing you need to understand is how to use a single 3D model when and where you want it. That part is easy once you do it!

So as an example I'll use all the little lifeboats on each ship in Game.
Why are there so many in each ship? And this is GR2 and dat related!

We know that every 3D model gets planted into memory at some point.
The more the 3D models? The heavier it all gets.
Now what if you reduce the actual 3D model count and do a reference call to a single model that renders as if you didn't do a thing?
Does that work? Yep. Check the Munsell Fort in GWX 3 for the perfect example! And I learned that from STOCK files in SH3!

Why did the Dev's not use this in versions beyound SH3? I'll risk thinking they had a sort of codeing blinder on.
As they went from 3 to 4 to version 5? I can see this type blinder at work. Not saying they fail at their job.
They understood the code they were forced to work with. We found flaws and ways to work around them.

Look at SH3 files. Once you remove dynamic shadows? Why is code still in the dats that has no reason? Cost and time say just disable that. It still gets loaded in memory but we ain't gonna use it. (Yes I have seen it loaded into memory)

So if you have done a basic import of SH4 Units to SH5? How much actual garbage did you drag in that may cause problems?
How well does anyone actually understand how to slim this type issue down?
You want to drop lag issues and such?

Last edited by Madox58; 10-23-13 at 06:04 PM.
  Reply With Quote
Old 10-23-13, 06:35 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by privateer View Post
That is kind of incorrect. And it does go to discusions I've had with gap about how 3D models can/do work in all SH Versions.
yep, given the limitation of SH5 game engine which have already started showing up (see the random ctd's discussion going on since 2-3 weeks ago) the future of SH5 modding is all about optimization.

@ Targor

I think I have the concept presented by privateer pretty clear in my mind and I can provide some practica examples, if you want. In short, instead of having multiple instances of the same mesh inported in game files as individual objects, we can have just one of them, which can be linked to as many nodes/bones as we want. The linking can be intra- and inter- files.

Multiple references to the same mesh in one file are done through the Model Id property of each node. The same model id can be used multiple times in a file, as far as its index number is lower than the index number of the nodes that the model gets linked to. This is relative to dat models. Doing the same with GR2 models is theoretically feasible but still not possible due to a limitation of TDW's editor, which limits us to only have a bone binding per mesh.

As for the linking of a model in a file to a bone/node in a second file, there's the Mergectrl controller for it. IIRC the same controller can be used for both GR2 and dat files, if not, a similar controller is used for dat objects. So, if for instance we needed for two balloon ship equipments, each with its own operation height, but using the same balloon model, we should create 2 files containing just cables of different heights. Then, we could give the two files two MergeCtrl controllers, containing referencse to the one common balloon body model, stored in a third file. If the two equipments will happen to be rendered in game at the same time, the game will need to load the balloon meshes just one time, rather than two

P.S: privateer, please correct me if I have reported wrong or incomplete information
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 10-23-13 at 06:45 PM.
gap is offline   Reply With Quote
Old 10-23-13, 07:14 PM   #3
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Seems you have the concept down Mate.


The GWX4 project looked heavily towards this very idea.
Slim the demands on how the Game Engine uses files to improve preformance. Then improve 3D model files for the eye candy.

We looked at how many ships are in the Game and what parts of those ships are repeated. The numbers of same 3D models will blow your mind!
Lifeboats alone is crazy! 3 or 4 models would cover all the lifeboats alone.

Given the repeat 3D models in all the files? Can you see what type saveings could be done?
  Reply With Quote
Old 10-23-13, 08:11 PM   #4
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Some of the modded dds files are crazy sizes and yes the score for optimisation mods for SH5 so far is 0 out of 10 . Just buy a bigger graphics card LOL .
THE_MASK is offline   Reply With Quote
Old 10-24-13, 01:14 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by sober View Post
Some of the modded dds files are crazy sizes and yes the score for optimisation mods for SH5 so far is 0 out of 10 . Just buy a bigger graphics card LOL .
I would recommend you and Rongel adding "DynEnv v2.9 - 2. Main Mod Low Resolution Patch" to your respective mod lists. The super detailed textures contained in the main mod are good for screenies, but no one will notice the difference in action... oh well, on average systems there is actually going to be a probable side effect to it: smoother frame rates
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-24-13, 01:19 AM   #6
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by gap View Post
I would recommend you and Rongel adding "DynEnv v2.9 - 2. Main Mod Low Resolution Patch" to your respective mod lists. The super detailed textures contained in the main mod are good for screenies, but no one will notice the difference in action... oh well, on average systems there is actually going to be a probable side effect to it: smoother frame rates
added
THE_MASK is offline   Reply With Quote
Reply

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:49 AM.


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.