POV-Ray : Newsgroups : povray.binaries.images : it's not about photons... : Re: it's not about photons... Server Time
6 Nov 2024 22:13:40 EST (-0500)
  Re: it's not about photons...  
From: Kenneth
Date: 6 Jan 2018 22:25:00
Message: <web.5a5191ce7e154b36a47873e10@news.povray.org>
Here is one way to do it. I remade your T_warn1 texture as T_warn_2. You might
need another very similar texture (with a different radial 'frequency') for your
plane, so that the warning stripes there look equal in size to the cylinder's
stripes.

#declare T_warn_2 =
texture{
pigment{
    radial
    sine_wave
    frequency 16
        color_map{
            [.5 rgb 0]
            [.5 rgb <1,.7,0>]
                 }
       }
    }

#declare Thing=
difference{
sphere {0,9.05 pigment {rgb 0.1}}
sphere {0,8.55 pigment {rgb 0.1}}
cylinder{<0,-10,0>, <0,10,0> 5.01 // made in Y instead of X
  texture {T_warn_2}
  rotate 90*z
  }
plane {z,-1 hollow texture {T_warn_2 rotate 90*x}}
finish {diffuse .25}
photons {collect off}
}


Post a reply to this message

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