
SCENE (
"name" = "Monkey rip (Remix)";
"author" = "Gordon Williams & John Baker";
SOLID black();
TEXTURE pica();
BIOTUNNEL tn(black,pica,pica);
)
float mysound;
void init() {
black.col = 0;
strncpy(pica.filename,"tunnel_rovastar1.jpg",256);
tn.holecount = 7;
tn.holesize[0] = 1.0;
tn.holesize[1] = 1.0;
tn.holesize[2] = 8.0;
tn.holesize[3] = 1.0;
tn.holesize[4] = 1.0;
tn.holesize[5] = 1.0;
tn.holesize[6] = 1.0;
tn.skincount = 2;
tn.pos[0] = 0.0;
//strncpy(tn.shader[0],"D;T0;BAa;GSO;GTO;PSO0.0005,0.01,0.02;PTO0,0.00023,0;",256);
}
void render() {
if ((sounda+soundb)<0) mysound=0; else mysound = 0.01*((1+sounda+soundb)*(1+sounda+soundb));
tn.speed = 0.7 + 3*mysound;
strncpy(tn.shader[0],"D;T0;BAa;GSO;GTO;PSO0.00005,0.01*mysound,0.02*mysound;PTO0,0.00023,0.00034*mysound;",256);
// strncpy(tn.shader[1],"D;T0;BAa;GSO;GTO;PSO0.000067,0.0005*mysound,0.0002*mysound;PTO0,0.000111,0.089*mysound;",256); tn.holesize[0] = 1+1.0*mysound;
tn.holesize[1] = 1+5.0*mysound;
tn.holesize[2] = 4.0+ 8*mysound;
tn.holesize[3] = 1+5.0*mysound;
tn.holesize[4] = 1-5.0*mysound;
tn.holesize[5] = 1+5.0*mysound;
tn.holesize[6] = 1-5.0*mysound;
}
void reset() {}