You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thanks for your pleasant work!
The format of input obj file for me is as follow,
v x1 y1 z1 r1 g1 b1
v x2 y2 z2 r2 g2 b2
...
f f1 f2 f3
...
In the v flag for every line, there is color item (r, g, b). I run your code, and I found color item disappeared in output file.
How should I compute color value?
I think it's better not change file format if there is no much extra computational burden.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi, thanks for your question. Haha, I didn't consider color in this work. I can check the code. You can also look at it because it mainly does some array computation. I remember I only preserve the location info of vertices when loading the obj file. You can try preserving them all.
First, thanks for your pleasant work!
The format of input obj file for me is as follow,
v x1 y1 z1 r1 g1 b1
v x2 y2 z2 r2 g2 b2
...
f f1 f2 f3
...
In the v flag for every line, there is color item (r, g, b). I run your code, and I found color item disappeared in output file.
How should I compute color value?
I think it's better not change file format if there is no much extra computational burden.
Thank you!
The text was updated successfully, but these errors were encountered: