POV-Ray : Newsgroups : povray.text.scene-files : projected_through Test. Server Time
29 Mar 2024 06:36:44 EDT (-0400)
  projected_through Test. (Message 1 to 1 of 1)  
From: Stephen
Subject: projected_through Test.
Date: 17 Feb 2011 06:49:29
Message: <4d5d0b49$1@news.povray.org>
//#version 3.5;
//#version 3.6;
//#version 3.7;



#declare Non_Patterned_Texture =
texture {
  pigment {
   colour rgbft <0.753,0.753,0.753,0.000,0.000>
  }

  normal {
   agate, 1.000
   agate_turb 0.500
   scale     <0.100,0.100,0.100>
  }

  finish {
   ambient     rgb <0.100,0.100,0.100>
   brilliance  1.000
   diffuse     0.600
   reflection {
    rgb <0.000,0.000,0.000>, rgb <0.000,0.000,0.000>
    fresnel   0
    falloff   0.000
    exponent  1.000
    metallic  0.000
   }
  }

}

#declare TargetTexture =
material{
  texture {
   pigment {
    colour rgbft <1.000,1.000,1.000,0.481,0.000>
   }

   finish {
    ambient     rgb <0.100,0.100,0.090>
    brilliance  1.500
    diffuse     0.650
    specular    0.850
    roughness   0.010
    reflection {
     rgb <0,0,0>, rgb <0,0,0>
     fresnel   0
     falloff   1.000
     exponent  1.000
     metallic  0.000
    }
   }

  }

}

#declare Target0 =
box {
  < -0.5, -0.5, -0.5 >, < 0.5, 0.5, 0.5 >
  material{ TargetTexture }
  scale     <10.0,10.0,10.0>
  translate <0.0,50.0,0.0>	//******
}

#declare Cam0 =
camera {
  perspective
  location <2.060,55.817,-327.975>
  up y
  right 1.333*x
  angle 50.000
  sky <0.000,1.000,0.0>
  look_at < 0.207, 50.890, -0.750 >
}

#declare Box0 =
box {
  < -0.5, -0.5, -0.5 >, < 0.5, 0.5, 0.5 >
  scale     <200.0,100.0,200.0>
  translate <0.0,50.0,0.0>
}



light_source {
  < 0.0, 0.0, 0.0 >, colour rgb <1.0,1.0,1.0>*5.000
  fade_power 0.000
  fade_distance 100.000
  media_attenuation off
  media_interaction on
  projected_through {Target0}
  translate <75.0,48.0,0.0>	// ****
}

difference {  // Room
  object{ Box0 }

  object {
   Box0
   scale     <0.990,0.990,0.990>
   translate <0.0,0.0,-7.1280>
  }

  texture{ Non_Patterned_Texture }
}

object{ Target0 }


camera{ Cam0 }

-- 
Regards
     Stephen


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.