[Bf-committers] Noise Function (small patch)

hans pachet bf-committers@blender.org
Tue, 29 Jul 2003 22:40:26 +0200

When you replace the following line of code at line 4723 in 
blender/src/editmesh.c :

eve->co[2]+= 0.05*Tin;

by these three lines

eve->co[0]+= 0.05*eve->no[0]*Tin
eve->co[1]+= 0.05*eve->no[1]*Tin;
eve->co[2]+= 0.05*eve->no[2]*Tin;

you get the same as the old noise mapping, but in all directions, and not 
only the z-direction.

MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.be