Practical sessions
Here are some ideas for more code to add to the examples:
- Try to create the 3D crate box by yourself and add the remaining five sides to the
Modelclass in the01_opengl_viewand03_vulkan_viewexamples. This requires quite some imagination to get all the vertex positions, triangle outside faces, and texture coordinates right. Or you can use 3D tools such as Blender to create a cube and transfer the data to theModelclass. - Add the view and projection matrices to the user interface. This will give some more insights into how the changes in the position, view, or field-of-view parameters are reflected in the matrices.