Summary

Let’s summarize what we learned in this chapter:

  • We saw how we can leverage matrix stacks to preserve global transformations while applying local transformations.
  • We covered the basic concepts behind object animations in WebGL. More specifically, we learned about the differences between local and global transformations.
  • We learned about the requestAnimationFrame browser and built our own version with JavaScript timers for animation.
  • An animation timer that is not tied up to the rendering cycle provides a lot of flexibility by ensuring that the time in the scene is independent of how fast it can be rendered on screen.
  • We distinguished between animation and simulation strategies for various problem-solving approaches.
  • We looked at interpolation methods and their various approaches.

In the next chapter, we will play with colors and blending in a WebGL scene. We will study the interaction between objects and light colors, and learn how to create translucent objects.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.230.82