INNER CODE UNIT · Python

v2

bernhardstrobl/Pico3D · Blender/pico3d_blender_exporter.py:343

                v2 = (mesh.uv_layers[0].data[tri.loops[1]].uv[1]) * image_size
                
                u3 = (mesh.uv_layers[0].data[tri.loops[2]].uv[0]) * image_size
                v3 = (mesh.uv_layers[0].data[tri.loops[2]].uv[1]) * image_size
                
                    
                    
                
                
                #finally perform conversion into hex
                u1 = hex(int(u1))
                v1 = hex(int(v1))
                
                u2 = hex(int(u2))
                v2 = hex(int(v2))
                
                u3 = hex(int(u3))
                v3 = hex(int(v3))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…