Re: [Warzone-dev] Re: [Warzone-commits] r428 - in /trunk: lib/ivis_common/piestate.h lib/ivis_opengl/piestate.c src/configuration.c src/display3d.c src/keybind.c src/keymap.c
On Tuesday, 10 October 2006 at 11:54, Dennis Schridde wrote: > Am Dienstag, 10. Oktober 2006 00:45 schrieb Christian Ohm: > > Got eaten or something. > It didn't. ;) > Now I got it twice, but thanks anyway. :) Yeah... some of my messages to this list literally take hours until they arrive instead of the usual seconds. I just have to be more patient. -- Harrisberger's Fourth Law of the Lab: Experience is directly proportional to the amount of equipment ruined. ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] Re: [Warzone-commits] r428 - in /trunk: lib/ivis_common/piestate.h lib/ivis_opengl/piestate.c src/configuration.c src/display3d.c src/keybind.c src/keymap.c
Am Montag, 9. Oktober 2006 23:15 schrieb Christian Ohm: > On Monday, 9 October 2006 at 19:22, Dennis Schridde wrote: > > Author: devurandom > > Date: Mon Oct 9 21:22:24 2006 > > New Revision: 428 > > > > URL: http://svn.gna.org/viewcvs/warzone?rev=428&view=rev > > Log: > > Patch by Christian Ohm: Gamma controls > > Why haven't you included my fix for that? The problem is: floats are not > exact. I regularly got numbers like 1.24 instead of 1.25 > (reproducible, and this is CPU dependant) - which resulted in the gamma > value being changed to 1.20 on saving (divide by 20 and truncate the > decimals). So I added a little bit when changing the gamma value, to > ensure it never falls below the desired value. The increase in the gamma > value is not significant, you'd have to change it hundreds of times to > notice the difference (but you can add a few decimals more, it you think > it's too large now). Couldn't we reduce the std value from 20 to 1 to compensate this? Float is more precise in the lower end... pgpioKYLN5ggB.pgp Description: PGP signature ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] Re: [Warzone-commits] r428 - in /trunk: lib/ivis_common/piestate.h lib/ivis_opengl/piestate.c src/configuration.c src/display3d.c src/keybind.c src/keymap.c
Am Dienstag, 10. Oktober 2006 00:45 schrieb Christian Ohm: > Got eaten or something. It didn't. ;) Now I got it twice, but thanks anyway. :) pgp5Sa30X10B7.pgp Description: PGP signature ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
[Warzone-dev] Re: [Warzone-commits] r428 - in /trunk: lib/ivis_common/piestate.h lib/ivis_opengl/piestate.c src/configuration.c src/display3d.c src/keybind.c src/keymap.c
Got eaten or something. - Forwarded message from Christian Ohm <[EMAIL PROTECTED]> - Date: Mon, 9 Oct 2006 23:15:32 +0200 From: Christian Ohm <[EMAIL PROTECTED]> To: warzone-dev@gna.org Subject: Re: [Warzone-commits] r428 - in /trunk: lib/ivis_common/piestate.h lib/ivis_opengl/piestate.c src/configuration.c src/display3d.c src/keybind.c src/keymap.c On Monday, 9 October 2006 at 19:22, Dennis Schridde wrote: > Author: devurandom > Date: Mon Oct 9 21:22:24 2006 > New Revision: 428 > > URL: http://svn.gna.org/viewcvs/warzone?rev=428&view=rev > Log: > Patch by Christian Ohm: Gamma controls Why haven't you included my fix for that? The problem is: floats are not exact. I regularly got numbers like 1.24 instead of 1.25 (reproducible, and this is CPU dependant) - which resulted in the gamma value being changed to 1.20 on saving (divide by 20 and truncate the decimals). So I added a little bit when changing the gamma value, to ensure it never falls below the desired value. The increase in the gamma value is not significant, you'd have to change it hundreds of times to notice the difference (but you can add a few decimals more, it you think it's too large now). -- Never put off until tomorrow what you can do today. There might be a law against it by that time. - End forwarded message - ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
[Warzone-dev] Re: [Warzone-commits] r428 - in /trunk: lib/ivis_common/piestate.h lib/ivis_opengl/piestate.c src/configuration.c src/display3d.c src/keybind.c src/keymap.c
On Monday, 9 October 2006 at 19:22, Dennis Schridde wrote: > Author: devurandom > Date: Mon Oct 9 21:22:24 2006 > New Revision: 428 > > URL: http://svn.gna.org/viewcvs/warzone?rev=428&view=rev > Log: > Patch by Christian Ohm: Gamma controls Why haven't you included my fix for that? The problem is: floats are not exact. I regularly got numbers like 1.24 instead of 1.25 (reproducible, and this is CPU dependant) - which resulted in the gamma value being changed to 1.20 on saving (divide by 20 and truncate the decimals). So I added a little bit when changing the gamma value, to ensure it never falls below the desired value. The increase in the gamma value is not significant, you'd have to change it hundreds of times to notice the difference (but you can add a few decimals more, it you think it's too large now). -- Never put off until tomorrow what you can do today. There might be a law against it by that time. ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev