100% Guaranteed Results


CSC0049 Advanced Computer Graphics Solved
$ 24.99
Category:

Description

5/5 – (1 vote)

Assignments 3

• Your tasks are the following.
1. Read in the input file, which contains the same format to assignments 1 & 2, except the addition of normal vectors to the triangles.
✓ Eye position: E x y z
✓ View direction: V x y z
✓ Field of view: F angle (horizontal Field of View)
✓ Resolution: R w h
✓ Spheres: S Ox Oy Oz radius
✓ Triangles: T x1 y1 z1 x2 y2 z2 x3 y3 z3 n1 n2 n3
where (Ox, Oy, Oz) is the origin of a sphere and (x1, y1, z1), (x2, y2, z2), (x3, y3, z3) are the vertices of a triangle, and (n1, n2, n3) is the normal vector (of length 1.0)
✓ Light position: L x y z
✓ Material: M r g b Ka Kd Ks exp Reflect
where (r, g, b) is the surface color; Ka, Kd, Ks are the coefficients of the ambient, diffuse, and specular components; exp is the specularity; Reflect is within the range of [0, 1] and represent the ratio of reflection.

• Please upload both your program (source code) and the report on Moodle

Reviews

There are no reviews yet.

Be the first to review “CSC0049 Advanced Computer Graphics Solved”

Your email address will not be published. Required fields are marked *

Related products