Code Monkey home page Code Monkey logo

mesh_simplification_python's People

Contributors

antonotnawang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mesh_simplification_python's Issues

How to preserve color?

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!

Dimensions error

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!

How to simplify mesh with texture?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.