![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
10-23-13, 05:36 PM
|
#1 | |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
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. |
|
|
10-23-13, 06:35 PM
|
#2 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
@ 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 Last edited by gap; 10-23-13 at 06:45 PM. |
|
|
|
10-23-13, 07:14 PM
|
#3 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
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? |
|
10-23-13, 08:11 PM
|
#4 |
|
Ace of the deep .
|
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 .
|
|
|
10-24-13, 01:14 AM
|
#5 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
10-24-13, 01:19 AM
|
#6 | |
|
Ace of the deep .
|
Quote:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
