Menu

Commit [r1281]  Maximize  Restore  History

In constant color line drawing functions, the cast of z value from double to

float to int now takes place in a place which is offset by m_normalizedFront,
so that proximity to zero is avoided, which would have failed to drop
accumulated errors as effectively. I still have some work to do, esp. in the
code that interpolates colors, as the color components need the same treatment.
Polygon filling also needs to be updated eventually. Right now both worlds can
coexist because I have parallel sets of variables or functions.

nerius 2023-10-15

changed /blockout/src/com/nerius/grafx/d3/RasterDepthGraphics.java
changed /blockout/src/com/nerius/grafx/d3/demo/Donut.java
/blockout/src/com/nerius/grafx/d3/RasterDepthGraphics.java Diff Switch to side-by-side view
Loading...
/blockout/src/com/nerius/grafx/d3/demo/Donut.java Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.