21 votes
Accepted

How to scale a UV Image Texture?

This can be solved by inserting a Mapping node and setting the Scale values as desired.
Mentalist's user avatar
  • 18.8k
17 votes
Accepted

How to change color along a curve?

The trick is to enable UV mapping on the curve and then use UV as the input texture coordinate. Then use can use the mapping node to rotate the default UV positioning to get the gradient to run along ...
Todd McIntosh's user avatar
17 votes

3x4 camera matrix from blender camera

rfabbri's excellent answer works in many cases but not always. Based on his version I created a new one that (at least in my tests) works in all cases, including portrait and landscape pixel aspect ...
Daniel's user avatar
  • 271
11 votes
Accepted

Python: How to identify (by index) the edge closest to a given location?

Following a discussion in comments, there may be a point to consider: what does distance to edge means. My first though was: the shortest distance to any point along the edge. But you would prefer the ...
lemon's user avatar
  • 53.3k
10 votes
Accepted

How do I generate pixel-art friendly UV maps?

Well I cannot promise this is the ideal technique, take it for what it's worth. Edit: here's a more pixel art like render: I decided to unwrap the model in the traditional way by marking seams. ...
risingfall's user avatar
  • 3,139
9 votes
Accepted

How do I set an objects position relative its parent?

You can use Alt+O to setup 0,0,0 coordinates at parent location. The operator is called Clear Origin, for 2.8+ you can access it from the 3D View header menu under Object > Clear > Origin.
Crantisz's user avatar
  • 33.6k
9 votes
Accepted

How can I export or print coordinates of each selected vertex?

Open up a new Text window and copy and past the following. ...
rob's user avatar
  • 1,718
8 votes

How can I "zero" an object's orientation in blender?

You want to apply the rotation. Select your object, then go to Object > Apply > Rotation. This should do what you want to do
Bear's user avatar
  • 81
8 votes
Accepted

Why does the y-axis of one of my objects appear to be backwards?

You have a negative scale - see the Scale panel on the right-hand side. Press Ctrl-A and Apply Scale and the transform should behave as you expect. You may also need to Recalculate Normals once you've ...
Rich Sedman's user avatar
  • 44.3k
8 votes

Cycles: Generate 3d coordinates before modifier stack is resolved

It can be done! Approaching it on a Surface Before we try to do this with a 3-dimensional texture, let's attempt it in 2-dimensions. This is actually fairly straightforward. We can create a proxy ...
Scott Milner's user avatar
  • 4,433
7 votes
Accepted

Generated texture coordinates with shape key

Try using the Object texture coordinate input instead of Generated. Works for me.
Todd McIntosh's user avatar
7 votes

How to change color along a curve?

Material - plug UV Texture Coordinate socket into Separate XYZ node and use X socket as Fac input of ColorRamp Note: Add thickness to a curve (make a tube) you don't need another object for circle ...
vklidu's user avatar
  • 34.8k
7 votes
Accepted

Select everything inside the UV 0-1

Have a look into the python templates that come along with Blender. There is an Operator Mesh UV template you can modify to your needs. Based on that, all you would have to figure out is how to set ...
brockmann's user avatar
  • 12.3k
7 votes
Accepted

How can I "bend" object coordinates?

If you can align the object with the coordinates somehow, and then change it procedurally to the final shape, you can use the Generated coordinate space: It shouldn't be too hard considering it ...
Markus von Broady's user avatar
6 votes
Accepted

How to align vertices 100% accurately?

This is likely because the vertices are not aligned. The transform panel shows the median location of all selected vertices; setting it to 0 will move the whole selection as a unit: To align the ...
gandalf3's user avatar
  • 156k
6 votes
Accepted

Align object according to axis

You can use align rotation of the snapping tool. But you have to align an object with straight axes onto your mesh and then rotate it back.
Dimali's user avatar
  • 1,675
6 votes
Accepted

Point of origin at 0,0,0

You can either move your origin (1), or move your vertices in edit mode (2). Solution 01. Move the origin Set Transform to only affect Origins Sidebar > Tool > Transform only Origins Then you can ...
jachym michal's user avatar
6 votes
Accepted

How to get data and edit it on UV map edges?

Make a "UV" bmesh Given the mesh object above with UV, make a bmesh from the uv's loop faces loop face loops add a vert to new bmesh at uv.x, uv.y, 0 create a ...
batFINGER's user avatar
  • 83.5k
6 votes

Select everything inside the UV 0-1

Via Select Box Operator Example in blender version 2.91,2, after running script, adding Box Select operator with range options (arbitrarily labelled ...
batFINGER's user avatar
  • 83.5k
6 votes
Accepted

Get Point Coordinates generated with Geometry Nodes?

This is a workaround and I hope there is (or will eventually be) an easier way to access point cloud data in the API. In your GN tree add an Instance on Points node, plug in a Mesh Line set to a ...
Gorgious's user avatar
  • 29.3k
5 votes

How to align local coordinate with global axis?

Press CtrlA to bring up the Apply object Transformation menu and select Rotation. From the blender manual: This will make Blender consider the current rotation to be equivalent to 0 degrees in ...
eromod's user avatar
  • 2,600
5 votes
Accepted

Script for getting Camera Look At co-ordinates

If you want the first surface point of where the camera is pointing at, you can use a variation of this script. It casts a ray from the camera and checks for collision using the ray_cast function of ...
Leander's user avatar
  • 25.7k
5 votes

Coordinate XYZ limitation of 10,000 - Workaround questions

The limitation is on size of objects, not actual vertex location. And according to this answer, there's no way around it. The limit is actually ±10 000, so the maximum size of objects is 20 000 BU. ...
jachym michal's user avatar
5 votes
Accepted

Which matrix to use to transform children local coordinates to global?

Parent with Identity inverse. The relationship between the matrices. Does a child object inherit the matrix from the parent? and if you have used the parenting operator (yick) how to reset parent ...
batFINGER's user avatar
  • 83.5k
5 votes

How to get the coordinates of a sliced volume?

Bisect at waterline. Making the assumption that the water is an infinite plane, defined by location and normal of a plane object, default aligned such that its local Z axis designates "above ...
batFINGER's user avatar
  • 83.5k
5 votes
Accepted

How are tangent and bitangent calculated?

For normal mapping, (tangent, bitangent, normal) is (X, Y, Z). The tangent and bitangent are computed from a UV map (that's why you need one to get tangents). The idea is they're picked so they point ...
scurest's user avatar
  • 9,496
4 votes

Apply Object Texture Coordinates

You can do this by creating a special new material of the texture coordinates and baking it, then using the baked image for the texture coordinates of your split objects. Note thatt this should be ...
PGmath's user avatar
  • 25k
4 votes
Accepted

Vertices coords and edges exporting

Each edge contains the vertex index of the two vertices that it connects. Similarly each face contains a list of vertices defining it. ...
sambler's user avatar
  • 55.1k
4 votes
Accepted

How do I get a better understanding of the coordinate system in blender?

Generated coordinates Here is a simple base setting, converting the 'generated' output to color. Generated gives a vector composed of X, Y and Z space coordinates. But these space coordinates are ...
lemon's user avatar
  • 53.3k

Only top scored, non community-wiki answers of a minimum length are eligible