Skip to content

Error when opening traceGL interface #118

Open

Description

@andrewjmead
Uncaught Error: Could not link, max varying:15
precision mediump float;
#define ucol vec4
uniform vec4 ps;
uniform vec4 sz;
uniform float fg;
uniform sampler2D T;
vec2 f;
uniform vec2 s;
uniform ucol N_g;
varying vec4 rv_;
vec4 r;
vec4 _f(){
vec3 v = vec3(floor(ps.z+(ps.x+r.x)*sz.x),floor(ps.w+(ps.y+r.y)*sz.y-sz.z),ps.z+(ps.x+r.z)*sz.x);
vec4 c = vec4((texture2D(T,vec2((fg),0.))));
;
if(f.x<v.x+0.5*sz.x){
vec2 d = vec2(f.x-(v.x+sz.x),f.y-(v.y+0.5*sz.y));
;
if(d.y<0.&&mod(r.w,2.)==1.)return vec4(c);
;
if(d.y>0.&&mod(r.w,4.)>=2.)return vec4(c);
return vec4(c.xyz,sqrt(d.x*d.x+d.y*d.y)>9.?0.:c.w);
;
}
else ;
if(f.x>v.z-0.5*sz.x){
vec2 d = vec2(f.x-(v.z-sz.x),f.y-(v.y+0.5*sz.y));
;
if(d.y<0.&&mod(r.w,8.)>=4.)return vec4(c);
;
if(d.y>0.&&mod(r.w,16.)>=8.)return vec4(c);
return vec4(c.xyz,sqrt(d.x*d.x+d.y*d.y)>9.?0.:c.w);
;
}
return vec4(c);
;
}
void main(void){
 r = rv_;
f = vec2(gl_FragCoord.x,s.y-gl_FragCoord.y);
 gl_FragColor = _f();
}.

(index):3973

Activity

  1. tomgco commented on Jan 30, 2014

    @tomgco

    +1 I get this error in the latest version of chrome, however it seems to work in firefox.

  2. vilterp commented on Feb 7, 2014

    @vilterp

    +1 same error with latest version of Chrome. Works in Safari with WebGL enabled.

  3. nwwells commented on Feb 7, 2014

    @nwwells

    +1

  4. alessioalex commented on Feb 13, 2014

    @alessioalex

    Same here: Chrome doesn't work, but Firefox does

  5. stefounet commented on Mar 31, 2014

    @stefounet

    +1 same error with Chrome.
    @codegl any update on this?

  6. sni-interactive-ad-experience commented on Apr 9, 2014

    @sni-interactive-ad-experience

    You guys should probably know this project is dead. He now works for Mozilla and claims to be adding TraceGL to Firefox, but as a standalone app, it is no longer supported. Kinda shady TBH selling untested, buggy software than leaving your customers high and dry.

    https://twitter.com/rikarends/status/435237863223865344

  7. andrewjmead commented on Apr 9, 2014

    @andrewjmead
    Author

    Damn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions