Translate To Preferred Language

Search ObiokusThoughts

Please Read Today's Featured Post

Reading Brashly

Involve Evolve Revolve Devolve Aesop Dr. Seuss Father time  Mother goose Fast danger Nurture nature Rainbow Sunshine ...

Template for Shape Lighting and Rotation in PovRay (some bugs may occur)


#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 [20,30,60]
//rotate [30,45,90]
//rotate [40,60,120]
//rotate [50,75,150]
//rotate [60,90,180]
}

box
{ [2,2,2],[4,4,4]
  pigment
  {color [2,2,2]}
  finish{metallic}
  translate[1,1,0]
  //rotate [10,15,30]
//rotate [20,30,60]
//rotate [30,45,90]
rotate [40,60,120]
//rotate [50,75,150]
//rotate [60,90,180]
}


No comments:

Post a Comment

Thank you for reading.
Please share your thoughts.
Be blessed and enjoy life!