![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
10-20-11, 05:51 PM
|
#136 |
|
Ace of the deep .
|
I opened Silent Hunter 5\data\Terrain\Textures_and_Vegetation\0.Taigas and Dry Lands\vegetation the other day ok with an older version . Cannot remember which one . Doesnt work with the latest version though .
|
|
|
10-20-11, 06:07 PM
|
#137 | |
|
Black Magic
![]() |
Yes there is still more work to do on the importer. I hope to have that resolved soon
Quote:
v1.0.147.0 released. See post #1. No more shredded meshes due to not reading all vertex component data. I wasn't happy with that section of code anyways so it needed a rewrite Let me know if you find any other shredded meshes. There shouldn't be anymore. |
|
|
|
10-20-11, 06:14 PM
|
#138 | |
|
Black Magic
![]() |
Quote:
EDIT: did the same thing to the materials. Fixing it also. Just tried opening lifeboat with changes and it failed. Have to figure out why.... |
|
|
|
10-20-11, 06:20 PM
|
#139 |
|
Chief
![]() Join Date: Jan 2008
Posts: 319
Downloads: 81
Uploads: 0
|
One can smell the hate growing !
__________________
-Fighting is a lifestyle-
|
|
|
10-20-11, 06:21 PM
|
#140 |
|
Black Magic
![]() |
|
|
|
10-20-11, 06:29 PM
|
#141 |
|
Ace of the deep .
|
I couldnt open
C:\Ubisoft\Silent Hunter 5\data\Env\cloud_models C:\Ubisoft\Silent Hunter 5\data\Characters\HumanDialogIndicator C:\Ubisoft\Silent Hunter 5\data\Terrain\Locations\CustomAreas\Port_pieces\P ort_U (opens but doesnt show anything) |
|
|
10-20-11, 06:32 PM
|
#142 | |
|
Black Magic
![]() |
Quote:
I fixed the problem with the lifeboat. Problem was if number of textures = 1 then I had to dereference the pointer and find the actual pointer to the texture. I think the same thing has to be done with the materials but not sure. Anyone know any GR2 file that has only 1 material defined? GrannyViewer will tell you how many materials a GR2 file has. I need to test the app on a GR2 file with only 1 material
|
|
|
|
10-20-11, 06:36 PM
|
#143 |
|
Chief
![]() Join Date: Jan 2008
Posts: 319
Downloads: 81
Uploads: 0
|
I meant that i havent seen you in such a frenzy since IRAI's beginning i think.
__________________
-Fighting is a lifestyle-
|
|
|
10-20-11, 06:49 PM
|
#144 | |
|
Black Magic
![]() |
Quote:
v1.0.153.0 released. See post #1. This will fix the problem of when only 1 texture is defined I had to do something for it. The problem in previous version probably applies to a GR2 file with only 1 material defined but until we can find a GR2 file with only one material defined I can't test my theory. @Sober - this fix fixes the problem with the GR2 files you posted that wouldn't open. The last one where it shows no meshes is odd (Port U). I think I know why. I need to open up my camera parameters for clipping
|
|
|
|
10-20-11, 07:05 PM
|
#145 | |
|
Black Magic
![]() |
Quote:
v1.0.155.0 released. See post #1. You can see it now ![]() Now it's time to render with textures.... |
|
|
|
10-20-11, 07:12 PM
|
#146 |
|
Ace of the deep .
|
I can open them now . Couldnt find a GR2 with 1 material defined .
|
|
|
10-20-11, 09:31 PM
|
#147 |
|
Black Magic
![]() |
v1.0.169.0 released. See post #1.
You can now view the 3D model texturized. Select solid in FillMode tab and make sure texture is checked. Rendering is done still using the fixed-function pipeline so only the "Diffuse Color" is being rendered for the texture. I'll convert to shaders here soon. |
|
|
10-20-11, 10:01 PM
|
#148 |
|
Ace of the deep .
|
Cannot open
C:\Ubisoft\Silent Hunter 5\data\Library\undersea |
|
|
10-20-11, 10:05 PM
|
#149 |
|
Ace of the deep .
|
This might be interesting > it throws an exception and gives a bug report when trying to open .
C:\Ubisoft\Silent Hunter 5\data\Submarine\NSS_Uboat2a\NSS_Uboat2a |
|
|
10-20-11, 10:09 PM
|
#150 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
![]() |
|
|
