Skip to main content

All Questions

0 votes
0 answers
277 views

How to get the precise mapping in python of a point in a texture to the point in which it has been mapped in an object?

Let's say that I have a texture with a square, and I apply this texture to the surface of a object. I need to know that exact 3D coordinates of the borders of this square where they have been applied ...
Manveru's user avatar
  • 223
1 vote
1 answer
416 views

Getting the colour information from texture at ray intersection using BVHTree returns wrong rgb value

I am trying to achieve the effect shown in the following picture in Blender: That is done in XSI's ICE, which has an inbuilt function for retrieving colour info via raycasting I came up with the ...
radoo's user avatar
  • 355
1 vote
1 answer
1k views

Setting UV's of a mesh with an array of vertex coordinates

I've been trying to set the UV's of a mesh i created via code, and i have an array of vectros with the U and V coordinates, the problem is, the way to set up the UV's via the API seems to be via ...
Seyren Windsor's user avatar
3 votes
1 answer
418 views

How can I draw a circle in an image inside the image editor?

I would like to be able to draw a circle inside an image that is available in image editor. I found this code here but I do not know how to manipulate the xy values for drawing a circle properly. <...
yarun can's user avatar
  • 428
1 vote
1 answer
1k views

How to update an object after changing its uv coordinates?

I'm creating a node for Sverchok which will apply custom UV map to an object. Pretty simple thing but after applying new UV coordinates to an object object it doesn't update the viewer somehow. ...
Сергей Солуянов's user avatar
1 vote
1 answer
3k views

How to set UV coordinates for a mesh in Blender 2.8x with script?

It's 1am, and I googled every outdated site on the net, I give up. In 2.79 I had a code: ...
Zéiksz's user avatar
  • 1,979
5 votes
1 answer
2k views

Get pixel coord in rendered image of pixel coord in texture

Problem: As shown in the figure above, I have the coordinate pair (x, y) which describes a certain point in an image texture and I want the corresponding ...
S818's user avatar
  • 153
2 votes
2 answers
900 views

Continuous and coherent texture mapping on deforming objects

I am new to Blender, and I am stuck with a problem in texture mapping. I have got a series of model files (*.obj) that represents a non-rigid, deforming object. Each of the model file, represents an ...
metsburg's user avatar
  • 121
2 votes
1 answer
437 views

Vertex vs texture map

I am trying to select a model vertex by the textures alpha trough the python. But I cant figure out relationship between meshes vertex, uv-vertex and texture´s pixel rgba information. Can you help ...
MRL's user avatar
  • 340