Skip to content

Significant increase in lag with versions 0.2.2+ #124

Description

@mattaq31

Hi @Knightro63, thanks again for continuously updating this repo, it's been crucial to support our app for designing DNA megastructures (https://github.com/mattaq31/Hash-CAD).

The app is working great for me but I've noticed that lag has gotten considerably worse since v0.2.2 onwards (I'm currently testing on 0.2.6 and a previous version 0.1.7 did not have as much lag). My app doesn't have any complex geometries but seemingly using 6 cylinders joined together into a single honeycomb mesh (mesh.castShadow = true; mesh.receiveShadow = true; mesh.frustumCulled = false; 20 radial segments per cylinder) produces large amounts of lag - enough that 192 instances of a single mesh can cause my M3 Max to slow down to a crawl and impact the rest of my open applications. The lag is particularly noticeable when zooming in and panning the view when the objects are visible; panning from a larger distance away results in significantly less lag.

Have you noticed this kind of lag before?

For reference, my 3D code is linked here: https://github.com/mattaq31/Hash-CAD/blob/main/flutter_app/lib/graphics/3d_painter.dart

P.S. We are about to submit a journal article for peer-review on #-CAD and other research we've conducted on crisscross DNA origami. I will be recognizing your support for this project in the paper acknowledgments - if you would like me use your real name and/or point to a specific profile page please let me know on matthew_aquilina@dfci.harvard.edu !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions