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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-18-08, 06:35 AM   #1
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by privateer
...
May come in handy on the Dynamic Shadows stuff.
FPS ... ???

__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 12-18-08 at 06:35 AM.
Anvart is offline   Reply With Quote
Old 12-18-08, 10:52 AM   #2
piri_reis
Seasoned Skipper
 
Join Date: Aug 2005
Location: Istanbul, Turkiye
Posts: 715
Downloads: 115
Uploads: 0
Default

Thanks for the new version skwasjer.
I just upgraded S3d, came across 2 error messages. Searched this thread but couldnt find anything. Does the new version have extra requirements than the older S3d? (I have dx9c and .net2 installed)

Importing the same obj file that the older s3d had no problems with:



And 3d viewer gives me a directx error:

__________________

Lt.z.S. Barbaros Hayreddin, U-35, 2nd Flot/Kiel, Type VIIB
Oct.29.1939, 2nd Patrol Eastern English Waters
Running SH5/TWOS
piri_reis is offline   Reply With Quote
Old 12-18-08, 12:01 PM   #3
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

No new requirements. It's most likely a bug.

Can you please provide me the OBJ-file and DAT-file so I can have a look at it?
skwasjer is offline   Reply With Quote
Old 12-18-08, 12:18 PM   #4
piri_reis
Seasoned Skipper
 
Join Date: Aug 2005
Location: Istanbul, Turkiye
Posts: 715
Downloads: 115
Uploads: 0
Default

Quote:
Originally Posted by skwasjer
Can you please provide me the OBJ-file and DAT-file so I can have a look at it?
Sure, PM'ing you a link.
The straight export from S3d and import back, without changing anything, gives the "0,0 is not a value for Double" error; happened on 10 different models I tried, some from Sh3 and Sh4.

The 3d model viewer worked for all models except the one I mentioned on the previous message. (u-53 eagle turm7b for gwx)
__________________

Lt.z.S. Barbaros Hayreddin, U-35, 2nd Flot/Kiel, Type VIIB
Oct.29.1939, 2nd Patrol Eastern English Waters
Running SH5/TWOS
piri_reis is offline   Reply With Quote
Old 12-18-08, 12:44 PM   #5
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

nice, just dl it !

btw do you know how to add a "bump" map to a submarine ? since they don't have them like normal ships do ?

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 12-18-08, 12:55 PM   #6
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

Add a material (copied from a ship) with a light map, point the new material at your map, then point to the new material node (in the nodes for 3d models) as a secondary material?

Last edited by tater; 12-18-08 at 12:56 PM.
tater is offline   Reply With Quote
Old 12-18-08, 01:19 PM   #7
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

I will have to check that keltos. I think all you have to do is add the N01 texture (and verify the BumpEnable in UnifiedRenderControler is on) but I have not verified this. Bump maps use the 1st uv-set.

Basically subs are rendered the same way ships are, so if you use an identical setup it should work.

Last edited by skwasjer; 12-18-08 at 01:22 PM.
skwasjer is offline   Reply With Quote
Old 12-18-08, 01:37 PM   #8
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 28
Uploads: 3
Default

Quote:
Originally Posted by piri_reis
And 3d viewer gives me a directx error:

Regarding this 2nd issue, S3D attempts to set a device state (it depends on materials in DAT-file) that your GFX does not support. I should have included a test whether or not the parameter is supported by certain cards. I'll have to provide a fix for this.

Last edited by skwasjer; 12-18-08 at 01:37 PM.
skwasjer is offline   Reply With Quote
Old 12-18-08, 03:25 PM   #9
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default bump maps

I've made two, one for the Jyunsen B and one for the Type AM submarine.

I've uploaded them on my main FF page, for those who have my mod and wanna try to get them working

I've changed this :

[UserPlayerUnit 1]
ID=Jyunsen_B
NameDisplayable=Jyunsen B
UnitName= SS-I 25
Type=Jyunsen_B
UpgradeClass=2
UnitInterval= 1941-10-01, 1945-12-31
ExternalClassName=SSJyunsen_B
Nationality=German
CrewRanks=15
Evolution= Normal
Damage= 0
TextureName=data/Submarine/NSS_Jyunsen_B/NSS_Jyunsen_B_T01.tga
LightmapTextureName=NULL; data/Submarine/Nss_Jyunsen_B/NSS_Jyunsen_B_001.tga
NormalmapTextureName= data/Submarine/Nss_Jyunsen_B/NSS_Jyunsen_B_N01.tga
MenuSilhouetteTextureName= Jyunsen_B_1.tga
MaxPettyOfficers=32 ; max number of crewmembers over rank 4
MaxOfficers=6 ; max number of crewmembers over rank 7

we'll see...

Keltos

link :

http://files.filefront.com/Bump+map+.../fileinfo.html
__________________
"Honorable Builder of Sinking Ships"


Last edited by keltos01; 12-18-08 at 03:28 PM.
keltos01 is offline   Reply With Quote
Old 12-18-08, 03:58 PM   #10
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default bump

the change written in my earlier post did it :


no bump :



bump :



so all we have to do is activate the bump map ! good idea Skwasjer !!!

now I've made two more bump maps for the towers of the Type AM and of the Jyunsen B, how do I get them to show as they have no upcge file like the hull ????


Keltos
__________________
"Honorable Builder of Sinking Ships"


Last edited by keltos01; 12-18-08 at 04:40 PM.
keltos01 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 10:52 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.