xenoguy / KinectFluids

Touchdesigner GLSL fluid simulation with kinect input
22 stars 1 forks source link

Does not work properly anymore :( #1

Open darrylsupatech opened 4 years ago

darrylsupatech commented 4 years ago

Hi Xenoguy,

Can you have a look at the file? worked perfect at first but since TD update it glitches all over the place. Maybe something with the Python script?

Thankyou!

xenoguy commented 4 years ago

i think i see what you mean. i updated TD today and fired it up. the inputs from the kinect are no longer smooth. i think they must have changed the kinect chop update rate, or something else. I'll test with the older version of TD to confirm, and then try to find a way to fix it.

darrylsupatech commented 4 years ago

I also had some errorcodes in the glsl code with "atributes" and "variying" variables.something with replace with in/out and glsl version 3.3 Maybe its a big update with the glsl language in general withing Touchdesigner. But then again, totally know nothing about coding/glsl

Verzonden vanaf mijn Samsung Galaxy-smartphone.

-------- Oorspronkelijk bericht -------- Van: Aaron Curtis notifications@github.com Datum: 19-01-20 22:36 (GMT+01:00) Aan: xenoguy/KinectFluids KinectFluids@noreply.github.com Cc: darrylsupatech darrylquist@outlook.com, Author author@noreply.github.com Onderwerp: Re: [xenoguy/KinectFluids] Does not work properly anymore :( (#1)

i think i see what you mean. i updated TD today and fired it up. the inputs from the kinect are no longer smooth. i think they must have changed the kinect chop update rate, or something else. I'll test with the older version of TD to confirm, and then try to find a way to fix it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fxenoguy%2FKinectFluids%2Fissues%2F1%3Femail_source%3Dnotifications%26email_token%3DAKZGK2XEKI7WABUTEAP5SVLQ6TBUNA5CNFSM4KASLQBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJK5G3Y%23issuecomment-576050031&data=02%7C01%7C%7Ce2755fc71b83442824fd08d79d279805%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637150665681932662&sdata=4PCprg0n%2Bu9T3Hx4eirBQ1r4sbpjhE3b29X3XUwyIA4%3D&reserved=0, or unsubscribehttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKZGK2QFINGTFALW7W2PXRDQ6TBUNANCNFSM4KASLQBA&data=02%7C01%7C%7Ce2755fc71b83442824fd08d79d279805%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637150665681942666&sdata=cGV0aFVLAcwn2JFVuZ72aHvEVkBGx8rQkGByTo4cNlg%3D&reserved=0.

xenoguy commented 4 years ago

Hmm. Maybe it's a driver issue then. I wasn't getting any glsl issues with my Nvidia card. I'll test with Intel integrated graphics, it was working there in late October.

What graphics card do you have?

darrylsupatech commented 4 years ago

I Run a gtx1050i. Strange then..had some TD colleques with the same issue.

Was working fine before the big TD spring update. So it still works okay you say? What TD version?

Verzonden vanaf mijn Samsung Galaxy-smartphone.

-------- Oorspronkelijk bericht -------- Van: Aaron Curtis notifications@github.com Datum: 19-01-20 23:43 (GMT+01:00) Aan: xenoguy/KinectFluids KinectFluids@noreply.github.com Cc: darrylsupatech darrylquist@outlook.com, Author author@noreply.github.com Onderwerp: Re: [xenoguy/KinectFluids] Does not work properly anymore :( (#1)

Hmm. Maybe it's a driver issue then. I wasn't getting any glsl issues with my Nvidia card. I'll test with Intel integrated graphics, it was working there in late October.

What graphics card do you have?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fxenoguy%2FKinectFluids%2Fissues%2F1%3Femail_source%3Dnotifications%26email_token%3DAKZGK2WG2Z6MFGHTTZSQLKLQ6TJSVA5CNFSM4KASLQBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJK6VCY%23issuecomment-576055947&data=02%7C01%7C%7Ca53049e5bbfd46b6c81a08d79d31103b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637150706354926940&sdata=hiRxQVGFQYUvD9G1NPB2g5vTzGDrEznWcpsObm8xAbA%3D&reserved=0, or unsubscribehttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKZGK2WOICGWMLCDV6EXCZDQ6TJSVANCNFSM4KASLQBA&data=02%7C01%7C%7Ca53049e5bbfd46b6c81a08d79d31103b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637150706354936951&sdata=csaqcVx8D1%2BtuZx5p1nP77WGK0tmFEUzL%2FEwWjNaS2o%3D&reserved=0.

xenoguy commented 4 years ago

I loaded it into 099 build 2019.36500, and build 2019.12330. no glsl errors with my nvidia gtx 1070.

nvidia driver: 26.21.14.4187

i tried the kinect on a laptop, and it seems my poor update rate has something to do with my PCs usb ports. it's working much smoother on the laptop.

all of the glsl nodes in the TOE file are set to GLSL 3.30

sieun5678 commented 4 years ago

Hi Xenoguy. I have some problem with your file. The following error occurs on all glsl nodes in the file:

"Vertex Shader Compile Results: Compiled Successfully

Pixel Shader Compile Results: Fragment shader failed to compile with the following errors: ERROR: 0:2: error(#228) Type should be float or int ERROR: error(#273) 1 compilation errors. No code generated

Program Link Results: Fragment shader(s) were not successfully compiled before glLinkProgram() was called. Link failed. "

An error occurred and the image as "Out" node is a check image. How can i fixed it? My TD version is 2020.22080 Please answer me. Thank you.

xenoguy commented 4 years ago

I didn't test it with that version of TD, I'll go download it and see if I can replicate your problem.

sieun5678 commented 4 years ago

thank you. I'll waiting.

xenoguy commented 4 years ago

i tried it, no problems here. i think the GLSL compile works differently depending on your graphics drivers and make and model of your video card. i'm using an nvidia 1070, and also previously tested on an intel integrated gpu.

are you using an amd card?

maybe make sure your drivers are up to date.

I tested with the GLSL nodes using GLSL 3.3. but you could try adjusting the GLSL version too, to see if that makes any difference.

sieun5678 commented 4 years ago

Yes my desktop graphic card is amd and very old version. but i have mac book pro, so i tested it on my mac but there is another problem. "atributes" and "variying" Like the one above.( "darrylsupatech" ) so now i updated my mac, and i will test again. I'll test it and tell you the results. thank you .

sieun5678 commented 4 years ago

Hi, I did a test on my MacBook yesterday. But there's still an error. I don't know what the problem is, but I'm sad that I can't use the file Anyway, thank you very much for sharing the file like this. Have a nice day. bye.

xenoguy commented 4 years ago

@sieun5678 can you try it out now? i uploaded a new version, with the vertex shaders removed. i don't think they're necessary. and updated some deprecated glsl things

darrylsupatech commented 4 years ago

Sorry for the late reply guys, but i got it working again (a few months ago already). Dont know what the problem was but after an nvidia update it was working fine again. Gpu was up to date before that so dont know what actually caused the problem.

Greetz Darryl

Op 16 juni 2020 17:44:31 schreef Aaron Curtis notifications@github.com:

@sieun5678 can you try it out now? i uploaded a new version, with the vertex shaders removed. i don't think they're necessary. and updated some deprecated glsl things — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Verzonden met AquaMail voor Android https://www.mobisystems.com/aqua-mail

sieun5678 commented 4 years ago

@xenoguy I will try new version today and let you know. And I think the problem so far is that my computer is not nvidia.

xenoguy commented 9 months ago

i updated the file and changed some of the GLSL, so it might work now.