Archive: UnConeD - Seismogrid ..color edit


3rd September 2007 17:14 UTC

UnConeD - Seismogrid ..color edit
just wondering if anyone knows how I could UnConeD - Seismogrid so the viz colors only stay in the blue color range like so

http://img113.imageshack.us/img113/1...ure5sx5.th.jpg

did find this in the avs but don't understand the names..

£ colorcode;
dy=(py-oy);
k=max(0,.03-dy*.3);l=max(0,dy*.1+.03);
vg=(red*2+.08);vb=(red*1.5+k*2);vr=(red*2.5+l*2);
d=min(1,max(0,((sqr(hx-hcx)+sqr(hy-hcy))-hip*2.7+1)));
vvr=hur+d*(hvr-hur);
vvg=hug+d*(hvg-hug);
vvb=hub+d*(hvb-hub);
red=vr*vvr+vg*vvg+vb*vvb;
green=vr*vvb+vg*vvr+vb*vvg;
blue=vr*vvg+vg*vvb+vb*vvr;

gx=if(below(gx,g-1),gx+1,0);
gy=if(equal(gx,0),gy+1,gy);

skip=below(red+green+blue,0);


3rd September 2007 22:58 UTC

It might be a good idea to post the full image instead of the thumbnail http://img113.imageshack.us/img113/1029/capture5sx5.jpg

Replace all that color code in the texer II with this:

£ colorcode;
dy=(py-oy);
k=max(0,.03-dy*.3);l=max(0,dy*.1+.03);
vg=(red*2+.08);vr=(red*2.5+l*2);
d=min(1,max(0,((sqr(hx-hcx)+sqr(hy-hcy))-hip*2.7+1)));
red=vg*0.5;
green=vr;
blue=vr*0.5+vg;

gx=if(below(gx,g-1),gx+1,0);
gy=if(equal(gx,0),gy+1,gy);

skip=below(red+green+blue,0);
And change the hue value of the clear screen to something nice like 140.

4th September 2007 12:32 UTC

thanks man that works nicely.. do you think there could be any othe mods to it like a user controlled camera?


4th September 2007 12:40 UTC

User controlled camera...huh. That would be fairly easy. You can make the x rotation and y rotation planes proportional to getkbmouse(0) and getkbmouse(1). I'll post something later, but I have to go to school now.