antonotnawang / mesh_simplification_python Goto Github PK
View Code? Open in Web Editor NEWAn implementation of mesh simplification algorithm using python
An implementation of mesh simplification algorithm using python
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!
Dear, Mr. Wang
First, thanks for your pleasant work!
I'm having a little essay on college on your topic but I'm having a problem that Setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (63397,) + inhomogeneous part. I think the error encountered in this function model.calculate_optimal_contraction_pairs_and_cost() specifically self.cost I hope you can show me how to do it
P/s: I preprocessed the obj file to remove vt, vn and kept only f and v
Thank you so much!
HI SIR!!!
how to make a 3d model with more homogeneous shape.....i have a problem with "inhomogeneous shape"
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.