Since posting that this morning I've found a very similar object from
Christopher Huff in his message "Re: Color Cube - colorcube.jpg (1/1)" on
02/17/2004 in p.b.i.
One significant difference is that he's had to shrink his cube slightly
because of the speckles and other errors caused by the discontinuities in
the ramp wave for values 0 and 1.
I had the same problems too, at first, and my original solution was the same
as Christopher's.
However in this version I avoided it by only using the first half of a
triangle wave which doesn't have discontinuities, and so this cube is
exactly 1 unit in each dimension.
Ray
Post a reply to this message
|