Accueil | Carrara : Index |
Formule objet |
p=3.5*(u-0.5); q=2*PI*v; r=0.1; d=(1-3*p*p); x=(p!=-1/sqrt(3)&&p!=1/sqrt(3)?p-4*r*p*(1-4*pow(p,2)+3*pow(p,4))*cos(q)/(d*sqrt(1+pow(4*p-4*pow(p,3),2))):0); y=(p!=-1/sqrt(3)&&p!=1/sqrt(3)?pow(p,4)-2*p*p-r*cos(q)/sqrt(1+16*p*p*pow(p*p-1,2)):0); z=-r*sin(q); |
Formule texture | Rendu |
p=3.5*(u-0.5); q=2*PI*v; red=abs(cos(30*p)); green=1-abs(cos(20*p)); blue=1-abs(cos(50*p)); |
![]() |
Formule objet |
p=2*PI*u; q=2*PI*v; r=0.05; d=sqrt(2+cos(2*p)+cos(4*p)); x=sin(p)+sqrt(2)*r*cos(2*p)*cos(q)/d; y=(p!=0&&p!=PI&&p!=2*PI?cos(p)*sin(p) - r*cos(q)*(3*sin(p) + sin(3*p))/(sqrt(2)*tan(p)*(2 + cos(2*p))*d):0); z=-r*sin(q); |
Formule texture | Rendu |
p=2*PI*u; q=2*PI*v; red=abs(cos(30*p)); green=1-abs(cos(20*p)); blue=1-abs(cos(50*p)); |
![]() |