[Cuis-dev] Ray tracer clipping highlights / problem with floats?

Luciano Notarfrancesco luchiano at gmail.com
Mon May 13 05:46:25 PDT 2019


Hi,
I just ported to the latest Cuis this old project:
https://github.com/len/RayTracer

But I get this weird clipping of the highlights. See attached picture and
compare it with the one at the bottom of the github project home.

The first version was implemented with a new class Float32Color3 that I
added to the package 'Math 3D' to represent colors, but later Juan merged
Float32Color3 and Color. So now I just used Color, but I get this weird
clipping. I lost my original Float32Color3, but just to make sure the
problem was not Color I re-implemented Float32Color3, and still I get this
effect. I suspect it is related to changes in Float during the last couple
of years. Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190513/d606ee98/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new raytracer.jpg
Type: image/jpeg
Size: 40285 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190513/d606ee98/attachment-0001.jpg>


More information about the Cuis-dev mailing list