Wintermute Engine > Scripts, plugins, utilities, goodies

Sunny Demo

<< < (2/4) > >>

McCoy:

--- Quote from: odnorf on August 16, 2003, 12:28:34 PM ---This file is only black. You can reduce the colors to index-based
and save it as a png file.
Results:  background.bmp -> 2.359..350
               background.png -> 8.335
(BIG difference, don't you think. And after the final compression for
distribution the difference is not THAT big but it is still big enough.)
The same thing you can do for most of the images when you create just
"technology" :) demos.  "Sky night.bmp for example can be reduced a lot".

--- End quote ---

Oh, yeah, that's true, I didn't even remember that now WME has support for PNG format since build 28, I think I got stucked with TGA :P


--- Quote from: odnorf on August 16, 2003, 12:28:34 PM ---Also, don't use TGA files, they usually take too much space, and doesn't compress
as much as BMP files, and never reach the size of the PNG format.

--- End quote ---
I tend to use TGA when the image has transparencies, and BMP when there's no transparency, but now I'll use PNG instead of BMP. And well, with RLE compression, a TGA image can be smaller than a BMP... but yeah, never near to a PNG.
 

--- Quote from: odnorf on August 16, 2003, 12:28:34 PM ---file:  sunrise\background.bmp
What this file is supposed to be :) You have forgotten, didn't you? :)

--- End quote ---

Yeah, probably  :-[

Thanx for all!  ;D

Jeroen:
Hey that's excellent stuff!

Smooth too!

Did you make the DLL yourself, or did you use a "generic math dll"?

odnorf:

--- Quote from: Jeroen on August 18, 2003, 08:05:22 PM ---Hey that's excellent stuff!

Smooth too!

Did you make the DLL yourself, or did you use a "generic math dll"?

--- End quote ---

If are talking about the math.dll then this Jerrot's work.
You can find more at http://www.dead-code.org/forum/index.php?board=12;action=display;threadid=196

Jerrot:
Hi McCoy,

thanks again for that demo, I just found the time to have a look into your source code and - well, short and smart! :)

I found some little strange things though:

- I cannot load the scenes into SceneEdit (it throws an error in the SceneEdit logfile) until I delete the line "PERSISTENT_STATE=TRUE" from the scene file. Did you enter that manually or is/was there a WME bug ?

- The god mode seems to have some little bugs with the borders when activating it, but that's not important at all. ;)

Yeah. That's it already. Nice idea! :)

McCoy:

--- Quote from: Jerrot on August 19, 2003, 10:10:02 AM ---- I cannot load the scenes into SceneEdit (it throws an error in the SceneEdit logfile) until I delete the line "PERSISTENT_STATE=TRUE" from the scene file. Did you enter that manually or is/was there a WME bug ?
--- End quote ---

Strange, I didn't have any problems, and I didn't touch the PERSISTENT_STATE thing, so it could maybe be a bug?!?! Dunno...


--- Quote from: Jerrot on August 19, 2003, 10:10:02 AM ---- The god mode seems to have some little bugs with the borders when activating it, but that's not important at all. ;)

--- End quote ---

I detected that sometimes, when you activate the god mode, you can't lower the sun under the horizont's line, but never had any problems with the borders... Anyway, now that you have the code, (and if you're veeeeryyy bored) you can try to find the problem...  ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version