Friday, October 23, 2009

Tuesday, October 13, 2009

Renderman is Awesome!


Turns out a little code can go a long way.

color circles(float cs; float ct; float thick; float size){
float newr = pow((s-cs), 2) + pow((t-ct), 2) ;//Circle Equation
newr = sqrt (newr);//Real Circle Equation


float Range = newr * size;//The Amount Of Distance Covered
float mR = mod(Range, thick);//Thickness Between Repeats
float msk = step (Range, 5 * mR);//ATTEMPTING to cut out the outside
color circleN = (1, 1, 1);
circleN = mix(color (0,0,0), circleN, msk);

return circleN;

}

surface Assignment(){
//***************Part One
Oi = Os;
float c = .2;
float r = pow((s-c), 2) + pow((t-c), 2) ;//Circle Equation
r = sqrt (r);//Real Circle Equation


float rRange = r * 8;//The Amount Of Distance Covered
float modR = mod(rRange, .5);//Thickness Between Repeats
float mask = step (rRange, 5 * modR);//ATTEMPTING to cut out the outside
color circle = (1, 1, 1);
circle = mix(color (0,0,0), circle, mask);

circle = mix( circle, circles( .1, .4, .2, 9), t);
circle = mix( circle, circles( .3, .6, .4, 5), s);
circle = mix( circle, circles( .7, .25, .1, 10), t);
circle = mix( circle, circles( .8, .38, .6, 8), s);
Ci = circle;


}

Monday, October 12, 2009

I'm Pathetic


I haven't posted forever. Here it is folks... the unfinished but finished because I'm tired of it!

BTW, give me page views! I like them. :)

http://koxinha.deviantart.com/art/Storm-Nymph-140119027