Neat!
Note: you can add a cheap z-buffer by checking screen pixel color before drawing the next. That makes the objects a bit more solid imho.
local c=5 if z > 0.33 then c=7 elseif z > -0.33 then c=6 end -- 3d point calc ... -- zbuffer! if pget(sx,sy)<c then pset(sx, sy, c) end |
Question: what is the purpose of the quicksort? It is not used to order the points, then what?
P#65338 2019-06-22 06:01 ( Edited 2019-06-22 06:02)
[Please log in to post a comment]