Skip to content

CZ2003- Computer Graphics and Visualization Lab Assignments

Notifications You must be signed in to change notification settings

ShearmanChua/CZ2003-Lab-Assignments

Repository files navigation

CZ2003 Lab Assignments

Nanyang Technological University CZ2003 - Computer Graphics and Visualization Lab Assignments

Image of robot

OBJECTIVE

During five lab sessions, you will learn how to visualize curves, surfaces and solid shapes defined by mathematical formulas. Upon completion of these labs you will know: • How to define shapes by implicit, explicit and parametric analytic functions, and • How to make shape morphing from one parametrically defined surface to another.

INTRODUCTION

You will use educational visualization software—function-based extension of Virtual Reality Modeling Language (VRML) and Extensible 3D. To avoid learning VRML/X3D and concentrate on visualization principles—mathematical definitions, coordinate domains and sampling resolutions—you will use the provided source code templates to only fill them in with mathematical formulae and visualization parameters. VRML and X3D are ISO standard file formats for describing interactive 3D objects and virtual worlds. They are designed to be used on the Internet, intranets, and local client systems. They are also intended to be universal interchange formats for integrated 3D graphics and multimedia. VRML and X3D are capable of representing static and animated dynamic 3D and multimedia objects with hyperlinks to other media such as text, sounds, movies, and images. VRML and X3D are following declarative programming style, i.e. it tells the computer what to do. It differs from the imperative programming style, like in C and in a popular graphics library OpenGL, which tell the computer how to do things.

Experiment 1: Visualization using polygons

Image of lab1

Experiment 2: Parametric Curves

This assignment illustrates Module 3 and it serves a purpose to teach you how to visualize curves defined by parametric functions. Ideally, this experiment has to follow the lecture on parametric curves.

Image of lab2

Experiment 3: Parametric Surfaces and Solids

This assignment mostly illustrates Module 3 and it serves a purpose to teach you how to visualize surfaces and solids defined by parametric functions. Ideally, this experiment has to follow the lecture on parametric surfaces and solids.

Image of lab3

Experiment 4: Implicit Solids

Assignment: This assignment illustrates Modules 3 and 4 and it serves a purpose to teach you how to visualize solids defined by implicit functions. Ideally, this experiment has to follow the lecture on Constructive Solid Geometry.

Image of lab4

Experiment 5: Morphing

Assignment: This assignment illustrates Module 3 and Module 6 (Motions and Morphing) and it serves a purpose to teach you how, given two parametric formulas defining some surfaces, you can define an animated transformation (morphing) between these surfaces. Ideally, this experiment has to follow the lecture on Motions.

Image of lab5

About

CZ2003- Computer Graphics and Visualization Lab Assignments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published