Page 2 of 3

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 01:07
by Argh
I have almost finished revising this, so that when ON, it and normal shadows are interchangeable, and it uses Spring.GetVisibleUnits in a sphere, instead of everywhere, to speed stuff up quite a bit, a height limit, so that it doesn't attempt to draw when the camera's high enough, it has no time delay, and there are other improvements...

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 01:25
by Argh
Here is the revised version. So far as I can see, it's about as fast as the original, but it turns on / off whenever regular shadows are being used, and shuts off completely when the camera is more than 4000 game units above zero. I've tested on maps with mountains, and it seems to work OK at that distance.

Any feedback would be appreciated.

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 01:29
by user
ok, and there are some small shadow projection issues that i didn't took time to fix, so these current shadows aren't perfect, after you release your changes, i will fix the last projection issues.

maybe add feature shadows too?
and maybe ground shadows?, could be made by using a few image writing tricks to make a shadow map, not sure if this is a good idea, because my BMP writer, doesn't works, i haven't finished it yet, and the TGA writer is useless .

this was going to be posted before you released it.

can you convert the ground fog widget to a gadget?, it is done for now, and my gadget is not working.

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 02:03
by Argh
Have you posted the code for that? I will be more than happy to attempt to convert it...

[EDIT] No, you haven't posted the code... [/EDIT]

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 02:26
by LordMatt
Gota wrote:So will it also lag on a quad core with a geforce 8?Since spring only supports one core.
I have a 2.4Ghz quad core conroe and am basically never CPU bound in spring.

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 02:40
by Tired
Added the original version of this to SA as a mod widget defaulted to off. Seems to work fine so far.

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 03:04
by Argh
Mine, or user's version? Oh, nevermind, I didn't read "original", my bad...

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 16:02
by user
alright, i will upload it (ground fog) in widget form.

please, before editing the ground fog code, contact me.

use the argh version instead of the original, its a bunch of bytes lower, and is better at updating the unit list, but it lags 2 fps more than mine.

with mine, i have a 0 FPS drop, while using argh version, i have a 2 FPS drop, but any way argh revision is still better.

i will later make the 0.3 of this, it will have its projection issues fixed, currently the projection isn't perfect, it has a lot of things that, are just
unrealistic.

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 19:52
by kiki
wtf is with those horrrrrible screenies?

Re: Dinamic Blob Shadows!

Posted: 04 Mar 2008, 23:21
by [Krogoth86]
A small note for all who are going to just download Argh's Lua widget:
You'll also need a pitch black texture for this widget if you want to have a real shadow and not a white rectangle. You can find this in user's package...

Re: Dinamic Blob Shadows!

Posted: 05 Mar 2008, 01:19
by Argh
Er, sorry, I didn't think people would download the first without the second, my bad...

Re: Dinamic Blob Shadows!

Posted: 05 Mar 2008, 01:27
by user
wtf is with those horrrrrible screenies?
taken at good resolution, resized, lowered quality, all this to lower file size.

the black texture will get changed later, this current texture, is too dense in some maps like small divide (only in 0.3, it uses shadow density to define the alpha value)

Re: Dinamic Blob Shadows!

Posted: 05 Mar 2008, 02:02
by Argh
Um, where's the code for the fog Widget? I've got a moment, I'd like to get that working...

Re: Dinamic Blob Shadows!

Posted: 05 Mar 2008, 15:11
by Gota
Suggestion,maybe make the blobs a it smaller and clsoer to the units/buildings.
ATM it sometimes looks bad cause of the obvious reasons.
Maybe make it smaller and less dark :)

Re: Dinamic Blob Shadows!

Posted: 07 Mar 2008, 17:32
by Guessmyname
I'm having trouble getting the test version. I think it might be corrupted or something: I can't extract the zip file.

Re: Dinamic Blob Shadows!

Posted: 07 Mar 2008, 17:41
by user
my .zip files are always compressed in deflate64 compression, i knew some people would have problem with it, sorry, i will upload another one.

Re: Dinamic Blob Shadows!

Posted: 07 Mar 2008, 17:44
by user

Re: Dinamic Blob Shadows!

Posted: 01 Feb 2009, 20:56
by Kixxe
BUMP.

Link broken, anyone have the files?

Re: Dinamic Blob Shadows!

Posted: 02 Feb 2009, 05:41
by REVENGE
Get it from CA?

Re: Dinamic Blob Shadows!

Posted: 04 Feb 2009, 00:17
by Kixxe
Yea i got it now but i don't see the widget when i load up 1944. Can't someone just upload it so it's avalible without downloading a full mod?

Also if anyone has that awesome sepia filter that would be nice too... '_'