312 reputation
17
bio website
location San Francisco, CA
age 35
visits member for 4 years, 2 months
seen May 30 at 5:58

Software developer. Designer. 3D hobby-artist. Interested in computational behavior and generative art.


Apr
4
awarded  Nice Answer
Sep
15
awarded  Yearling
Mar
23
comment How to colorize certain parts of a model - like RTS games have those team colors?
Good technique, but if you are using the alpha channel to denote "tintability", don't forget to reset the alpha component in your finalColor.
Mar
3
comment How can I effectively manage a hobby game project?
+1 Prototype early + don't build an engine. A "game jam" approach is good at the beginning: get something playable as soon as possible. Forget what it looks like (the code too, I know, it's hard). If the game play is not immediately interesting or fun for you, drop it, take some notes on why you think it sucks/isn't fun, and move on.
Mar
2
comment What are some programming design patterns that are useful in game development?
Great list of examples. Despite chronic abuse of the singleton pattern (global state in disguise), there are legitimate uses: When it represents a resource of which you actually only have (or want) one. This can be something like wrapping hardware (e.g. keyboard/mouse) or wrapping a library that is not reentrant (it happens, and not all languages have magical synchronization keywords).
Feb
19
awarded  Critic
Feb
18
comment A good way to build a game loop in OpenGL
@Ricket Technically, glutMainLoopEvent() handles incoming events by calling the registered callbacks. glutMainLoop() is effectively { glutMainLoopEvent(); IdleCallback(); } A key consideration here is that, redrawing is also a callback handled from within the event loop. You can make an event-driven library behave like a time-driven one, but Maslow's Hammer and all that...
Feb
18
comment A good way to build a game loop in OpenGL
Unfortunately not. All callbacks registered in GLUT are fired off from within glutMainLoop as the event queue is drained and it iterates. I added some links to alternatives in the answer body.
Feb
18
revised A good way to build a game loop in OpenGL
Clarified that you hand over your main loop with GLUT. Added some links to additional windowing context libraries.
Feb
16
awarded  Autobiographer
Feb
16
revised A good way to build a game loop in OpenGL
Tried to clarify why the glut callback specifically is a bad idea.
Feb
16
awarded  Teacher
Feb
16
answered A good way to build a game loop in OpenGL
Feb
16
awarded  Student
Feb
15
awarded  Editor
Oct
22
awarded  Supporter