1,084 reputation
517
bio website mathodev.wordpress.com
location Belgium
age 18
visits member for 3 years, 9 months
seen Jul 24 at 15:54

I'm writing Java, C++ and some Objective-C. I started programming in 2007 (when I was 11). I was trying to solve a mathematical problem in Excel. Until a family member saw me trying and said: "Martijn, you shouldn't be doing that in Excel. Write your own program to solve that problem." And then I started learning Java.

Right now, I'm working on my magnus opus: an iOS game to be released soon on the App Store. The game is written in C++, Obj-C and combined with OpenGL.


A couple of seeds for my name (for java.util.Random, radix 26):

  • 4611686047252874006
  • -9223372008029289706
  • -4611685989601901802
  • 28825486102

Jul
2
awarded  Curious
Jun
2
comment Box2D random crash when adding joints
I'm not sure if you can add joints within the step. Such as in the code that executes when a collision is detected by Box2D and you installed a listener for that. Maybe you can't add them in the listener.
Jun
1
comment Box2D random crash when adding joints
Stepping with time zero is a very bad idea.
Jun
1
comment Box2D random crash when adding joints
Are you executing this joint creation code in another thread? If so, try to acquire a lock on the world as you step it and when you add the joint.
May
30
comment How to implement soft edge areas with particles
Make them fit nicely. That is the idea. This involves some math and computing points of intersection etc. You could also subdivide the border and smooth it out. Tons of possibilities.
May
30
revised How to implement soft edge areas with particles
added 87 characters in body
May
30
comment How can I use voice commands to control my game?
Cons: reflex speed, people have to talk to their phone in public, it's awkward in general, speech recognition failure.
May
30
revised OpenGL setup on Windows
quote instead of code block
May
30
revised How to implement soft edge areas with particles
added 1 character in body
May
30
revised How to implement soft edge areas with particles
added 319 characters in body
May
30
suggested suggested edit on OpenGL setup on Windows
May
30
comment How to rotate a set of points on z = 0 plane in 3-D, preserving pairwise distances?
Well, then I guess that your data you have is wrong. Is there a way you can verify that data?
May
30
comment How to rotate a set of points on z = 0 plane in 3-D, preserving pairwise distances?
But the blue points are calculated and the black lines indicate that they are not at the right position. How do you know what their position should be? Do you have a list of data that says where it should be? If so, that data set is most likely wrong, since this is a linear operation and cannot fail in particular cases, if it works for many others.
May
30
comment How to rotate a set of points on z = 0 plane in 3-D, preserving pairwise distances?
And how do you know where they should be? You're trying to find their position?
May
30
comment How to rotate a set of points on z = 0 plane in 3-D, preserving pairwise distances?
But again: what are those black lines?
May
30
answered How to implement soft edge areas with particles
May
30
revised How to rotate a set of points on z = 0 plane in 3-D, preserving pairwise distances?
added 219 characters in body
May
29
answered How to rotate a set of points on z = 0 plane in 3-D, preserving pairwise distances?
May
29
comment How to rotate a set of points on z = 0 plane in 3-D, preserving pairwise distances?
@cagirici: You probably did not add a 1 to your 3-Vectors, but a 0. Always add 1 to your coordinates when you use matrices. There is a perfect explanation for why this is 1 and how it works, but that would lead us too far. That involves understanding the difference between linear spaces and affine spaces.
May
29
comment How to rotate a set of points on z = 0 plane in 3-D, preserving pairwise distances?
Also, the original points, which are the red ones, I suppose are not in the z=0 plane. That totally breaks my method.