CE304 Lab 2000/2001

Persistence of Vision Ray Tracer

File: millennium.pov

 

Human Genome Project - The Millennium Challenge in uncovering the Human Genetic Codes.

Category : The New Millennium

 

Date : August 2000

Author : Lam Wee Wah

Tutorial : T12

 

Details:

 

Two Light Sources :

1st light source casting natural light

The other casting blue light/further away 2nd light source

This will cast a natural blue on the gene balls making

them appealing, especially the bottom ones.

makes objects cast lighter shadows.

 

Making the Horizon:

Giving the ‘Earth’ sense of back lighting illumination.

Using Sky_sphere, seen here as the background of the Earth.

 

Curved Plane:

Using big sphere to simulate curved plane (‘Earth’)

 

Surgical needle:

Capped Cylinder & Box that extends between the 2 points

Texture Simulated.

 

Futuristic Mirror:

Make a half mirror protruding from Earth

Flat circular-finite disc.

 

Gene Balls and genetic linkages:

Capped Cylinders

Miniature Spheres

My POV - Ray Source file : millennium.pov , featuring the Millenniumm challenge : Human Genome Project

 

// CE304 Lab 2000/2001
// Persistence of Vision Ray Tracer
// File: millennium.pov
// Desc: Human Genome Project - The Millennium Challenge in uncovering the Human Genetic Codes.
// Cat : The New Millennium
// Date: August 2000
// Auth: Lam Wee Wah
// Tut : T12



#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"


global_settings
{
assumed_gamma 1.0
}

// ----------------------------------------

camera
{
location <0.0, 1.8, 2.0>
direction 1.5*z
right x//4/3*x
look_at <0.0, 1.5, 0.0>
}


//Making the Horizon
sky_sphere
{
pigment
{
gradient y
color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
}
}

//1st light Source
light_source
{
<-10, 20, 10> // light's position (translated below)
color red 1.0 green 1.0 blue 1.0 // using natural light's color
}

//further away 2nd light source
//This will cast a natural blue on the gene balls making
//them appealing, especially the bottom ones.
//makes objects cast lighter shadows.
light_source
{
<-20, 22, 50> // light's position (translated below)
color blue 1.0
}



// ----------------------------------------
//using big sphere to simulate curved plane

sphere { 0.0, 2.0
texture {
pigment
{Blue_Sky3}

finish{ specular 0.5
}
}
}

//Surgical needle
// Capped Cylinder
cylinder
{
<0.15,1.6,1.2>
<0.15,1.62,1.55>
0.002
texture {
Water
}
}

// create a box that extends between the 2 specified points
box
{
<0.140,1.615,1.55> // one corner position <X1 Y1 Z1>
<0.155,1.650,20.75> // other corner position <X2 Y2 Z2>
texture {
Water
}

}


//Aesthetic Mirror
// make a half mirror protruding from Earth
// flat circular FINITE (no CSG) shape, center hole cutout is optional
disc
{
<0.095, 1.7, 1.1> // center position
z, // normal vector
0.08, // outer radius
0.0 // optional hole radius
texture {
Mirror
//Water
}

}

// Gene Ball Capped Cylinder 1
cylinder
{
<0.05,1.6,1.2>
<0.05,1.8,1.2>
0.0005
pigment{Blue}

}


//gene balls

//First few from most left (my view), bottom up.

sphere { <0.05,1.6,1.2>, 0.01
texture {
pigment {Blue_Sky3}
//{radial frequency 8}
finish{ specular 0.5
}
}
}


sphere { <0.05,1.615,1.2>, 0.005
texture {
pigment
{BrightGold}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.625,1.2>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.65,1.2>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.662,1.2>, 0.005
texture {
pigment
{BrightGold}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.675,1.2>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.682,1.2>, 0.005
texture {
pigment
{BrightGold}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.70,1.2>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.725,1.2>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.75,1.2>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.775,1.2>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0.05,1.8,1.2>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

// Gene Ball Capped Cylinder 2
// Capped Cylinder
cylinder
{
<-0.05,1.6,1.2>
<-0.05,1.8,1.2>
0.0005
pigment{Blue}

}

//2nd few from left (my view), bottom up.

sphere { <-0.05,1.6,1.2>, 0.01
texture {
pigment
{Blue_Sky3}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.615,1.2>, 0.005
texture {
pigment
{BrightGold}
//{radial frequency 8}
finish{ specular 0.5
}
}
}


sphere { <-0.05,1.625,1.2>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.65,1.2>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.662,1.2>, 0.005
texture {
pigment
{BrightGold}
//{radial frequency 8}
finish{ specular 0.5
}
}
}


sphere { <-0.05,1.675,1.2>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.682,1.2>, 0.005
texture {
pigment
{BrightGold}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.70,1.2>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.725,1.2>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.75,1.2>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.775,1.2>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <-0.05,1.8,1.2>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

// Gene Ball Capped Cylinder 3
// Capped Cylinder
cylinder
{
<0,1.65,1.13>
<0,1.85,1.13>
0.0005
pigment{Blue}

}

//Back few (my view), bottom up.

sphere { <0,1.65,1.13>, 0.01
texture {
pigment
{Blue_Sky3}
//{radial frequency 8}
finish{ specular 0.5
}
}
}


sphere { <0,1.662,1.13>, 0.005
texture {
pigment
{BrightGold}
//{radial frequency 8}
finish{ specular 0.5
}
}
}


sphere { <0,1.675,1.13>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}


sphere { <0,1.70,1.13>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0,1.725,1.13>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0,1.75,1.13>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0,1.775,1.13>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0,1.8,1.13>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0,1.825,1.13>, 0.005
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

sphere { <0,1.85,1.13>, 0.01
texture {
pigment
{Red}
//{radial frequency 8}
finish{ specular 0.5
}
}
}

//**************************************** The End *********************************************