Making flickering lightings : "how to", the answer
Moderator: Graf Zahl
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
Making flickering lightings : "how to", the answer
Testing the new Gzdoom v1.1.05, I found that the new lightings are absolutely awesome. Thus, something was missing to be perfect.
I opened the file "lights.pk3" with WinZip, then the file "doomdefs.txt" being stored within it, and played with some values...
And I found THE value making flickering lights:
You can try some modifications of the value for "secondarySize", but THE value to modify is:
interval
The values were going from 0.4 to 2.0
2.0 is fine for the blue sphere, for example.
For my computer, the value 0.01 is perfect, and it makes flickering lights. The framerate is not affected, even if several lights are together.
What is making the framerate going down drastically, even on my very powerful computer, is the light by itself. And more I make it larger, more heavy is the slowdown.
I had also to experiment the same terrific CRASH of my computer, making it rebooting after being frozen (thus the sound and the music were still being heard) and making the same sound than when I disconnect a material USB, like a webcam, for example.
I opened the file "lights.pk3" with WinZip, then the file "doomdefs.txt" being stored within it, and played with some values...
And I found THE value making flickering lights:
You can try some modifications of the value for "secondarySize", but THE value to modify is:
interval
The values were going from 0.4 to 2.0
2.0 is fine for the blue sphere, for example.
For my computer, the value 0.01 is perfect, and it makes flickering lights. The framerate is not affected, even if several lights are together.
What is making the framerate going down drastically, even on my very powerful computer, is the light by itself. And more I make it larger, more heavy is the slowdown.
I had also to experiment the same terrific CRASH of my computer, making it rebooting after being frozen (thus the sound and the music were still being heard) and making the same sound than when I disconnect a material USB, like a webcam, for example.
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
Here is the file with the values making flickering lights (apart the candle, candelabra and pillar)
You have just to put it within "lights.pk3" (but, before doing it, do export the text file "doomdefs.txt", so that you can easily coming back to the original values).
You have just to put it within "lights.pk3" (but, before doing it, do export the text file "doomdefs.txt", so that you can easily coming back to the original values).
- Attachments
-
- doomdefs.zip
- (3.02 KiB) Downloaded 93 times
- WolfyGirl
- Posts: 126
- Joined: Sun Sep 14, 2008 8:08
- Location: The Netherlands
- Contact:
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
Ok, I got it !!!
I tried the old version 1.1.22
I finally figured out what is happening with the framerate of the new version (1.1.05): 2 abilities given to us are faultiness :
- "Force additive lighting"
- "Fog"
The worst is the fog, making going down the framerate drastically, at the point that I MUST disable it.
"Force additive lighting" is also contributing to slow down the framerate.
Resume: if you want to have the best framerate possible, disable the fog and the additive lighting.
Too bad !!!
I tried the old version 1.1.22
I finally figured out what is happening with the framerate of the new version (1.1.05): 2 abilities given to us are faultiness :
- "Force additive lighting"
- "Fog"
The worst is the fog, making going down the framerate drastically, at the point that I MUST disable it.
"Force additive lighting" is also contributing to slow down the framerate.
Resume: if you want to have the best framerate possible, disable the fog and the additive lighting.
Too bad !!!
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
About "Force additive lighting", do have a look at the result
The difference is VERY important, making like a fog
The difference is VERY important, making like a fog
- Attachments
-
- With additive lighting
- kill-me_E1M4_with additive lightings_gzdoom v1.1.05.jpg (30.98 KiB) Viewed 1481 times
-
- Without additive lighting
- kill-me_E1M4_without additive lightings_gzdoom v1.1.05.jpg (38.3 KiB) Viewed 1481 times
Last edited by Jive on Sun Nov 16, 2008 19:26, edited 1 time in total.
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
For those who are thinking that the fog is only for external areas, here is an example of the difference indoor.
You can see by yourself that, playing without fog is really a pity, because it's ruining the great atmosphere given by the fog, being, in fact, not really a fog but progressive darkness.
You can see by yourself that, playing without fog is really a pity, because it's ruining the great atmosphere given by the fog, being, in fact, not really a fog but progressive darkness.
- Attachments
-
- Kill-me - E1M4 - Fog on
- kill-me_E2M4_Fog on.jpg (28.21 KiB) Viewed 1480 times
-
- Kill-me - E1M4 - No fog
- kill-me_E2M4_No Fog.jpg (31.52 KiB) Viewed 1480 times
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
- NeoHippo
- Posts: 408
- Joined: Tue Sep 13, 2005 0:47
- Location: British Columbia Canada
Hello, Jive. Good to see that you are still active with mapping.
What I do, is, to use the posted image as a link to a larger version on http://load.imageshack.us/ . After you upload your image to imageshack, you will be given several choices of either HTML or BBCode code. I usually choose - Thumbnail for forums (1) - , in this case
of which I copy just the first part into the thread
which results in this:

Of course, in case of comparisons it would be less useful unless one downloads the full size images and views them in an image viewer.
What I do, is, to use the posted image as a link to a larger version on http://load.imageshack.us/ . After you upload your image to imageshack, you will be given several choices of either HTML or BBCode code. I usually choose - Thumbnail for forums (1) - , in this case
Code: Select all
[URL=http://img393.imageshack.us/my.php?image=burgsy7.png][IMG]http://img393.imageshack.us/img393/4896/burgsy7.th.png[/IMG][/URL][URL=http://g.imageshack.us/thpix.php][IMG]http://img393.imageshack.us/images/thpix.gif[/IMG][/URL]
Code: Select all
[[URL=http://img393.imageshack.us/my.php?image=burgsy7.png][IMG]http://img393.imageshack.us/img393/4896/burgsy7.th.png[/IMG][/URL]

Of course, in case of comparisons it would be less useful unless one downloads the full size images and views them in an image viewer.
TAtL, tU, aE
- wildweasel
- DRD Team Admin (Inactive)
- Posts: 2132
- Joined: Wed Jun 29, 2005 22:00
- Location: the Admincave!
- Contact:
- Jive
- Posts: 340
- Joined: Sat Mar 11, 2006 23:44
- Location: Manaus (Amazonia)
- Contact:
I gave here the best compromise I found for a good framerate:
http://forum.drdteam.org/viewtopic.php?t=3679
But there are still terrible slowdowns...
Hmmm... Graf... Don't yell at me, but ZdoomGl don't have any slowdown, even on a wide screen (1280x1024)...
http://forum.drdteam.org/viewtopic.php?t=3679
But there are still terrible slowdowns...
Hmmm... Graf... Don't yell at me, but ZdoomGl don't have any slowdown, even on a wide screen (1280x1024)...
