Git Product home page Git Product logo

Comments (8)

Nicolas-Constanty avatar Nicolas-Constanty commented on June 17, 2024 7

Hello @huxingyi thanks for your hard work.
I managed to create a Blender addon from autoremesher sources. Here is the result :
AutoRemesher
I just keept the code that was usefull for the quad mesh generation, so I removed completly Qt, and the rendering stuff. I also had to modify some dependencies to get it work with Blender, I will probably create a repository tomorrow so you can have access to the sources I used to build this addon.

from autoremesher.

Nicolas-Constanty avatar Nicolas-Constanty commented on June 17, 2024 2

Hi @huxingyi.

BTW, The quality of the result is still not good because of paramatrization errors, I am working on another approach, hopefully will get it released soon.

Cool news, I noticed some crashes on low poly meshes that come from parametrization section of the code indeed.

You can find the sources here.
There is no CI at the moment, so I only built it on Windows 10 - x64 version.
You can download this version here, if you want to test it inside Blender.

Note:

  • I did not implemented the loading bar inside Blender at the moment, so when the computation is started, Blender do not respond until the end of the generation.
  • As you mention above, the generation is pretty unstable at the moment, so you might encounter crashes depending of the mesh that you are using. Blender will be killed since I did not handle this kind of errors.
    Same behaviour happen on the Qt GUI, so I did not handle it (because you are aware of this issue, and you are working toward to fix it).

from autoremesher.

huxingyi avatar huxingyi commented on June 17, 2024 1

If some one do, I would like to help.

from autoremesher.

Anafeyka avatar Anafeyka commented on June 17, 2024

autoremesher just needs to be implemented as a library for python. Then autoremesher can be integrated anywhere. Almost all 3d software supports the python interpreter.

from autoremesher.

leoschwarz avatar leoschwarz commented on June 17, 2024

I could potentially take a look at this in the next time. Is there anything interactive in the GUI I'm missing except for density and edge scaling specification? Because otherwise, I would suggest the easiest way will be to expose the functionality the GUI currently offers through a CLI binary. And then import/export obj files to integrate it with Blender with this functionality automated by an addon.

In general this might introduce some overhead due to extra I/O, but given that the computation is non-interactive and takes a lot more time I think this would be the easiest to implement and maintain approach for integration at this time. @Anafeyka's approach would be preferable if it is more interactive, but would be slightly more complex. Also, it currently doesn't seem possible to implement it as a modifier, so it would be a one-off operation as with most addons which generate objects.

from autoremesher.

huxingyi avatar huxingyi commented on June 17, 2024

The GUI is just for rendering and for limited parameters configuring.
The current implementation is ok with dense mesh generation, but not good for low poly quads because of parametrization errors. I am working on another approach for quads generation, so, maybe wait a little bit more time to use it in real product environment.

from autoremesher.

huxingyi avatar huxingyi commented on June 17, 2024

Hi @Nicolas-Constanty Good work! I'm looking forward to it.
BTW, The quality of the result is still not good because of paramatrization errors, I am working on another approach, hopefully will get it released soon.

from autoremesher.

2695429209 avatar 2695429209 commented on June 17, 2024

可以做个sketchup的吗

from autoremesher.

Related Issues (19)

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.