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

Reply
 
Thread Tools Display Modes
Old 07-24-17, 02:26 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Results of tests with patch 1 :

- the .tga file embedded in the bismark.dat must be resized at 512x512, original size makes the mission impossible to load.
Maybe there is a limit to the size an embedded texture can have. Anyway I think for final release it wil better resizing our textures and/or compressing them

Quote:
Originally Posted by Kendras View Post
- still a problem of black pixels on the tower model
Okay, at least now we know that the critical element is not our texture per se

Quote:
Originally Posted by Kendras View Post
Result of test with patch 2 :

nothing new, tower is still black (and yes, i have corrected added the new files, there was no data folder)
Sorry, my bad for the wrong file structure

Honestly I was expecting a different answer by you. After reading some other posts on the forum, I think that adding the new map channels to our meshes puts us in the right direction, but obviously there is something else we do wrong.

Unfortunately, as much as I looked into other modders' units and objects, I couldn't find in their files any working example of what I want to do with our lighthouses. From what I have read, I am pretty sure that Hans Witteman made an extensive use of the same concept for specular reflections of his U-BOOT_HAHD project but, pity for us, this brilliant mod was abandoned long ago and Hans is no longer an active member.

All in all, I still have some ideas on what might be causing our reflections not to work and I feel like we are just one step away from the solution. Nonetheless I also think it is about time to take a short rest from texture map issues and to focus on other and more important aspects. IMO, so far our small team has made an excellent job; let not our recent failures spoil our morale

That said, I hope to release tomorrow a new alpha version with some fixes/improvements and a few new features. I ìf we keep up this pace, I don't see us too far away from the beta fase
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-24-17, 02:37 PM   #2
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
After reading some other posts on the forum, I think that adding the new map channels to our meshes puts us in the right direction, but obviously there is something else we do wrong.
Yes, yes, something else. Maybe the_frog can say more to us.

Quote:
Originally Posted by gap View Post
... and I feel like we are just one step away from the solution.
It's my opinion too.

Quote:
Originally Posted by gap View Post
IMO, so far our small team has made an excellent job; let not our recent failures spoil our morale
  Reply With Quote
Old 07-24-17, 03:06 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Yes, yes, something else. Maybe the_frog can say more to us.:
Yes, hopefully he will pop up one of the next days and he will give us an insight on the secrets of SHIII's texture mapping, but of course the know-how of all the other SHIII hard-core modders and 3d modellers is most welcomed too
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-25-17, 07:04 AM   #4
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Just an idea : perhaps the 3D model has to be textured twice : one with a diffuse map, and one with the specular map. In S3D, you create 2 materials, one without specular map controller and big opaque tga, and the other with specular map controller and the 512x512 transparent tga.
  Reply With Quote
Old 07-25-17, 08:55 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Just an idea : perhaps the 3D model has to be textured twice : one with a diffuse map, and one with the specular map. In S3D, you create 2 materials, one without specular map controller and big opaque tga, and the other with specular map controller and the 512x512 transparent tga.
If you look at SHIII's Bismarck, her main model has three materials linked to it: The first material, named 'normal' is used on the hull, and it has a texture with alpha channel embedded and a SpecularMask controller attached. The second material, named 'complete', is mapped on the decks and it has no alpha channel nor SpecularMask controller; the third material, named '2sided', is used on ladders, railings, etc, it uses the same texture as the 'normal' material and likewise it, it has a SpecularMask controller attached but, as the name says, it has the 'Two sided' flag enabled. So, in total, we have two 'specular' materials linked to the same object, and both have the specular map in the alpha channel of their diffuse texture. Other stock units that I have had a glance into, are not dissimilar from the Bismarck.
What you are suggesting, would probably require the usage of the Texture Map chunk in place of (or together with?) the Specualar Mask controller. This chunk, allows additional texture maps to be linked to the diffuse map. Three texture types can be selected: Ambient Occlusion, Specular, and Normal/Bump. In stock game it seems underused, and it is only employed for the mapping of AO maps or normal maps on a few objects. I couldn't find any example of it being used for specular mapping (neither in stock nor in modded files), but we can try
__________________
_____________________
|May the Force be with you!|
...\/
gap 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 07:47 AM.


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.