40
votes
Accepted
Game loop isn't performing well enough, so my frame rate is too low (Windows Form + GDI+)
TLDR:
Get DirectBitmap from https://stackoverflow.com/a/34801225 and add
...
17
votes
Game loop isn't performing well enough, so my frame rate is too low (Windows Form + GDI+)
When things bog down, check your inner loop. That's the code being run the most often, so even a small inefficiency there stacks up. Here we see:
...
3
votes
Game loop isn't performing well enough, so my frame rate is too low (Windows Form + GDI+)
I wonder, do you really need to render noise that is uniquely random down to the pixel?
Or would it be okay if it just appears random?
If you're alright with an approach that relies on staggered ...
1
vote
Accepted
How is a Spherical Harmonics Lightmap generated?
The example you linked isn't generating a lightmap, but a light probe. As they say in the Future Work section:
The next thing I’d like to do is take this spherical harmonic concept and use it to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
graphics × 1047opengl × 178
unity × 112
2d × 105
graphics-programming × 100
3d × 98
java × 78
c++ × 75
shaders × 72
rendering × 70
textures × 62
xna × 57
mathematics × 48
directx × 45
c# × 42
libgdx × 33
sprites × 33
graphic-effects × 32
animation × 31
android × 30
physics × 26
performance × 26
art × 25
algorithm × 23
lighting × 23