[SOLVED] Computer Graphics-Assignment 9 Indexed primitives

30.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

Rate this product

The Vulkan application whose source code is contained in file Assignment09.cpp, needs to show models of a cube, a cylinder, a sphere and a spring, building them with the code contained models.cpp. In particular, the user implements the procedure makeModels(), that creates the primitive using indexed triangle lists. Vectors M1_vertices to M4_vertices should contain the components of the vertices of the primitives, while vectors M1_indices to M4_indices, should contain the indices for building the triangles. Below you can find a sample result for the four objects.

 

You can move the view using the same keys as in Assigment0:

 

ESC – quit the application SPACE BAR – move to the next projection | X: wireframe
Q: roll left W: forward E: roll right R: up   ↑: look up  
A: left S: backward D: right F: down ←: look left ↓: look down →: look right
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.