2,307 reputation
426
bio website fxz.sufx.net
location Bucharest, Romania
age 29
visits member for 2 years, 9 months
seen 1 hour ago

Gameplay programmer. Main interests:


  • physics based animation (deformable objects, kinematics)
  • mathematics of CG applications (simulation, games, etc.)
  • shader programming
  • discrete differential geometry (manifold properties)
  • robotics

While you're here, please stop saying these two things

  • quaternions avoid gimbal lock
  • premature optimization

why?

  • gimbal lock is related to a mechanism, quaternions are just an algebraic/geometric description of an angle-axis rotation. So they do not avoid it since the mechanism itself cannot.
  • if it's an optimization, if it's common sense, just implement it! Better do it now, than to look for it desperately later.

May
9
comment Throwing a ball and estimating its path using a Physics engine
Sadly this is a mature optimization attempt, the solution I gave in the answer is good, but the raycasts are a killer. The alternative method you proposed is actually identical to what I'm doing, provided you could somehow propose the most efficient "minimal" set of tangents..
May
9
asked Throwing a ball and estimating its path using a Physics engine
Apr
28
reviewed Approve Unity3D Directional lights vs Draw calls
Apr
21
reviewed Approve Preventing rapid inversions of boolean on Collision detection
Apr
15
reviewed Approve Textures in Unity3D appear with lower quality than in Photoshop
Apr
11
reviewed Approve Smooth input handling in Java
Apr
8
reviewed Approve rotating menu with Actors in libgdx
Apr
4
reviewed Approve What is Java missing that might make it difficult to develop fully-featured 2D games?
Apr
4
reviewed Approve How can I determine the pixels covered by a transformed triangle (without drawing it)?
Apr
4
reviewed Approve Difference between Arcade, P2 and Ninja physics in Phaser
Apr
4
reviewed Approve Animate 2D Human body Skeletal with Hands using JS
Apr
3
reviewed Approve Increase animation speed according to the swipe speed in unity for Android
Apr
1
reviewed Approve Andengine how to change the onscreen control directions?
Mar
28
reviewed Approve How to occlude lights in Unity3D?
Mar
26
comment How do I lerp between values that loop (such as hue or rotation)?
Well, although the atan2 based idea is straightforward, this one could save some space and a bit of performance (no need to store x and y, nor to compute sin, cos and atan2 too often). I think it's worth expanding a bit on why this solution is correct (i.e. choosing the shortest path on a circle or sphere, just like SLERP does for quaterions). This question and answers should be put in the community wiki as this is a really common issue most gameplay programmers face.
Mar
24
reviewed Approve how to make different sprite when moving and aiming
Mar
24
reviewed Approve How to design basic physics and movement behavior for 2D platformer?
Mar
24
reviewed Approve Picking random monster cards from a deck
Mar
18
reviewed Approve Stop schedule on gameOver
Mar
18
reviewed Approve Android and OpenGL, single thread vs double thread