-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animation #3
base: master
Are you sure you want to change the base?
Animation #3
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