[Solved] ComputerGraphics Assignment 9-Primitives

$25

File Name: ComputerGraphics_Assignment_9-Primitives.zip
File Size: 376.8 KB

SKU: [Solved] ComputerGraphics Assignment 9-Primitives Category: Tag:
5/5 - (1 vote)

Rate this product

The goal of the application contained in index.html, is to create three simple models: the outline of letter F, a filled S-shaped pattern, and a filled pentagon. Models are created in file models.js. In particular, it uses the procedure addMesh(), that receives as parameters an array of three elements vectors with the coordinates of the vertices, a letter (between quotes) that denotes the type of the mesh, and an RGB color (a three-elements array, with the value of the red, green and blue components of the color, each one in the 0-1 range). The letters denoting the mesh type are:

T for triangles lists S for triangles strips F for triangles fans L for lines lists

P for lines strips O for line loops

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] ComputerGraphics Assignment 9-Primitives
$25