kons-9 icon indicating copy to clipboard operation
kons-9 copied to clipboard

BUG: shading wrong when window re-opened

Open kaveh808 opened this issue 1 year ago • 4 comments

Looking for a volunteer for this.

This is a bug on both MacOS and Linux, so is probably an OpenGL issue.

Open window. Create polyhedron. Close window. Open window. Shading is much brighter.

I suspect some OpenGL state is not being reset properly.

kaveh808 avatar Aug 25 '22 19:08 kaveh808

Do you mean when you iconify or minimize the window? or after closing it and restarting?

JMC-design avatar Aug 25 '22 22:08 JMC-design

Closing it using the ESC key. Then making a new window.

kaveh808 avatar Aug 25 '22 22:08 kaveh808

Can confirm it becomes almost white. Funny thing is, if it crashes then the change in shading doesn't happen.

JMC-design avatar Aug 25 '22 22:08 JMC-design

Can confirm it happens on Windows 64-bit as well as on macOS and Linux.

I'll see if I can figure out how to fix it, but I'm starting without the first clue.

mikelevins avatar Aug 28 '22 16:08 mikelevins