Conversation
|
Hi Mathieu, thank you! Looks good on a first skim but we want to avoid static variables/global state altogether. We will have to keep state about time or anything in the VizEngine instance or lookup object instead. Ideally a viz engine instance could live with another instance and have 2 windows with the same java program, for example. |
Yeah definitively correct. I was exploring a little bit the code to understand it but still on the learning track. |
…of engine instance
… for selection to facilitate the shader code
Working state for the animation on hoover (reverse need to be done)
Also, using
System.nanoTime(), but I'm gonna try to useglfwGetTime()(just need to find where to put that)Would also be a good thing to find a way to setup common uniform per program (currenty need to copy things across all program) and to put color process more on the frament shader to keep vertex shader only for geometry / vertex operation