-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enhancement] GPU Acceleration #9
Comments
Do you have a specific implementation in mind? Blender's Python module is pretty limited in what it offers for hardware acceleration. There are separate Python libraries that can do this, but that would require bundling them with the add-on. If there's specific operations you're thinking of that are slow, we could look into optimizing them. Might be able to do a lot without needing to add external Python libraries. |
Thanks for that. That means it's more about the underlying code than the operators/modals themselves. The code requires nodes checking for collisions with other nodes, so a lot of the speed complexity is around number of (selected) nodes. With geometry nodes, I've noticed the modal can trigger a viewport update, so if the mesh's geometry nodes and other modifiers are enabled, it can be drastically slower in my experience. Is it faster when these modifiers are turned off? |
I tried what you suggested, and it does not speed up the process. |
Okay. I mean it's slow for me too; usually I workaround this by running only on selected (which usually works better with frames anyway). Before we could even consider hardware acceleration, we'd have to refactor the code to support it. That would likely mean doing all the calculations with |
Sounds good. As long as it's optimized I'm happy. |
Currently, it goes quite slow when using on large node trees.
I think that to help with this perhaps GPU acceleration should be implemented.
The text was updated successfully, but these errors were encountered: