POV-Ray : Newsgroups : povray.general : Dirty water and flouresence : Re: Dirty water and flouresence Server Time
25 Apr 2024 11:37:29 EDT (-0400)
  Re: Dirty water and flouresence  
From: Iodine
Date: 27 Jul 2018 12:25:01
Message: <web.5b5b46dc6d9eb1802d17ef5e0@news.povray.org>
Sorry I should have posted this POVray code, what I want the dirty water for is
to improve on this image. This is a simulation of a X-ray image of a series of
objects. Here is my code for viewing what you would see on the screen of the
X-ray machine. If you change the camera location to 10, 14, 0 then you can see
the objects viewed with the light without the screen.

  #include "colors.inc"
  #include "textures.inc"
#declare Floor_Texture     = texture {
                            pigment {color rgb <1,1,1> }
                            finish { diffuse 0.6,0.3 } }
camera {      #declare Object_Texture = texture {Green_Glass}
    location  <0, -14, 0>
    look_at   <0, 0, 0>
    angle 48
  }


light_source { < 0.0, 9.0,   0.0 >
      color red 1.20 green 1.20 blue 1.20 }
  plane {
    y, -1
    texture { Floor_Texture }
    }
  torus {
    1.5, 0.5
    texture { Object_Texture }
    rotate <0, 150, 0>
    translate <-2, 1, 0>
  }
  cone {
    <0,1,0>, 0, <0,0,0>, 1
    texture { Object_Texture }
    scale <1, 3, 1>
    translate <1, 1, 2>
  }
  sphere {
    <0,1,0>,1
    texture { Object_Texture }
    translate <1.5, 0, -2>
  }
  sphere {
    <0,1,0>,0.2
    texture { Object_Texture }
    translate <0.25, 0, -3>
  }


Post a reply to this message

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