![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Black Magic
![]() |
![]()
I saw this and took a huge interest in it since it seems it's possible to have shadows. As I have not been able to duplicate Privateer's results (yet) I have though come up with another type of shadow - a shadow on the object's side that doesn't have direct sunlight on it and partial shading from obscured light. In the fist screenie below you'll see the left side of the VIIb at sunset. You can tell that everything is lit normally due to the sunlight (though there is some partial shading on the 88mm gun base - mouse arrow):
![]() now when I go to the other side notice how the base of the 88mm gun is black (where the mouse arrow is) and some other items of the 88mm gun - it's shadowed! Nothing else is shadowed because I was only focusing a couple of the items of the 88mm to see if it was feasible or not. Now I will dig deeper into this. For you nay sayers, look at the entire gun. Notice how other parts aren't black and look at the side of the Turm - it's not black. ![]() it's unbelievably simple once you've seen and know how it works. You need a light source at the top of your root tree (DynamicShadow controller) that shines the light (ambient light) to make the shadow. The child nodes of this root node (containing the light source) have to contain an SHD_xxx node AND that SHD_xxxx node has to have a DynamicShadowCast controller attached to it to make shadows. Simple (although it took me 10 hours today to just figure this out!) Unlike some others I believe in sharing information that I find. The more heads looking into this the better IMO (I thought the attitude had changed around here - I see nothing ever changes as always). Last edited by TheDarkWraith; 02-16-09 at 12:16 AM. |
![]() |
![]() |
![]() |
#2 |
Rear Admiral
![]() Join Date: Jul 2008
Location: SPACE!!!!
Posts: 10,142
Downloads: 85
Uploads: 0
|
![]()
Veary nice finds privateer/Racerboy.
![]()
__________________
Task Force industries "Taking control of the world, one mind at a time" |
![]() |
![]() |
![]() |
#3 |
Grey Wolf
![]() Join Date: Jun 2006
Posts: 769
Downloads: 200
Uploads: 0
|
![]()
I'm very interested in this please keep investigating and keep us informed, also curious if any one knows how to improve glare, ie when light hits a metal surfacew there is a reflected glare, would be more pronounced on wet surfaces. does any one think this can be improved or modded?
|
![]() |
![]() |
![]() |
#4 | |
Black Magic
![]() |
![]() Quote:
Well I took what I found above and applied it to the hull and turm of the VIIb and it's very interesting what came about from it. The shading of light is very pronounced and profound - I like it! ![]() left side: ![]() camera moved over to right side: ![]() okay played enough today. I'm tired ![]() Maybe Privateer will let us know what he did and we can get some very interesting effects. If not, in time I'll figure it out. |
|
![]() |
![]() |
![]() |
#5 |
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
![]()
RB, your pics ... "Ìíîãî øóìà èç íè÷åãî" ...
Speech about shadow, not illumination ...
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... |
![]() |
![]() |
![]() |
#6 | |
Black Magic
![]() |
![]() Quote:
![]() ![]() By replacing the light source from ambient to sunlight I was able to have the object cast shadows onto itself. Now I just have to have it project those shadows onto other objects..... |
|
![]() |
![]() |
![]() |
#7 | |
CINC Pacific Fleet
Join Date: Sep 2003
Location: Down Under
Posts: 34,752
Downloads: 171
Uploads: 0
|
![]() Quote:
![]() BTW, G'day. ![]()
__________________
Sub captains go down with their ship! |
|
![]() |
![]() |
![]() |
#8 | ||
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
![]() Quote:
I do not see necessity of my participation in this work (SH3 and SH4 are not interesting for me for a long time) ... You will make all well and correctly, i think ... Good luck.
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... Last edited by Anvart; 02-19-09 at 05:13 AM. |
||
![]() |
![]() |
![]() |
#9 | |
Grey Wolf
![]() |
![]()
Dynamic shadows don't add a lot of "eye candy" in SH3, and they are buggy anyway. I think that SH3 is just not good enough to create "realistic" environmental scenes. Particule effects are also very limited.
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
|