Open victoriapoghosyan opened 5 years ago
All you need is vertex, triangle, texture_image, texture_coordinate(uv coordinate), texture_triangle. I think you should see if your .ojb file contains texture_triangle. BTW, there is little buggy in 5_render.py and cython/mesh_core.cpp, I have already send a PR. #34
All you need is vertex, triangle, texture_image, texture_coordinate(uv coordinate), texture_triangle. I think you should see if your .ojb file contains texture_triangle. BTW, there is little buggy in 5_render.py and cython/mesh_core.cpp, I have already send a PR. #34
How could I get texture_triangle from texture_image? I use triangle instead of texture_triangle, and get right result. So is texture_triangle same as triangle?
I want to use render_texture() function as in 5_render.py script. My question is how to create uv_texture_map.jpg given .obj file with uv coordinates and .jpg file associated to .obj file ? Is the map_Kd in .mtl file what i need to apply as texture during render_texture?