I am trying to take a high resolution blender Mesh I've made, and export it into a format I made so I can load it into a graphics renderer I made that uses Presision Point Cloud Data instead of polygons.
I am taking each vertexon the mesh and creating a halo-like mesh out of it, not the mesh is ~2.8 million trigons.
For my renderer, instead of textures, each vertex will have an 24-Bit RGB color, which leads to my question.
I do not get Blender's UV system. I would expect the U and V to be floats or doubles stating the pixel location the vertex lies on, however I'm finding a float between -2.0 and 2.0 seemingly telling how much of a percentage 0.0 to 1.0 of the texture scale, like the UV 0.5 0.75 would be half across the texture and 3/4 down the texture.
Is this true? if now, what do these numbers tell?
I need to find the exact pixel the vertex(s) lie on, and then that leads to my second question.
Once I get the location of the vertex on the image, how do I find the image RGB color at that pixel?
I understand that the same pixel may have multiple locations on the UV Grid, and I plan on averaging the colors found.
Thanks in advanced.
Scripting in Blender with Python, and working on the API
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests