Subject: Re: raytracing - chess board algorithm
On Sun, 07 May 2006 18:51:26 +0200
> Can someone explain me how to get this chess board ? (I___m not asking=20
> for source code...)
Divide your x,y plane coordinates by the width of the chess squares.
convert the results to integers i,j.
color white if (i+j) is odd,
color black if (i+j) is even.
View All Messages in comp.graphics.algorithms
raytracing - chess board algorithm =>
Re: raytracing - chess board algorithm
Copyright © 2006 WatermarkFactory.com. All Rights Reserved.