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 10-07-17, 09:17 AM   #1
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Are those halos particle effects, or they are from an emissive material?
From an emissive material.

Quote:
Originally Posted by gap View Post
Regarding navigation light colors, I think you can refer to the following website (see this drawing for light visible angles)

http://www.bosunsmate.org/seamanship/lights.php

Its information is based on the International Regulations for Preventing Collisions at Sea first adopted in 1977. Prior to that, I think each country was free to apply its own regulations, but I think most countries stickied to the English maritime Law that the current regulation is largely based on.
Well, same problem as for sectorial lighthouses : the halo is always looking at camera, we can't control that.

---

Else, the city light trick doesn't work for me.
  Reply With Quote
Old 10-07-17, 09:47 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
From an emissive material.
So emissive material's halo is automatically calculated... who knows, maybe also night lights have the same effect, without need of painting the halo on the texture

Quote:
Originally Posted by Kendras View Post
Well, same problem as for sectorial lighthouses : the halo is always looking at camera, we can't control that.
Is the halo from emissive materials visible through objects? If not, you can achieve the effect by creating proper ship lantern model with the proper emissive faces angles

Quote:
Originally Posted by Kendras View Post
Else, the city light trick doesn't work for me.
Can you give me some details?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-07-17, 09:59 AM   #3
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
So emissive material's halo is automatically calculated... who knows, maybe also night lights have the same effect, without need of painting the halo on the texture
Not at all ! There is an emissive halo texture painted on a square model (+ "Look at" controller attached), in addition of the lantern object (with an emissive plain color texture).

Quote:
Originally Posted by gap View Post
Is the halo from emissive materials visible through objects? If not, you can achieve the effect by creating proper ship lantern model with the proper emissive faces angles
Not visible throw objects, but the problem is that the halo is 3 times bigger than the lantern.

Quote:
Originally Posted by gap View Post
Can you give me some details?
1. opened lantern object in wings
2. duplicated it
3. combined together
4. exported twice (the second with same name + "-uv2")
5. copied the 3 nodes from harbours_kit.dat (with ctrl + C)
6. changed all id
7. imported both model at same time
8. both textures linked to this model
9. imported new textures : day texture which is dark green, and light green for night light. This second texture never appears at night or day.
  Reply With Quote
Old 10-07-17, 12:09 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Not at all ! There is an emissive halo texture painted on a square model (+ "Look at" controller attached), in addition of the lantern object (with an emissive plain color texture).


Quote:
Originally Posted by Kendras View Post
Not visible throw objects, but the problem is that the halo is 3 times bigger than the lantern.
But you can remove the halo effects, or make them smaller, don't you? If navigation light's halos were that big in reality, it wouldn't be possible to screen them off at certain angles

Quote:
Originally Posted by Kendras View Post
1. opened lantern object in wings
2. duplicated it
3. combined together
Did you assign different materials to each copy of the original lantern, before combining them in a single object?

Quote:
Originally Posted by Kendras View Post
4. exported twice (the second with same name + "-uv2")
5. copied the 3 nodes from harbours_kit.dat (with ctrl + C)
6. changed all id
7. imported both model at same time
Make sure that S3d, in the Uv map previe section, diplays two map channels for the recently imported object.

Quote:
Originally Posted by Kendras View Post
8. both textures linked to this model
Also make sure that you didn't accidentally switch the two matirials: their position matters.

Quote:
Originally Posted by Kendras View Post
9. imported new textures : day texture which is dark green, and light green for night light. This second texture never appears at night or day.
Try making the dark green texture not so dark, and the light green texture very bright and vivid, like lime green...
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-07-17, 01:10 PM   #5
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
But you can remove the halo effects, or make them smaller, don't you? If navigation light's halos were that big in reality, it wouldn't be possible to screen them off at certain angles
Yes, but the halo will disappear at medium distance, so you won't be able to spot it from your submarine...

Quote:
Originally Posted by gap View Post
Did you assign different materials to each copy of the original lantern, before combining them in a single object?
No, for 2 reasons : 1/ i can't do that, 2/ if i assign 2 different materials to the object in S3D, they should be both used ? ...

Quote:
Originally Posted by gap View Post
Make sure that S3d, in the Uv map previe section, diplays two map channels for the recently imported object.
Yes, it does.

Quote:
Originally Posted by gap View Post
Also make sure that you didn't accidentally switch the two matirials: their position matters.
It was the correct order.
  Reply With Quote
Old 10-07-17, 01:52 PM   #6
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, but the halo will disappear at medium distance, so you won't be able to spot it from your submarine...
Well, I think it is a matter of finding the right size for an aptimal balance between light arcs and their visible range. By the way, those are the interantional rules on light visibility:

http://navruleshandbook.com/Rule22.html

Quote:
Originally Posted by Kendras View Post
No, for 2 reasons : 1/ i can't do that, 2/ if i assign 2 different materials to the object in S3D, they should be both used ? ...
That's the likely reason for your night lights not working. Stop asking yourself impertinent questions (lol) and strictly follow my instructions

Quote:
Originally Posted by gap View Post
  1. Select one of the two objects in body selection mode.
  2. Switch to face selection mode.
  3. Right click on the geometry window.
  4. Right click on 'Material' in the following context menu.
  5. Enter the new material name.
  6. Undo the selection (space bar).
  7. Repeat the steps 1-5 for the other copy of the same object, using a different material name.
  8. When you have finished, select both objects in body selection mode.
  9. Right click on the geometry window.
  10. Choose 'Combine' from the context menu.
PS: If S3D asks you whether you want to import one of the subsets separately, or raather collapse collapse the two of them in one object, choose the latter option
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-08-17, 12:32 AM   #7
VonDos
Ocean Warrior
 
Join Date: Mar 2007
Location: Italy
Posts: 2,526
Downloads: 82
Uploads: 76


Default

Hi mates!
While waiting for this gorgeous lights work, i'm reworking a little some details.
Here are first funnel horns pipes (2 with Y shape, not 2 vertical):



Best regards,
Vd
__________________

Those, others and WIP ships are avaiable in my SHIPYARD here:
http://www.subsim.com/radioroom/showthread.php?t=136508

Last edited by VonDos; 10-08-17 at 01:15 AM.
VonDos is online   Reply With Quote
Old 10-08-17, 05:05 AM   #8
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

So, in wings, I have duplicated the material and changed its name.

Now in game, the lantern is bright green during night , but it is white during day ...
  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:26 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.