2,222 reputation
411
bio website gabrielgambetta.com
location
age 33
visits member for 3 years, 9 months
seen Sep 19 at 11:34

Software Engineer at Google Zürich.

I write stuff in my website. The most popular here is the Fast-Paced Multiplayer series.

Former Founder, Director and CTO of Mystery Studio, a small independent game developer.


Jun
5
answered Handling early/late/dropped packets for interpolation in a 3D multiplayer game
Jun
2
answered In a multiplayer game, should I store the list of character names on the Player class?
Apr
5
comment OpenGL: missing GL_SPECULAR light on the texture
What do you mean by "missing"? Do you have a screenshot? Specular depends a lot on the geometry you're rendering. If it's very sparse you may not see the effect. Do you still have this problem if you render a sphere with a ton of faces? Finally, have you tried much higher specular exponents (AKA shininess)?
Mar
24
reviewed Approve suggested edit on how to make different sprite when moving and aiming
Mar
13
comment How can make an object orbit a sphere in a random direction?
Create two different, normal, random 3D vectors A and B. Compute C = AxB; C should be perpendicular to the plane defined by A and B. Now compute B' = AxC. A, B' and C should be orthonormal, so you can use them as the columns of a matrix and it will be a rotation matrix.
Feb
26
answered How can make an object orbit a sphere in a random direction?
Feb
13
comment Poor text rendering quality with freetype
No, sorry; I sort of followed the documentation and it sort of worked. You may want to take a look at SDL_TTF, which wraps the FreeType library.
Feb
12
answered Poor text rendering quality with freetype
Feb
6
reviewed Approve suggested edit on What is the correct Order of Operations on OpenGL 2.0 Loading Texture in condense format?
Jan
30
reviewed Approve suggested edit on Game Design: Faction/Player circular relationship
Jan
30
comment Does client side prediction sync with the server in the past?
@wolftousen FYI, your question inspired me to write a new Sample Code and Live Demo page, check it out!
Jan
30
awarded  Custodian
Jan
30
comment What would be best practice of client comunication in a multiplayer game
And in case you're interested, I just added a Sample Code and Live Demo page to the articles: gabrielgambetta.com/fpm_live.html
Jan
30
reviewed Approve suggested edit on How to mix pixel colors in Shader?
Jan
28
comment Does client side prediction sync with the server in the past?
Thanks for your kind words, BTW :)
Jan
28
comment Does client side prediction sync with the server in the past?
The server would think I was going straight longer than the client did - no, why would it? The inputs you send have timestamps, so if you have been pressing the "right" key for 20ms since you sent the last input, you send "moving right for 20ms". The server never interpolates; it only gets real, actual inputs and applies them to the deterministic world. It's the client who does funky stuff. Maybe here's where your confusion comes from?
Jan
28
answered Does client side prediction sync with the server in the past?
Jan
19
answered What would be best practice of client comunication in a multiplayer game
Jan
17
answered Centering three rectangles of different size
Jan
14
comment What is the purpose of indices in 3D rendering?
If you really want to understand what's going on, get some graph paper, draw the 3D vertices, and draw lines between the vertices specified by INDICES.