![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
11-30-09, 12:19 PM
|
#1 | |
|
Ace of the Deep
![]() Join Date: Jul 2005
Location: Germany's oldest city alive
Posts: 1,066
Downloads: 57
Uploads: 0
|
Quote:
The program would realize that the ship further away would be in your spotting range, the pixels within it's theoretical silhouette would be also different from the ones of the empty horizon but the ship further away is still not supposed to be seen. Also, if the sky has different colors all at once, which colour do you exactly use to incorporate this test. E.g. if the sky is taking on a scale of yellow to red colours during sunrise. Clouds might also offer a different colour palette. So simulating the contrast of ship <-> sky is not that easy. Ships can have multiple colours in their painting as well. I'm not even talking about camo schemes here. And a last but very important point: ships are often spotted not by their own silhouettes but by there smoke trail on the horizon. And a smoke could is a thing that constantly changes form, thickness and contrast to the sky. They would be a pain to be simulated in terms of real vision especially. In an already complex simulation you better stick with the more abstract schemes of making visual contact like they did in the games before and try to improve on this approach. |
|
|
|
11-30-09, 01:10 PM
|
#2 | |
|
Grey Wolf
![]() Join Date: Jan 2002
Location: Holland
Posts: 818
Downloads: 126
Uploads: 0
|
Quote:
Remember that surface attacks will provide emersion and variation to the game. It will be a shame if it isn't there. I miss comparable with the missing of Wolfpacks. |
|
|
|
11-30-09, 02:15 PM
|
#3 |
|
Grey Wolf
![]() Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
|
On my example I wanted to show how to realize the ship detection in case of bad weather conditions (fog, rain, dusk, storm) similar to human eyes.
Indeed, to check all ships AI must follow up on all enemy ships in the area (AI vs. player, AI vs. AI), but remember that GPU does not need to render the whole scene (as you see in monitor), but the only small area with size f.e. 100 pixels - and not "all the time" but once every 10 seconds for each ship...
__________________
![]() |
|
|
11-30-09, 02:29 PM
|
#4 |
|
Ace of the Deep
![]() Join Date: Jul 2005
Location: Germany's oldest city alive
Posts: 1,066
Downloads: 57
Uploads: 0
|
O.k. how would you want to use this approach for ai ships <-> ai ships anyways. In the 3D model of the game world the program has the coordinates of the objects/ships. But to know whether one ship can see the other you would need to computer the vector of the first ship in direction of the other and then compute what the background would be in this direction and compare that to how the second ship would be rendered on screen.
Either you explained your approach wrong, I understood it wrong or this is overly complicated, no matter if done every 1/100th second or done every 10 seconds. Using the player's POV you at least already have the rendered scene to use but even there, there would be too many factors to include to get satisfying results, I think. |
|
|
11-30-09, 02:34 PM
|
#5 | |
|
Swabbie
![]() Join Date: Nov 2009
Location: Sweden
Posts: 13
Downloads: 23
Uploads: 0
|
Quote:
Whatever the method, I hope they improve it. I like the ideas of ships being on different states of alert at different times (based on where they are, crew size/skill, time in the war and ofcourse whether they've been attacked recently).. |
|
|
|
12-01-09, 08:48 PM
|
#6 |
|
Watch
![]() Join Date: Aug 2008
Posts: 22
Downloads: 0
Uploads: 0
|
I've read in 'Das Boot' and 'Iron Coffins' where the U-boat captain has used the submarine's exhaust fumes to create a kind of smoke screen to hide from destroyers at night.It would be cool if you could do this.Also it would be nice if you could wait for the moon to go behind a cloud before attacking. I'd like to see the whole business of whether you're detected or not to be far more randomised than it was in SH3, something I believe computers find difficult to do, with the advantage being decidedly with the sub in the early years at least.
|
|
|
12-02-09, 03:01 AM
|
#7 | |
|
Navy Seal
![]() Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
|
Quote:
|
|
|
|
12-02-09, 03:18 AM
|
#8 |
|
Rear Admiral
![]() |
You can make a well maintained and smooth running diesel throw out thick black smoke by fiddling with the fuel plate. No harm to the engine, but less fuel efficient.
In normal operation though it should be thin blue smoke that is hard to see unless you are accelerating hard. |
|
|
12-02-09, 08:11 AM
|
#9 | |
|
Silent Hunter
![]() Join Date: Jan 2006
Location: Spain
Posts: 3,529
Downloads: 11
Uploads: 0
|
Quote:
....and i woulndn't take anything from Das Boot or Iron coffins as the Gospel truth. Both are 'based' on facts - but designed primarily for entertainment. |
|
|
|
12-02-09, 09:55 AM
|
#10 |
|
Commodore
![]() Join Date: May 2007
Location: Sneek, The Netherlands
Posts: 635
Downloads: 43
Uploads: 0
|
even so it is easier to make a engine produce smoke than to make an engine produce no smoke while still running.
If the Kaleu wanted to produce a smoke screen just add a bit of oil in the exhaust. Easy peasy |
|
|
12-02-09, 07:11 AM
|
#11 |
|
Watch
![]() Join Date: Aug 2008
Posts: 22
Downloads: 0
Uploads: 0
|
In the books they went full ahead and stern on to produce this screen.I just thought that as it was mentioned in both books that in might have been a common device.
|
|
|
12-02-09, 07:48 AM
|
#12 |
|
Watch
![]() Join Date: Mar 2005
Location: the Netherlands
Posts: 20
Downloads: 0
Uploads: 0
|
During the Snorkel development exhaust modifications were dropped just because the diesel fumes were barely visible...
__________________
TAKE CARE & CONTROL |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
