|
|
Rune wrote:
> The real problem is that the distribution of the
> triangles is (still) not even. Apparently it's
> not related to the normalisation property then,
> because I can't see any difference from before.
>
> If, instead of applying UV mapping, you color the
> individual triangles individually (like in the
> version I posted), you will see that at the third
> edge the triangles are (still) bigger than at the
> other edges. I suppose you don't know how that
> can be fixed? :/
Hmm, I found the solution. Change the value of epsilon1 from 0.001 to
1.0. I don't know why, but it fixes the distortion and makes the
distribution completely even. :)
As I assumed, it was something with how the w value was calculated.
Apparently, if 1-2*u*v is smaller than 1.0, then no division should
happen at all (or a division by 1). I found out by coincidence more or
less, so don't ask me why...
Rune
--
3D images and anims, include files, tutorials and more:
rune|vision: http://runevision.com (updated July 12)
POV-Ray Ring: http://webring.povray.co.uk
Post a reply to this message
|
|