kaveh808 / kons-9

Common Lisp 3D Graphics Project
MIT License
567 stars 32 forks source link

color - alpha transparency not working #257

Open bpostlethwaite opened 10 months ago

bpostlethwaite commented 10 months ago

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.

kaveh808 commented 9 months ago

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.