kaveh808 / kons-9

Common Lisp 3D Graphics Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

color - alpha transparency not working

bpostlethwaite opened this issue · comments

Bug report on Ubuntu 22.10 using latest kons-9 from this commit on main.
Setting alpha channel of color does not seem to change color of uv-mesh.
For example:

(set-point-colors-by-xyz *f* (lambda (p) (c-255! 107 217 104 0.2)))

Results in
image

Having fun with this so far thanks. I was looking to do some wavetable synthesis research using a variety of algorithms and was glad I could use common-lisp for the job! I appreciate the effort so far, perhaps I'll be able to contribute.

The renderer does not support transparency, other than in the case of sprites. OpenGL transparency requires sorting polygons in depth, which kons-9 does not do.