12,037 reputation
22654
bio website sam.zoy.org
location Paris, France
age 34
visits member for 2 years, 2 months
seen 10 hours ago
stats profile views 917

I live in Paris, France.

I work on PlayStation, Xbox and computer games for a living. I write free software and all kind of crazy shit for fun. My interests: image processing, video coding, game development, maths, physics, compression, cryptography.


Feb
22
revised OpenGL - can't use glew 3.0
clarify
Feb
22
reviewed Approve suggested edit on Complete Math Library for use in OpenGL ES 2.0 Game?
Feb
21
answered OpenGL - can't use glew 3.0
Feb
20
awarded  Enlightened
Feb
17
answered Perlin Noise for game terrain; math error (unexpected breaks in terrain (3D grid))
Feb
17
comment How can I replicate the color limitations of the NES with an HLSL pixel shader?
This is not the NES colour palette at all. The NES didn’t use 8-bit RGB, it used a fixed palette of about 50 to 60 colours in the YPbPr space.
Feb
17
comment What's the best way of translating a 2D vector into the closest 8-way compass direction?
A map with float2 as the key? This doesn’t look very serious.
Feb
14
comment What's the best way of translating a 2D vector into the closest 8-way compass direction?
+1 by the way, I really think this is the most straightforward and rigourous answer.
Feb
14
comment What are the main requirements to port a game to Linux
About Valve, note that they hired Sam Lantinga, the original author of libSDL.
Feb
14
comment Animate part of .3ds object using lib3ds library
@Sidar I approved your edit and further removed the signature at the bottom of the post, so it's that second edit that appears. You can still see yours in the history.
Feb
14
reviewed Edit suggested edit on Animate part of .3ds object using lib3ds library
Feb
14
revised Animate part of .3ds object using lib3ds library
Made the question easier to read.
Feb
14
reviewed Approve suggested edit on Libgdx Particle Editor: Blank UI elements
Feb
14
comment What's the best way of translating a 2D vector into the closest 8-way compass direction?
It's perfectly OK to answer your own question. But I would consider not using atan2 to be a bad decision; your code is a lot longer and difficult to understand. It's also... very wrong: where did you get these 0.5 and 2 values? You would probably need sqrt(2)/2 and sqrt(2)+1 instead.
Feb
14
comment What's the best way of translating a 2D vector into the closest 8-way compass direction?
Note that it's usually atan2(y,x), not atan2(x,y).
Feb
13
comment Using two FBOs results in the second FBO having nothing drawn to
Have you tried gDEBugger maybe?
Feb
12
comment 3D isometric depth sorting
The reason no algorithm seems to handle what you are looking for is because there is no such algorithm. It's not possible to Z-sort tiles in the generic case. Even in a situation where there is a solution, it may be hard to find it (look for "topological sort"). The obvious option is to use a Z-buffer.
Feb
12
reviewed Approve suggested edit on How to structure (the code in) a multiplayer game
Feb
12
revised Is Carmack right about PC performance? And does Windows 8 address his concerns?
fix and shorten title
Feb
12
awarded  opengl