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

crash with particle collision 2d demo #2

Closed
zhaishengfu opened this issue Jun 11, 2020 · 5 comments
Closed

crash with particle collision 2d demo #2

zhaishengfu opened this issue Jun 11, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@zhaishengfu
Copy link

hello, i rebuild the godot and run your demo, it is normal . but when i click spawn 1 or spawn rnd, the program will crash with only information that says:
image

I used 3.2 stable version.

@zhaishengfu
Copy link
Author

And can you give me some information about the principle of your methods? I see the shadertoy but not find any principle. I only know each particle has unique index...

@danilw
Copy link
Owner

danilw commented Jun 11, 2020

Hello.

You talk about particle_self_collision from this repository?

when i click spawn 1 or spawn rnd, the program will crash with only information that says:

What GPU you use?
I have no problem launching it, does linked web-demo work for you?

I did not check it in Godot 3.2, I do not think there should be any problem, can you try prebuild Web or .exe version?

And can you give me some information about the principle of your methods? I see the shadertoy but not find any principle. I only know each particle has unique index...

Source code is very simple, I will not teach you "how shaders work", I think information on its shadertoy shader enough for understand it.

To more information you can check my post in Russian language about this code https://habr.com/ru/post/474676/
Proper educational resource about this method is this link on Research Article also in Russian. I do not have english resource for this, google yourself.

@zhaishengfu
Copy link
Author

thanks for your reply. the web demo is ok for me , and my gpu is nvidia 1050, i think it is not the problem of GPU.
yes, i only want to know the principle . I know clearly how shader works. https://habr.com/ru/post/474676/
this link is perfect for me . thank you very much .
for the crash problem, I will look carefully in to the code and if i have progress, i will tell you

@danilw
Copy link
Owner

danilw commented Jun 11, 2020

Okay I check latter today this project in Godot 3.2, to see if my code has any problem on Godot side.

Will reply latter

@danilw danilw added the bug Something isn't working label Jun 12, 2020
@danilw
Copy link
Owner

danilw commented Jun 12, 2020

Yes, it was a bug, thanks. Fixed now.

@danilw danilw closed this as completed Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants