Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Deepblue on October 07, 2004, 12:42:14 pm

Title: From the shadows...
Post by: Deepblue on October 07, 2004, 12:42:14 pm
I am having some issues with Bobs shadow build 3. Namely I cant play most of the missions in the tech room. Whenever I click on it and it finishes loading up, I get a CTD. This is an annoyance as these missions work fine with taylors build, and I really enjoyed the shadows...

Any chance we can have shadows implemented in future builds.
Title: From the shadows...
Post by: StratComm on October 07, 2004, 02:53:17 pm
Shadows are not supposed to work in mission, that they have has been a bit of luck.  The build's highly experimantal, so I don't think there's much chance on getting support for it.
Title: From the shadows...
Post by: Bobboau on October 07, 2004, 04:11:38 pm
actualy that one was suposed to work properly in mission, but it was just toying around with the technology involved so it isn't suposed to be bugless, it was just suposed to barely get it working.
Title: From the shadows...
Post by: Deepblue on October 07, 2004, 06:07:48 pm
Only bugs I have with that build is the mission load problem and the fact that shadows have a weird effect on specular areas that are under the shadows as well as thrusters (it darkens them).
Title: From the shadows...
Post by: Bobboau on November 03, 2004, 11:22:57 pm
yeah, I have it setup to subtract light in shadows, wich causes some wirdness in places were things are overlit
Title: From the shadows...
Post by: Singh on November 06, 2004, 04:12:34 am
so....when will you be revisiting the shadow code bob? how about at least showing it to Taylor so he can put it in? :D
Title: From the shadows...
Post by: Lightspeed on November 06, 2004, 12:31:56 pm
Well yes, it'd be interesting. Especially if it could be made to use a low LOD (LOD 2 or something) for the shadows, so it doesn't drain much performance.
Title: From the shadows...
Post by: Deepblue on November 06, 2004, 02:52:19 pm
That would kill the self shadowing.
Title: From the shadows...
Post by: Lynx on November 06, 2004, 03:19:28 pm
I think he means it that way that it uses the hiighest LOD for self shadowing and a lower LOD for global shadows.
Title: From the shadows...
Post by: TopAce on November 06, 2004, 03:30:57 pm
I am looking forward to the shadow implementation. I want to see it at last! In a stable build.
Title: From the shadows...
Post by: gevatter Lars on November 06, 2004, 05:00:19 pm
I tested a shadowbuild that was posted here some time ago...hadn't got any problems with it...except that it slowed down the system.
Title: From the shadows...
Post by: TopAce on November 06, 2004, 05:01:31 pm
That is the natural consequence.
Title: From the shadows...
Post by: Bobboau on November 06, 2004, 08:27:07 pm
I'll give code to anyone who wants it
Title: From the shadows...
Post by: dracom on November 06, 2004, 09:12:41 pm
I do, I do
Title: From the shadows...
Post by: Bobboau on November 06, 2004, 09:38:18 pm
are you a programer/would you know what to do with it?
Title: From the shadows...
Post by: dracom on November 06, 2004, 11:14:32 pm
I fiddle around with Visual Studio every so often.  Doing builds for macroquest got me started.   I could give it a shot see what i turn up with.
Title: From the shadows...
Post by: Bobboau on November 06, 2004, 11:35:03 pm
http://freespace.volitionwatch.com/blackwater/scode.zip

I was toying with volumetric fog shadows in the nebula, it didn't work very well, it has all the code you need, and I'm not sure were I put the backup.