Skip to main content

Questions tagged [matrix]

A matrix is a mathematical object consisting of a rectangular array of (in blender's case) numbers. Matrices are used in 3D graphics for computing coordinate transformations. Blender uses matrices in the material node system for this purpose and internally for similar purposes. The internal representation can be accessed through bpy. Use this tag for questions about matrices in either the node editor or python.

0 votes
0 answers
53 views

How can I use convolution matrix in Shader Node

I want to use a convolution matrix so that I can create a Gaussian Blur for the image without it having too much noise. I saw someone upload it to BlendSwap and also something else here on ...
Golden Dragon's user avatar
0 votes
0 answers
42 views

Python exercise to learn - spiral circular shape

I’m trying to use bmesh extrusion and Matrix to do some spiral shape like this : I would like to start from a circle (like it is described on the picture) Here where I’m stuck: ...
Certes's user avatar
  • 61
0 votes
1 answer
49 views

Recreating clip space coordinates in Blender shader nodes

I've been trying to recreate the clip space coordinate system in Blender's shader nodes. From what I know, the only coordinate systems you have access to are object coordinates (position), world ...
LuigiTKO's user avatar
0 votes
0 answers
11 views

How to export posebone location, rotation and scaling including IK?

Not sure if that is a perfect title, I'm doing a mesh skinning shader in Game Maker and it is done, both the model and bones are exported from Blender (after struggling making an exporter) My problem ...
Khyze's user avatar
  • 21
0 votes
0 answers
30 views

Blender's bone.matrix_basis.to_euler() output data is flipped on some bone

I'm currently writing a blender addon to export animations to a json format which i can use for my projects. My current way of exporting is this: I grab the matrix of the armature bone: ...
Hellaweird's user avatar
1 vote
0 answers
40 views

Orientate a rotated and scaled cube to global x,y & z axis

I have a rotated and scaled cube (on all axis) with the rotation and scale applied. For example: As I don't know the original rotation and scale, using Python I'd like to align the cube along the ...
FredL's user avatar
  • 215
2 votes
1 answer
88 views

Proper GPUOffScreen projection matrix from viewport

How to get proper GPUOffScreen projection matrix from viewport? API docs have example only for camera. I tried using view_matrix ...
Mikhail Rachinskiy's user avatar
2 votes
2 answers
50 views

Trying to replicate Matrix Object from C4D in Blender

I am trying to figure out if there is a way to replicate this? Basically being apply split a Mesh Object into an array of cubes or spheres. The video here is a visual representation of what I am ...
Arif's user avatar
  • 87
0 votes
0 answers
65 views

Blender 6D pose data generation

I am trying to get relative pose of object ( x,y,z and rotations ) with respect to the camera. My object is placed at origin (0,0,0) World Coordinates and the camera is following a trajectory while ...
Siddharth Singh's user avatar
4 votes
1 answer
1k views

How do you invert a transformation in geometry nodes?

I need the inverse of a transform matrix, geometry nodes seems to have abstracted away all the matrix math. Is there an intended workflow I'm missing here? In the following image I'm pulling in the ...
smuseus's user avatar
  • 87
0 votes
1 answer
118 views

blender python transfer pose bone position to an object (matrix issue)

I have an object inside a bone, matches the bone exactly (position, scale, rotation). The armature and the object have different origin points. I am trying to make the object follow the bone exactly ...
Revln9's user avatar
  • 207
0 votes
0 answers
111 views

Rotate camera around target object (within limits) using python & math utils, whilst maintaining camera facing toward target

I am writing a script to procedurally generate images of a target object on a terrain. The basic logic I am thinking of is to have the camera directly above the target pointing straight down, apply ...
oscr104's user avatar
  • 25
1 vote
1 answer
53 views

How to get a list of all the object in the camera's FOV?

How to list all the objects in the FOV of the camera? I tried projecting the vertex with the projection matrix, but objects not in the view are still projected on the image plane. Hence is there any ...
Kummmar's user avatar
  • 11
0 votes
1 answer
220 views

Camera Matrix Not Updating After Moving Camera

I am developing a short macro to find the optimal distance to place the camera from an object, so it is fully contained in the render. One simple solution is to use the maximum side of the bounding ...
Jack Rolph's user avatar
0 votes
0 answers
190 views

Camera projection matrix is always the same

I wrote a simple python script to render a scene from different points of view. For each rendered image i also need to save the projection matrix of the camera that took the picture. I try to get the ...
0n430w7's user avatar

15 30 50 per page
1
2 3 4 5
8