Transformation in game development is usually refers to linear algebra operations on points, vectors and matrices.
0
votes
2answers
201 views
3d vertex translated onto 2d viewport
I have a spherical world defined by simple trigonometric functions to create triangles that are relatively similar in size and shape throughout.
What I want to be able to do is use mouse input to ...
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 ...
0
votes
1answer
54 views
XNA Camera Positioning All Wrong
I've been working in 3DSMax for years now and decided to give XNA 4.0 a try. I've got the majority of it working, however the camera is being a pain to me and I can't discern what's gone wrong. I ...
0
votes
0answers
47 views
Proper matrix rotation and storing rotation values
I have GameObject's transform component(position+rotation) and shape mesh(array of vertices).
On each game tick I update coordinates of vertices relatively to game object's rotation.
And my current ...
0
votes
0answers
242 views
Transformation Matrix in Android Canvas?
This question is following up my previous question that I asked it in stackoverflow: Hide a face of a 3D shape behind another,Android canvas?
I have a canvas and I have to get the normal vector of a ...
0
votes
0answers
40 views
Transform a Screen Delta
I have a delta in screen coordinates that I want to transform to a 3d delta in world space.
The delta is in this case a movement across the (x,y) coordinates in screen space on the near projection ...
0
votes
0answers
100 views
Translating multiple objects in GUI based on average position? [closed]
I use this method to move a single object in 3D space, it accounts for a local offset based on where the cursor ray hits the widget and the center of the widget.
var cursorRay = cursor.Ray;
...
0
votes
1answer
217 views
Drawing a missile relative to the ship
I'm drawing my ship by the following code and wanted to draw a missile at the tip of the ship, so that when I click spacebar it fires that missile. I don't know if what I'm doing is correct or not. Is ...
-1
votes
1answer
46 views
Transformations are not correct using GLM and OpenGL
The aim of my program is to render a simple colored triangle in rotation. The rotations are correct if all Z values of my vertices are equals to 0.0f. If one of these values are different of 0.0f the ...
-1
votes
2answers
131 views
How to transform gameObjects in array? [closed]
I have an array of available gameObjects in the scene. An array of GO should be transformed according to received floats through UDP connection. I know it is simple, but can't figure it out how to ...
-2
votes
1answer
189 views
What intuitively meaningful 2D transform can three-finger multitouch represent? [closed]
With two fingers on a touch sensing plane, we can "grab" (control) two points within a section of 2D plane.
It means it is possible, using two fingers, to translate, rotate, and scale a 2D object ...
