Transformation in game development is usually refers to linear algebra operations on points, vectors and matrices.
1
vote
1answer
321 views
importing animations in Blender, weird rotations/locations
This is for the Blender 2.6 API.
There are two problems:
1. When I import a single animation frame from my animation file to Blender, all bones look fine.
But when I import multiple (all of the ...
0
votes
1answer
181 views
Optimizing hierarchical transform
I'm transforming objects in 3D space by transforming each vector with the object's 4x4 transform matrix. In order to achieve hierarchical transform, I transform the child by its own matrix, and then ...
0
votes
2answers
290 views
getting bone base and tip positions from a transform matrix?
I need this for a Blender3d script, but you don't really need to know Blender to answer this.
I need to get bone head and tip positions from a transform matrix read from a file.
The position of base ...
1
vote
1answer
224 views
Translate along local axis
I have an object with a position matrix and a rotation matrix (derived from a quaternion, but I digress). I'm able to translate this object along world-relative vectors, but I'm trying to figure out ...
2
votes
1answer
213 views
Transform 3D vectors between coordinate systems
I've got 6 points in 3D space: A,B,C,D,E,F, that represent 4 vectors. AB is perpendicular to AC and DE is perpendicular to DF.
I need to find a transformation matrix M, that transforms AB to DE and ...
2
votes
2answers
199 views
how to transform child elements position into a world position
I'm making a 2d space game in Javascript with canvas. In this game there's a bunch of spaceships, positioned in world space, with turrets, positioned relative to their parent ships. These objects also ...
1
vote
1answer
396 views
Transform 3d viewport vector to 2d vector
I am playing around with 3d transformations and came along an issue.
I have a 3d vector already within the viewport and need to transform it to a 2d vector. (let's say my screen is 10x10)
Does that ...
1
vote
1answer
183 views
How do I draw shape distortion with a Texture2D in XNA?
Say I have a rectangular Texture2D object in XNA, and I draw it on the screen.
How can I animate it so it slowly changes to a trapezoid shape, and then to a pentagon, etc.
I have no idea what this ...
0
votes
2answers
3k views
Scaling Model in XNA, keep position
I am trying to create a little fun 3D game in XNA, but I am having some problems with scaling my models. I use models from random sites, so my battleship is for an example 10 times larger than my ...
1
vote
3answers
489 views
In Maya how do I convert trans, rot, scale data to a 4 x 4 transformation matrix?
I have been given the following Maya camera data:
trans X: 1.542
trans y: 3.319
trans z: -1.821
rot X: 117.882
rot Y: 2.189
rot Z: 154.074
scale X: 1
scale Y: 1
scale Z: 1
What is the ...
1
vote
1answer
586 views
Translating local to global coordinates in ARToolkit / OpenGL
Ok, so I've tried reading over the other questions and something's just not clicking for me. I am working on an augmented reality application using ARToolkit, however it should just be straight ...