SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [needed] how do you make a good occlusion map for a gun (https://www.subsim.com/radioroom/showthread.php?t=150275)

keltos01 04-05-09 08:07 AM

[needed] how do you make a good occlusion map for a gun
 
http://img55.imageshack.us/img55/3392/51217447.jpg

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 :damn:

keltos

Nisgeis 04-05-09 11:01 AM

Does the AO map look OK in your 3D program? At which stage does it go wrong?

keltos01 04-05-09 04:44 PM

http://img10.imageshack.us/img10/7384/10547933.jpg



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
:damn:

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 :

http://img87.imageshack.us/img87/8531/81097539.jpg


why ?

keltos

Nisgeis 04-05-09 04:49 PM

If you can send me the files, I will have a look at it.

keltos01 04-05-09 05:12 PM

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...:damn:

Keltos

Nisgeis 04-06-09 03:36 AM

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.

keltos01 04-06-09 11:04 AM

Thanks a lot Nisgeis, will do and report :salute:

keltos

keltos01 04-06-09 11:21 AM

http://img522.imageshack.us/img522/8472/5inchsingle.jpg

Ok THANKS NISGEIS !!!

I used to export my obj with two uv maps all the time, but I never knew why I did it, just cause objects ingame have two or three, never bothering to tray and understand why.

now I know, thanks to you :yeah:

We're saved cause that had been bugging me for days.

You will be in the credits :yep: welcome to the team ;)

Keltos

keltos01 07-31-10 04:20 AM

bump


All times are GMT -5. The time now is 09:57 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.