Giter VIP home page Giter VIP logo

Comments (4)

LucasDower avatar LucasDower commented on May 18, 2024

Once the /refactor branch has been merged, improving the UI responsiveness is my next goal. Currently, the work of the program is performed in the same thread as the UI so when heavy work is performed it blocks the UI from being responsive.

In addition, complicated meshes with thousands of triangles will always be a performance issue, I have plans to add the ability to simplify a mesh to lower the number of triangles in it and hence reducing the time to voxelise the mesh.

from objtoschematic.

pokewillpower avatar pokewillpower commented on May 18, 2024

It's possible I'm reporting the wrong thing, but mostly the issue with this is that it's not just the rendering that crashes-- it will be attempting to export the schematic but hangs there and never actually spits out the file. I've found that this isn't usually just the case with large objects but rather specific meshes that have weird parts to them.

If it were just the UI then it wouldn't be as much of an issue because I could just reload it.

from objtoschematic.

LucasDower avatar LucasDower commented on May 18, 2024

This should be resolved once /worker is finished and merged.

from objtoschematic.

LucasDower avatar LucasDower commented on May 18, 2024

Now all meshes no longer use the old slow RenderBuffer code. On my PC, a mesh of 3 million triangles is loaded in 2.5s since c58a03e, whereas previously it would crash after 10s. This whole process still runs in the same process and still blocks the render thread which is not ideal but that's what /worker will fix but is a large refactor.

from objtoschematic.

Related Issues (20)

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.