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 04-05-09, 08:07 AM   #1
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default [needed] how do you make a good occlusion map for a gun



I can't seem to get it right...

does anyone know how (other than the occlu tutorial here at subsim) to make a good occlusion map for the Deck Gun ?

Like the german one you see here above ?

when I make one, it doesnt astick on our single 5.5 inch gun but does on the double

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 04-05-09, 11:01 AM   #2
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Does the AO map look OK in your 3D program? At which stage does it go wrong?
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Old 04-05-09, 04:44 PM   #3
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default





I made the occlusion map for the barrel of my 5.5 inch deck gun in 3ds, there it looks ok.

I then transform it from TGA to dds using photoshop cs3.

I then load up the model in the .dat, link it to the texture node which points to a T01 file for the texture and a 001 file with the occlusion map.

the same is true for the base of the gun. the base gets both texture and occlusion maps loaded,

the barrel does not


I tried cloning the working double barrel dg and replacing all the relevant filenames with those of the single and remapping ids to no avail.

As you can see on the IJN campaign thread, the double DG has both texture and AO map showing, the single just won't !

here is the working double DG :




why ?

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 04-05-09, 04:49 PM   #4
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

If you can send me the files, I will have a look at it.
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Old 04-05-09, 05:12 PM   #5
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

Thanks Nisgeis,

there are two folders in the .rar :

http://www.mediafire.com/file/45muoj...inch_04_01.rar

one named 5inchdual (the working AO one)

one named 5inchsingle (the Iwi****worked AO one)

Thanks, been at it for days now...

Keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 04-06-09, 03:36 AM   #6
Nisgeis
Ocean Warrior
 
Join Date: Jan 2008
Posts: 2,909
Downloads: 77
Uploads: 11
Default

Your node 'Single_55inch_IJN_breech' which has the 3D model in it for the barrel has only one set of texture coordinates, so it will only use the diffuse texture. You need to export the barrel and then also save the AO map co-ordinates for the barrel as a -uv2.uvw file, or as an obj file, the same way you must have done for your double gun.
__________________
--------------------------------
This space left intentionally blank.
Nisgeis is offline   Reply With Quote
Reply


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


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.