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 03-17-09, 03:20 PM   #1
thyro
Commander
 
Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
Default Dynamic Shadow

Hi,

Does someone knows how dynamic shadow works for an object? Or does someone has an example for me to look into. Many thanks


Thyro
__________________
"The good news is that you’re never, ever more than 6 miles from land. The bad news is, the land is straight down!"


thyro is offline   Reply With Quote
Old 03-17-09, 08:22 PM   #2
gimpy117
Ocean Warrior
 
Join Date: Jul 2007
Location: Kalamazoo, MI
Posts: 3,243
Downloads: 108
Uploads: 0
Default

correct me if I'm wrong...but...we have been baffled on dynamic shadows since SHIII
__________________
Member of the Subsim Zombie Army
gimpy117 is offline   Reply With Quote
Old 03-17-09, 08:38 PM   #3
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Some of the Dynamic Shadows stuff for SH3 is being looked at much closer.

The dats in SH4 do not contain the SHD_ 3D models.
The ACT Controllers file misses the needed reference.
There is no option to enable in SH4.

However.

There are still some references to Dynamic Shadows in SH4.
But you need to know where and what to look for to see this.

I have no idea if they can be enabled for SH4.
Or if it's even worth the time envolved.

I just know that some key stuff is still there.
  Reply With Quote
Old 03-18-09, 01:28 AM   #4
ancient46
Officer
 
Join Date: Apr 2008
Location: Pennsylvania
Posts: 239
Downloads: 108
Uploads: 1
Default

Dynamic Shadows use a real time alogrithm to adjust the shadow a moving object casts as it moves in relation to the light source. This is probably the most noticeable in Sh4 wave action.

Save the game in heavy seas and use your external camera to go close and watch the wave action. Look carefully at the shadows on the waves. Close the game, open the Main.cfg file and change the line DynamicShadows to Yes. Restart the save and repeat. This will give you an idea of the effect of Dynamic Shadows. If your video card is up to the challenge it increases the eye candy.

For the techincally minded http://www.gamasutra.com/features/19...freitag_01.htm
ancient46 is offline   Reply With Quote
Old 03-18-09, 02:30 AM   #5
thyro
Commander
 
Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
Default

Many thanks for the input until now

I had applied the node+controls to get dynamicshadows active in a model and as been frustrating because lack of info on control structure and with any kind results.

But that could be down to what ancient46 mentioned... had the DynamicShadows=No on main.cfg so time to redoing that control and try again
__________________
"The good news is that you’re never, ever more than 6 miles from land. The bad news is, the land is straight down!"


thyro is offline   Reply With Quote
Old 03-19-09, 12:44 PM   #6
thyro
Commander
 
Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
Default

No luck so far... for some reason I can't add a 3D object under the node so probably its why dynamic shadow doesn't work
__________________
"The good news is that you’re never, ever more than 6 miles from land. The bad news is, the land is straight down!"


thyro is offline   Reply With Quote
Old 03-19-09, 07:43 PM   #7
IFRT-WHUFC
Engineer
 
Join Date: Jul 2006
Location: By the Nordsee
Posts: 200
Downloads: 374
Uploads: 0
Default A real B******!

They are in the main.cfg file still but not in the ACT file as with SH3 but as other people are and as i posted before in the SH3 thread concerning this (causing arguements) I left it as that! I still think shadows are in SH4 just not necessarily in the ACT file, I may be wrong but this is something that really needs looking into!

Rick
IFRT-WHUFC is offline   Reply With Quote
Old 03-19-09, 10:46 PM   #8
ancient46
Officer
 
Join Date: Apr 2008
Location: Pennsylvania
Posts: 239
Downloads: 108
Uploads: 1
Default

If you are having troulbe with 3D nodes try posting the specific problem in the S3D editor sticky post. skwasjer probably can help you add the node.

As for dynamic shadows kriller2 is the man to ask. Pacific Environment 3 gave instructions for enabling dynamic shadows so he could probably tell you how to use them in SH4.
ancient46 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 12:19 PM.


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.