• 60hz

    I tried on a Intel Imac, same problems with same shaders.
    Now, I tried on a windows 10 machine... same problems again, only same 3 shaders works (like Bokeh)..

    For bleach, the error is different from apple:

    ofShader: setupShaderFromSource(): GL_FRAGMENT_SHADER shader failed to compile
    : ofShader: GL_FRAGMENT_SHADER shader reports:
    Fragment shader failed to compile with the following errors:
    ERROR: error(#60) Unknown char: ""
    ERROR: error(#273) 1 compilation errors.  No code generated
    
    
    : //fragment program
    
    uniform sampler2D Tex0;
    uniform float GaussianBlur_Radius;
    const float total = (1. + 8. + 28. + 56.) * 2. + 70.;   
                                                          
    void main(void) 
    {
        vec2 st = gl_TexCoord[0].st;
        vec4 color = vec4(0.0,0.0,0.0,0.0);
        color += (1. / total) * texture2D(Tex0, st - GaussianBlur_Radius * vec2(4. / 4., 0.));
        color += (8. / total)  * texture2D(Tex0, st - GaussianBlur_Radius * vec2(3. / 4., 0.));
        color += (28. / total)  * texture2D(Tex0, st - GaussianBlur_Radius * vec2(2. / 4., 0.));
        color += (56. / total)  * texture2D(Tex0, st - GaussianBlur_Radius * vec2(1. / 4., 0.));
        color +=  (70. / total) * texture2D(Tex0, st);
        color += (1. / total) * texture2D(Tex0, st + GaussianBlur_Radius * vec2(4. / 4., 0.));
        color += (8. / total)  * texture2D(Tex0, st + GaussianBlur_Radius * vec2(3. / 4., 0.));
        color += (28. / total)  * texture2D(Tex0, st + GaussianBlur_Radius * vec2(2. / 4., 0.));
        color += (56. / total)  * texture2D(Tex0, st + GaussianBlur_Radius * vec2(1. / 4.,ofShader: checkProgramLinkStatus(): program failed to link
    

    ofShader: ofShader: program reports:
    Fragment shader(s) were not successfully compiled before glLinkProgram() was called. Link failed.

    posted in patch~ read more
  • 60hz

    Yeah, I tried already but that's not the problem. And for example Bokeh works with the same line...

    posted in patch~ read more
  • 60hz

    This is the error I have on 90% of the shader...

    ofShader: setupShaderFromSource(): GL_FRAGMENT_SHADER shader failed to compile
    : ofShader: GL_FRAGMENT_SHADER shader reports:
    ERROR: 0:1: '<' : syntax error: syntax error
    
    : ofShader: GL_FRAGMENT_SHADER, offending line 1 :
            1   //fragment program
            2   
            3   uniform float Bleach_Opacity;
    
    ofShader: checkProgramLinkStatus(): program failed to link
    ofShader: ofShader: program reports:
    ERROR: One or more attached shaders not successfully compiled
    
    
    

    posted in patch~ read more
  • 60hz

    or me even the v3 version works without problems (with Windows) with Ofelia v4

    Ok, strange, I found an old revision of your patch somewhere that used pdCanvas and pdClock instead of ofCanvas ofClock, and ofelia object was broken...

    Maybe you need to specify the GL version in Ofelia?

    Yes, I thought about it. I tried to change different shader version adding window:setGLVersion(4,1) etc in setup but had a crash or nothing...
    Maybe I need to modify all shader and add a version directive on top to make them working in other systems (like: #version 410).

    I updated ofxOfelia

    Great, this is the openFrameworks addon, but I am trying to make classic ofelia work under pd for some teaching.

    posted in patch~ read more
  • 60hz

    I adapted the partch to ofelia v4 here.

    GLSL_Video_Effects_V01_Ofelia4.zip

    But still, only very few shader works on my macbook (like Bokeh... and two or three more).
    Any way to make them all compatible?

    posted in patch~ read more
  • 60hz

    Also I think that color parameters are now saved in hex format (html/css), which is far more easy to use.

    If someone have an account, it might be nice to update this link?

    posted in technical issues read more
  • 60hz

    Yes, K-lite should be installed to be able to play most of video formats.
    You can check which backends are installed on your system by sending a "loader" message to [pix_film]

    As an alternative, you can try pof library that is close to Gem.

    @whale-av said:

    You will find Pd extended here.......

    Not sure if it's a good idea to use such an obsolete version, but purr data should contain Gem also.

    posted in technical issues read more
  • 60hz

    I did this long time ago that use on canvas to do the (clickable) gui

    Capture d’écran 2022-09-08 à 18.52.12.png

    gswitch.pd
    gswitch-help.pd

    also the other one:

    ggate-help.pd
    ggate.pd

    posted in technical issues read more
  • 60hz

    You might check clone object for that.
    But you need to allocate a maximum number of voices or use dynamic patching technic, but I am not sure it's worth the try.

    posted in technical issues read more
  • 60hz

    @omer1789 said:

    sfplay~

    Under pure data vanilla, you can use readsf~

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!