3D Graphics and Virtual Reality

13/02/98


Click here to start


Table of Contents

3D Graphics and Virtual Reality

Lectures 4, 5 and 6

Lecture plan

What is VRML

Creating VRML worlds

The VRML file

The VRML file

VRML nuances

The VRML header

VRML nodes

VRML nodes example

VRML fields

Field types

Defining node names

Defining node names : example

Using defined node names

Building shapes

Our first VRML world

Modifying our world

Other shapes we can build

Moving on...

Understanding appearance

Understanding colour

RGB Colours

Some common RGB colours

HSV Colours

HSV Colours

HSV Colour chart

Understanding shading

Understanding luminance

Understanding transparency

VRML and transparency

The appearance node

The material node

The diffuseColor field

The emissiveColor field

The transparency field

Grouping

The Group node

Grouping example

Grouping example

Box sizes

Things to note

Inlining

The Inline node

Example of inlining

Transformations

Nested co-ordinate systems

The Transform node

Transformations

Translation example

Rotation

Rotation example

Scaling

Scaling example

Scaling example

A complete example

A desk lamp

Desk lamp : first steps

Desk lamp : materials

Desk lamp : base unit

Desk lamp : lower arm

Desk lamp : upper arm

Desk lamp : shade

Author: Peter Young

Email: peter.young@durham.ac.uk

Home Page: http://www.dur.ac.uk/~dcs3py/cg-notes