Tagged Questions
3
votes
1answer
60 views
Matrix Translation Transformation Question
I've been reading a lot about computer graphics lately and because of it I'm building my own math library's for fun. I was reading about Matrix Translation and Homogeneous Coords, and was wondering ...
3
votes
1answer
231 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
787 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
134 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
243 views
Getting the normals of a hemisphere?
I'm trying to calculate the normal for a hemisphere.
I draw the hemi-sphere by this code:
for(float phi = 0.0; phi < 1.567; phi += factor) {
glBegin(GL_QUAD_STRIP);
for(float ...
0
votes
1answer
335 views
What maths should I learn for game programming, and what aspect of programming does it relate to? [duplicate]
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 ...
2
votes
3answers
336 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 ...
10
votes
5answers
5k 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
477 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
287 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 ...