POV-Ray : Newsgroups : povray.binaries.images : (alpha channel not work )Another example : (alpha channel not work )Another example Server Time
8 Jul 2024 07:00:54 EDT (-0400)
  (alpha channel not work )Another example  
From: liujg
Date: 6 Aug 2014 03:05:04
Message: <web.53e1d3332a4d6c721ccfd0a0@news.povray.org>
background {
  color rgb < 0.60, 0.70, 0.95 >
}
camera {
  location <0, 15, -60>
 direction <0, 2,  1>
  right x*1.33
 look_at <0,15,0>
}
light_source {
  <0,28,0> // position of a coner of the light plane
  rgb<1.0,1.0,1.0>
  area_light <3, 0, 0>, <0, 3, 0>, 2, 2 // light plane's edges; m by n bulbs
 adaptive 1 // if on, some rays will not be traced
 jitter // randomization of bulb's positions, emulating fuzzy shadow edges
}

  object {
      mesh2{
         vertex_vectors{
                      5
                        <-500, 0, 30>, < 500, 0, 30>,<500,  500, 30>, < -500,
500, 30>  , < 0, 250,  30>

                       }
             uv_vectors{
                       5
                         <-25.0, -25.0>,< 25.0, -25.0> ,  < 25.0,  25.0>,
<-25.0,  25.0>,  <0.0, 0.0>
                       }
           face_indices{
                       4,
                        <0,1,4>, <1,2,4>,<2,3,4>, <3,0,4>

                       }
             uv_indices{
                     4,
                        <0,1,4>, <1,2,4>,<2,3,4>, <3,0,4>

                        }

            }
     texture{
         pigment{
       uv_mapping
        image_map { png "DHKX0221.png"  map_type 0   interpolate 2 }
                }
         finish {
      specular 0.3
      roughness 0.01
                }
            }
}


Post a reply to this message


Attachments:
Download 'dhkx0221.png' (1250 KB)

Preview of image 'dhkx0221.png'
dhkx0221.png


 

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