- second change in vrml file writing. Thanks to testing of a user (don't have good
vrml viewer here) I could make the UV coords in the right order. seems to look good now, but will keep in touch with the tester for verification
This commit is contained in:
@@ -2447,9 +2447,9 @@ static void write_mesh_vrml(FILE *fp, Mesh *me)
|
||||
while(a--) {
|
||||
if(mface->mat_nr==b) {
|
||||
fprintf(fp, "\t\t\t\t %f %f,\n", tface->uv[0][0], tface->uv[0][1]);
|
||||
fprintf(fp, "\t\t\t\t %f %f,\n", tface->uv[3][0], tface->uv[3][1]);
|
||||
fprintf(fp, "\t\t\t\t %f %f,\n", tface->uv[1][0], tface->uv[1][1]);
|
||||
if(mface->v3) fprintf(fp, "\t\t\t\t %f %f,\n", tface->uv[2][0], tface->uv[2][1]);
|
||||
if(mface->v4) fprintf(fp, "\t\t\t\t %f %f,\n", tface->uv[1][0], tface->uv[1][1]);
|
||||
if(mface->v4) fprintf(fp, "\t\t\t\t %f %f,\n", tface->uv[3][0], tface->uv[3][1]);
|
||||
}
|
||||
mface++;
|
||||
tface++;
|
||||
|
Reference in New Issue
Block a user