Print at Jan 28, 2022, 12:16:17 PM

Posted by YGYL at Oct 10, 2021, 8:50:26 AM
applause   Re: Generate roof plugin
The reason for the texture error is that the texture coordinates are calculated incorrectly
-----obj example--------
mtllib Exemple9.mtl
g 1_1_1_1_1_1
usemtl default
v 4496.651 683.83997 1944.5
v 4080.21 267.83997 2360.941
v 5405.8 267.83997 2360.941
v 4739.619 582.83997 2045.1409
v 5090.0 582.83997 2045.1409
vn 0.0072383927 0.71531975 0.6987598
vn -0 0.70748127 0.7067321
vn 0.0048255385 0.7128935 0.7012557
vn 0.0072383634 0.7155777 0.6984956
vn -0 0.708003 0.7062094
vt 2.572153 3.0108545 0
vt 4.0783777 0.0 0
vt 4.0783777 4.7945237 0
vt 2.9361613 3.52434 0
vt 2.9361613 4.7916303 0

f 1/1/1 2/2/2 3/3/3
f 4/4/4 1/1/1 3/3/3
f 4/4/4 3/3/3 5/5/5
--------------------
5 polygon vertices V, corresponding to 5 VT
Bring 5 V's into 3D spaceļ¼ŒThe apex of a partially sloping roof can be seen.

But it is not easy to calculate the correct texture coordinate value, and I don't know
There are such UV tools in other modeling software