medcelerate / FFGLTouchEngine

Touchengine FFGL Plugin
Apache License 2.0
44 stars 2 forks source link

Shadertoy .tox files #10

Closed OrdinaireX closed 1 month ago

OrdinaireX commented 1 month ago

Hey I have a few tox files that are cut up shaders from shadertoy. When trying to load them, the screen is just black.

Here is an example:

https://drive.google.com/file/d/1obgDypTAbzRD_J5WlNGPaHPEqEvt66SW/view?usp=drive_link

Github doesn't allow .tox files so pardon the drive link.

medcelerate commented 1 month ago

You probably want to have a look at the tox. These errors are being produced. You can look at the resolume log file to see these errors.

[2024-07-07T21:56:45.861-04:00]   FFGL: TouchEngine Error: Severity: Warning, Location: /tox32/item5/buffA/cubemap1, Description: Cubemaps must have square resolution. Resolution modified.
[2024-07-07T21:56:45.902-04:00]   FFGL: TouchEngine Error: Severity: Error, Location: /tox32/item5/execute1, Description: Traceback (most recent call last):
  File "/tox32/item5/execute1", line 14, in onCreate
AttributeError: 'NoneType' object has no attribute 'par'

[2024-07-07T21:56:45.903-04:00]   FFGL: TouchEngine Error: Severity: Warning, Location: /tox32/item5/buffA/cubemap1, Description: Cubemaps must have square resolution. Resolution modified.
[2024-07-07T21:56:45.942-04:00]   FFGL: TouchEngine Error: Severity: Error, Location: /tox32/item5/execute1, Description: Traceback (most recent call last):
  File "/tox32/item5/execute1", line 14, in onCreate
AttributeError: 'NoneType' object has no attribute 'par'
OrdinaireX commented 1 month ago

Very interesting, it looks like this is how the Shadertoy .tox handles some of the shader data, I deleted all the unnecessary nodes.

I also found that using a header parameter hid parameters that came after it. Thanks for developing such a revolutionary plugin, this will change VJing. Cheers.

medcelerate commented 1 month ago

Hmm interesting on the header. Reopen that as a separate issue and tag it as a feature request.

On Sun, Jul 7, 2024 at 10:36 PM OrdinaireX @.***> wrote:

Closed #10 https://github.com/medcelerate/FFGLTouchEngine/issues/10 as completed.

— Reply to this email directly, view it on GitHub https://github.com/medcelerate/FFGLTouchEngine/issues/10#event-13416664054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHYKRGKDJOUQKGP6NT6WOZLZLH3LRAVCNFSM6AAAAABKP37BZOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGQYTMNRWGQYDKNA . You are receiving this because you commented.Message ID: @.***>