Forum: Carrara


Subject: someone want a headache? math genius needed maybe =P

anxcon opened this issue on Mar 10, 2006 ยท 3 posts


anxcon posted Fri, 10 March 2006 at 10:45 AM

pax=100; pay=100; paz=100; lab=sqrt(((pax-X)^2)+((pay-Y)^2)+((paz-Z)^2)); pcz=Z+(labsin(NZ90)); b=labcos(NZ90); pcx=X+(bsin(NX90)); pcy=Y+(bsin(NY90)); lac=sqrt(((pax-pcx)^2)+((pay-pcy)^2)+((paz-pcz)^2)); red=asin((lac/2)/lab)*2; ok so i tried to make a formula, math looks right, yet the shader is black, if i put green=1 above all this, then it still shows black, even though it never accually changes green that makes me think its not the math used causing it? all updates installed