Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to simplify mesh with texture? #2

Open
ShangXiaoYun opened this issue Jul 11, 2022 · 0 comments
Open

How to simplify mesh with texture? #2

ShangXiaoYun opened this issue Jul 11, 2022 · 0 comments

Comments

@ShangXiaoYun
Copy link

First, thanks for your pleasant work!
The format of input obj file for me is as follow,

v x1 y1 z1
v x2 y2 z2
...
vt x1 y1 z1
vt x2 y2 z2
...

f f1/f1'/ f2/f2'/ f3/f3'/
...
In the vt flag for every line, there is texture coordinate (x1, y1, z1). I run your code, even if I don't process 'vt' flag, and just write .obj with 'v x1 y1 z1' and 'f f1 f2 f3', the output file don't display anything. There must be something wrong with what I've done.
How should I process 'vt' value?
Your reply will be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant