Sitemap

Member-only story

Rotation and Lighting using PovRay

Oct 22, 2020

--

#include “colors.inc”
camera
{ location [-10,10,-10]
look_at [0,0,0]
angle 100
}

light_source { [-20,30,15] color Red}
light_source { [20,-30,-15] color Blue}

//#declare newSphere =
sphere
{ [-2,-0,-2],2
pigment
{ color [1,1,1]
}
finish{ambient}
rotate [10,15,30]
//rotate [20,30,60]
//rotate [30,45,90]
//rotate [40,60,120]
//rotate [50,75,150]
//rotate [60,90,180]
}

sphere
{ [-2,-2,-2],2
pigment
{ color [1,1,1]
}
finish{ambient}
//rotate [10,15,30]
//rotate [20,30,60]
//rotate [30,45,90]
//rotate [40,60,120]
//rotate [50,75,150]
rotate [60,90,180]
}

//#declare newBox =
box
{ [2,0,2],[4,2,4]
pigment
{color [2,2,2]}
finish{metallic}
translate[1,1,0]
//rotate [10,15,30]
rotate…

--

--

Obioku Obotette
Obioku Obotette

Written by Obioku Obotette

0 followers

Trying to introduce myself in a new forum with hopeful expectations!

No responses yet