viz-engine icon indicating copy to clipboard operation
viz-engine copied to clipboard

Animation

Open totetmatt opened this issue 3 years ago • 2 comments

Working state for the animation on hoover (reverse need to be done)

Also, using System.nanoTime(), but I'm gonna try to use glfwGetTime() (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

totetmatt avatar Apr 13 '21 16:04 totetmatt

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.

eduramiba avatar Apr 13 '21 16:04 eduramiba

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. I'll try to take that into concideration . Every "global variable" should be at VizEngine level

totetmatt avatar Apr 13 '21 16:04 totetmatt