| bio | website | poita.org |
|---|---|---|
| location | England, United Kingdom | |
| age | 26 | |
| visits | member for | 2 years, 7 months |
| seen | Feb 16 at 20:10 | |
| stats | profile views | 22 |
I am a games programmer for Codemasters, living in Warwickshire, England. My hobbies include competitive programming, electric guitar, and online gaming.
|
Oct 8 |
awarded | Yearling |
|
Aug 22 |
comment |
How can I make water appear darker with depth, like in Minecraft? @Jonathan: You don't render the water blocks, you render the blocks on the sea bed with the colour darkening and then just have a single alpha layer on the water surface. |
|
Aug 21 |
comment |
How can I make water appear darker with depth, like in Minecraft? @Xavier: I just made it up. The e^-kd bit is just an exponential decay, which is a standard function for things that gradually tend toward zero over some value (depth). The multiplication by (1-m) and addition of m are just to scale and offset the decay so that it ends up at a minimum of m but still starts at 1. en.wikipedia.org/wiki/Exponential_decay |
|
Aug 20 |
revised |
How can I make water appear darker with depth, like in Minecraft? Added code. |
|
Aug 20 |
answered | How can I make water appear darker with depth, like in Minecraft? |
|
Aug 20 |
answered | Some practical issues with component-based game object systems |
|
Jan 2 |
comment |
Where can I get DirectX headers for Mingw? Is there any reason why you are using Mingw instead of Visual Studio Express editions? You'll be able to get a lot more help and support that way, and most would agree that it's by far the best free IDE for Windows. |
|
Jan 2 |
answered | 'Binary XML' for game data? |
|
Oct 29 |
revised |
Algo for given an amount of XP, find a character's level edited body |
|
Oct 29 |
revised |
What revenue models exist for online games? added 618 characters in body; added 2 characters in body |
|
Oct 29 |
answered | What revenue models exist for online games? |
|
Oct 3 |
revised |
Algo for given an amount of XP, find a character's level added 214 characters in body |
|
Oct 3 |
comment |
Algo for given an amount of XP, find a character's level You could also argue that this should be in its own function, and the levels should have their own class etc. etc. -- I just want to show people how to use the function; good coding practice can be left for another question :-) |
|
Oct 3 |
revised |
Algo for given an amount of XP, find a character's level added 5 characters in body |
|
Oct 3 |
comment |
Algo for given an amount of XP, find a character's level I would have, but that's an implementation detail, and bloats the example, distracting the reader from its purpose. |
|
Oct 3 |
awarded | Teacher |
|
Oct 3 |
awarded | Editor |
|
Oct 3 |
revised |
Algo for given an amount of XP, find a character's level added 4 characters in body |
|
Oct 3 |
awarded | Supporter |
|
Oct 3 |
answered | Algo for given an amount of XP, find a character's level |