Skip to content
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

Large arrays are *incredibly* slow #70

Open
sockeye-d opened this issue Jul 13, 2024 · 0 comments
Open

Large arrays are *incredibly* slow #70

sockeye-d opened this issue Jul 13, 2024 · 0 comments

Comments

@sockeye-d
Copy link

Pixel composer is now one of my most favorite programs I have, but this issue is really bugging me.

I made an image array of 217 64x64 images, and it takes 21ms to render, and for some reason it has to render on every frame? The rest of the nodes in my project are all in the 500us to 2ms range, and yet I'm only getting 20 fps, which, while "acceptable," is still slower than I'd like. Also, clicking on the cursed array node causes the editor to drop to around 5 fps, which doesn't seem correct. The memory usage is also pretty high (around 5 GB) but that's acceptable to me since I have more.

For context, I'm using the Scatter node to create a random grid of icons from the Godot engine. I'd rather use all the icons but PXC straight up crashed when I tried that (about 1000 icons).

Maybe there could be a node which renders and caches a single frame of the connected surface?

Computer is a Intel 12400f, RTX 3080, and 32 GB of 3200 MT/s ram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant