16,680 reputation
23468
bio website sam.zoy.org
location Paris, France
age 36
visits member for 3 years, 7 months
seen 10 hours ago

I live in Paris, France.

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


Feb
5
comment Improving the performance of smooth movement up and down
Well I think your time (and, indirectly, ours) would be best used learning profiling tools and techniques, so that you can pinpoint the parts that are actually slow.
Feb
5
comment Improving the performance of smooth movement up and down
How many objects do you have? I have trouble believing that using a sine wave is “slightly slow”.
Feb
4
comment Gerstner wave function simplified?
Here’s a tip: the common typographic convention for vectors is to use boldface.
Feb
3
answered How does this formula for generating water waves work?
Feb
2
comment Why are the coordinates interchanged in Monogame?
If changing the orientation from portrait to landscape doesn’t change anything, you are probably doing it wrong.
Feb
1
comment How does atan2 work when getting angle of a vector?
The blue part of your drawing is wrong.
Jan
28
comment How do I use the dot product to get an angle between two vectors?
Note that your intended use of the dot product only works when the initial vectors are unit vectors.
Jan
24
comment How to optimize the distance function?
This is the best answer. There is nothing to optimise in the distance function; one just needs to use it less often.
Jan
21
awarded  Enlightened
Jan
20
revised Physics engine deltaTime and force acceleration
fix typo in the code!
Jan
20
comment Physics engine deltaTime and force acceleration
Oh, you’re absolutely right. I wrote * deltaTime instead of / deltaTime, sorry for the confusion. Adding to the velocity is correct.
Jan
20
answered Physics engine deltaTime and force acceleration
Jan
20
answered Linear filter problem with diagonal lines on adjecent tiles
Jan
17
awarded  Nice Answer
Jan
17
revised Should the Oj lobe of a Lafortune shader cause the light to be displaced?
re-do drawings
Jan
17
revised Should the Oj lobe of a Lafortune shader cause the light to be displaced?
added 34 characters in body
Jan
17
answered Should the Oj lobe of a Lafortune shader cause the light to be displaced?
Jan
16
comment Why translation uses multiplication and not addition?
This question is mostly opinion-based. Addition is indeed more effective and straightforward, but what makes you think that it isn’t actually used? I add vectors together all the time.
Jan
15
awarded  Nice Answer
Jan
14
comment How can I compute the common points when spheres intersect?
The variable B is already a Point. It is the centre of the intersection circle.