An array of numbers, symbols or expressions, arranged in row and columns. The numbers, symbols or expressions themselves are called elements or entries.

learn more… | top users | synonyms (1)

4
votes
1answer
279 views

apply non-hierarchial transforms to hierarchial skeleton?

I use Blender3D, but the answer might not API-exclusive. I have some matrices I need to assign to PoseBones. The resulting pose looks fine when there is no bone hierarchy (parenting) and messed up ...
3
votes
1answer
228 views

Retrieving model position after applying modeltransforms in XNA

For this method that the goingBeyond XNA tutorial provides, it would be really convenient if I could retrieve the new position of the model after I apply all the transforms to the mesh. I have edited ...
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
154 views

Stage3D: Camera pans the whole screen

I am trying to create a 2D Stage3D game where you can move the camera around the level in an RTS style. I thought about using Orthographic Matrix3D functions for this but when I try to scroll the ...
0
votes
1answer
112 views

Camera lookAt target changes when rotating parent node

have the following issue.I have a camera with lookAt method which works fine.I have a parent node to which I parent the camera.If I rotate the parent node while keeping the camera lookAt the target , ...
3
votes
0answers
144 views

Blender - creating bones from transform matrices

Notice: this is for the Blender 2.5/2.6 API. Back in the old days in the Blender 2.4 API, you could easily create a bone from a transform matrix in your 3d file as EditBones had an attribute named ...
1
vote
0answers
76 views

Box2D, OpenGL, resolution and matrix setup

Okay, my internal units are going to be meters, ranging between 0.1 and 10 meters for size. First of all, my mind is all wrapped up in a knot trying to understand how to handle my game with multiple ...
1
vote
0answers
59 views

Rotate Points with Object in world space

I posted this in the original stack overflow then realized that a game-dev specific one exists. I am working on personal project that requires me to have 4 points surrounding an object (1 at each of ...
1
vote
0answers
150 views

How do I implement a physics gun?

I'm currently trying to implement a physics gun for my game. What I want is for the entity to stay in the same position on the screen no matter how I wiggle the camera about, what is the correct way ...
1
vote
0answers
166 views

Drawing two orthogonal strings in 3d space in Android Canvas?

I want to draw two strings in canvas. The first string must be rotated around the Y axis, for example 45 degrees. The second string must start at the end of the first string and also it must be ...
1
vote
0answers
142 views

Matrix.CreateBillboard centre rotation problem

I'm having an issue with Matrix.CreateBillboard and a textured Quad where the center axis seems to be positioned incorrectly to the quad object which is rotating around a center point: Using: ...
1
vote
0answers
142 views

How do I convert my matrix from OpenGL to Marmalade?

I am using a third party rendering API, Marmalade, on top of OpenGL code and I cannot get my matrices correct. One of the API's authors states this: We're right handed by default, and we treat y ...
1
vote
0answers
166 views

Getting and Setting Rotation in XNA around the Center of my Model with XNA

Alright, so I'm currently debating how I want to do this. Basically this is what I'm trying to accomplish. I've created a system to allow me to make my environment a little bit easier. I'm ...
1
vote
0answers
153 views

what space is this Matrix in?

In Blender 2.6 API, PoseBone is used for animating a bone. PoseBone.matrix is one way to do that. API says PoseBone.matrix is in "object space". ...
1
vote
0answers
116 views

reflection plane 3d

Hey there I'm trying to create a plane that can have a texture on it and reflect the 3d elements around it. for example a plane with a laminate floor texture and above it a cube rotating. I want the ...
0
votes
0answers
45 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
125 views

Stacking Drawing Matrix for SpriteBatch in XNA

I'm trying to make a 2D engine for XNA with SpriteBatch. My object unit is Entity, which can include other Entities as its children. However, when drawing them, the rotation and scaling stacking do ...
0
votes
0answers
235 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
88 views

Camera Projection back Into 3D world, offset error

I'm using XNA to simulate a robot in a 3D world and then do image analysis on what the camera sees. I have my camera looking down in front of the direction that the robot is going, and I have the ...
0
votes
0answers
57 views

Calculating the position of an object with regards to current position using OpenGL like matrices

i have a 1st person camera that collides with walls, i also have a small sphere in front of my camera denoted by the camera position plus the distance ahead. I cannot get the postion of the sphere but ...
0
votes
0answers
168 views

Unity3D - Projection matrix camera frustum

I've used off centre projection to create a custom projection matrix for my camera. When I run the game I can see the scene correctly in the game view but in the editor view the camera frustum is not ...
0
votes
0answers
157 views

Animation exporting from Maya to DirectX environment

I'm working on a model/animation Maya exporter for a game I'm working on. I used a very simple animated box mesh with four joints at first to make sure everything works, and got it running relatively ...
0
votes
0answers
95 views

Blender poseBone matrix from animation matrix?

Given an animation matrix for a bone in armature-space, how to calculate the "matrix" of poseBone from it and assign it in Blender? Basically by bones can have parents, but all animation matrices in ...
0
votes
0answers
305 views

Calculating the correct roll from a bone transform matrix

Read this forum topic for more info: http://blenderartists.org/forum/showthread.php?260602-transform-matrix-to-bone-%28head-tail-roll%29-bug I'm trying to get my Blender3d modeller importer to create ...
0
votes
0answers
795 views

Setting up perspective projection on Opengl ES 2.0 makes objects disappear

I'm working on a project using opengl-es 2.0, and I'm having some trouble setting up perspective projection. If I don't set up the perspective projection and simply multiply the object-to-world ...
0
votes
0answers
236 views

Dynamic enviroment map using pincushion Curvilinear Perspective Projection possible?

I'm wondering if it is possible to generate a dynamic spherical environment map using a single frame render using a pincushion Curvilinear Perspective Projection Matrix (phew that's a mouthful). ...