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-20-11, 06:21 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Will-Rommel View Post
One can smell the hate growing !
what hate? from whom?
TheDarkWraith is offline   Reply With Quote
Old 10-20-11, 06:29 PM   #2
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

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)
THE_MASK is offline   Reply With Quote
Old 10-20-11, 06:32 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
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)
I'll look into those.

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
TheDarkWraith is offline   Reply With Quote
Old 10-20-11, 07:05 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
I couldnt open C:\Ubisoft\Silent Hunter 5\data\Terrain\Locations\CustomAreas\Port_pieces\P ort_U
(opens but doesnt show anything)
That was because my camera parameters were WAY too tight. I loosened them way up

v1.0.155.0 released. See post #1.

You can see it now

Now it's time to render with textures....
TheDarkWraith is offline   Reply With Quote
Old 10-20-11, 07:12 PM   #5
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

I can open them now . Couldnt find a GR2 with 1 material defined .
THE_MASK is offline   Reply With Quote
Old 10-20-11, 09:31 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

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.
TheDarkWraith is offline   Reply With Quote
Old 10-20-11, 06:36 PM   #7
Will-Rommel
Chief
 
Join Date: Jan 2008
Posts: 319
Downloads: 81
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
what hate? from whom?
I meant that i havent seen you in such a frenzy since IRAI's beginning i think.
__________________
-Fighting is a lifestyle-
Will-Rommel is offline   Reply With Quote
Old 10-20-11, 06:49 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Will-Rommel View Post
I meant that i havent seen you in such a frenzy since IRAI's beginning i think.
Taking something apart and learning from it is fascinating to me. Yes I will devote a lot of time to it


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
TheDarkWraith 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 04:50 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.