326 reputation
27
bio website
location
age
visits member for 2 years, 1 month
seen Oct 3 at 18:38

Graphics programmer. 6 years of game industry experience.

"Since then I’ve had the chance in the world of mathematics that bid me welcome, to meet quite a number of people, both among my “elders” and among young people in my general age group who were more brilliant, much more ‘gifted’ than I was. I admired the facility with which they picked up, as if at play, new ideas, juggling them as if familiar with them from the cradle–while for myself I felt clumsy, even oafish, wandering painfully up an arduous track, like a dumb ox faced with an amorphous mountain of things I had to learn (so I was assured) things I felt incapable of understanding the essentials or following through to the end. Indeed, there was little about me that identified the kind of bright student who wins at prestigious competitions or assimilates almost by sleight of hand, the most forbidding subjects." Alexander Grothendieck


Sep
24
awarded  Autobiographer
Aug
26
awarded  Yearling
Aug
11
comment How to understand huge code bases?
Yes, I use a debugger so I can step into functions that look interesting, as well as stepping over functions that aren't relevant to what I'm looking for. I'm glad you found this helpful.
Aug
10
answered How to understand huge code bases?
Apr
1
comment How to simulate early politics?
Have you tried logarithms?
Mar
30
awarded  Enthusiast
Mar
11
comment lemniscate of Bernoulli
Hah, nice, just noticed that varX showed up twice. Glad you got it figured out.
Mar
11
answered lemniscate of Bernoulli
Mar
10
comment OpenGL ES screen to world coordinate
Thought so. Did you manage to get it sorted out? All you should need to do is scale your touch coordinates to match your viewport size.
Mar
10
awarded  Analytical
Mar
10
answered OpenGL ES screen to world coordinate
Mar
9
awarded  Critic
Mar
9
awarded  Commentator
Mar
9
comment Problem rendering cube using DirectX 11
It was just a guess since none of the matrices looked like they were getting applied; sounds like you figured out that the data needed to be transposed, which makes sense too.
Mar
9
comment Problem rendering cube using DirectX 11
@Goz: Exactly - handedness is just a matter of how the default API generates matrices. But you can build your matrices however you want as long as they give you the right position in clip space :)
Mar
9
comment Problem rendering cube using DirectX 11
@Goz: Right, your suggestion should've worked fine, which makes me think he had an offsetting error somewhere if RH worked and LH was facing the wrong way.
Mar
9
comment Problem rendering cube using DirectX 11
@Kevin: DirectX is left-handed. But assuming you set the view position's Z coordinate to -1.0, your camera would be facing away from the cube. XMMatrixLookAtRH would correct for the error and point it toward the cube. XMMatrixLookAtLH with the Z coordinate as 1.0 would give you the same effect.
Mar
9
comment Problem rendering cube using DirectX 11
Ouch, looks like I got beaten by 15 minutes! Glad you managed to figure it out, though.
Mar
9
answered Problem rendering cube using DirectX 11
Mar
3
comment Loading levels in XNA from XML
The problem with this approach is that it skips the content pipeline and reads directly from files on your OS. The Xbox can't do that, so this approach will only work on Windows. XmlSerializer also outputs bloated XML and doesn't handle polymorphism well. I strongly suggest you use IntermediateSerializer because the XNA team wrote it to make up for the shortcomings of XmlSerializer. Check out Shawn Hargreaves' post here: blogs.msdn.com/b/shawnhar/archive/2008/07/28/…