Tagged Questions

3
votes
1answer
98 views

Understanding normal maps on terrain

I'm having trouble understanding some of the math behind normal map textures even though I've got it to work using borrowed code, I want to understand it. I have a terrain based on a heightmap. I'm ...
1
vote
1answer
153 views

global transform to local transform?

If an object is attached to another one and you need to set its position, rotation and scale in global space, what do you do to get the local versions of these values, knowing the same values for the ...
1
vote
1answer
120 views

Math major as a viable degree

While I realize there are many topics about CS vs software engineering vs game school programs, I haven't found anything relating to whether pure math degrees (with CS minor and electives) would also ...
-3
votes
1answer
151 views

Getting the normals of a hemisphere?

I'm trying to calculate the normal for a hemisphere. I'm kinda new to opengl. I draw the hemi-sphere by this code: for(float phi = 0.0; phi < 1.567; phi += factor) { ...
0
votes
1answer
305 views

What maths should I learn for game programming, and what aspect of programming does it relate to? [closed]

Possible Duplicate: What math should all game programmers know? Obviously a good knowledge of maths is essential for good programming, my maths isn’t the best ( I didn’t pay attention in ...
1
vote
3answers
314 views

Blending animations for more character movements

I am making a hack n slash 3rd person game, and I want the character movements to be more dynamic not like fighting games where you have a moves list. I want to animate tons of different animations ...
7
votes
4answers
4k views

Complete Math Library for use in OpenGL ES 2.0 Game?

Are you aware of a complete (or almost complete) cross platform math library for use in OpenGL ES 2.0 games? The library should contain: Matrix2x2, Matrix 3x3, Matrix4x4 classes Quaternions ...
3
votes
2answers
449 views

When constructing an orientation matrix, are the rows of the matrix the axis?

When constructing an orientation matrix, are the rows of the matrix the axis? The matrix is row-major and I'm multiplying vectors on the right (Mv). So, the matrix looks like r0c0 r0c1 r0c2 r1c0 ...
3
votes
2answers
267 views

How do you transform a vector to use another objects orientation?

I want to take a vector that is using world coordinates and position it using the orientation of an object. So, if the direction of the object is the z-axis, and the vector is (0,0,1), then the ...