POV-Ray : Newsgroups : povray.binaries.images : Flat screen : Flat screen Server Time
30 Jul 2024 16:14:26 EDT (-0400)
  Flat screen  
From: Colin B Maharaj
Date: 3 May 2011 03:55:01
Message: <web.4dbfb3c55c90753c189efc40@news.povray.org>
Got this many years ago as a CRT from...
Man### [at] munichnetsurfde  (1998)  17 inch Syncmaster
[Always credit the original :)]
and made a flat screen....
I wonder if anyone can help with the shadow on the screen :)
//------------------monitor2.inc------------
#declare flatscreen = version
#version 1.0



#declare Green_led = texture {
  pigment { color rgbf<0.0, 0.9, 0.0, 6.0> }
  finish {
    ambient 0
    diffuse 0.1
    reflection 0.1
    refraction 1
    ior 1.5
    phong 0.1
    phong_size 20
  }
}


#declare computerBlack = texture {
  pigment {color rgb <0.19647,0.19098,0.17529>}
  normal { bumps 0.1 scale 0.1 }
  finish { phong 0.5 }
}



//############################################################################
// Monitor: HANNS-G HB191D
// Creator : Colin B Maharaj
//############################################################################

#declare TYPICALFLATSCREEN =
union
{
  union
  {
   cylinder{<0, 0,0>,<0,25,0>,145}  // Base plate
    box{<-45,10,50>,<-25,125,-50>}  // Vertical suspension bar
    box{<-65,80,100>,<-40,100,-100>}  // Front Panel Menu

    difference
    {
      box{<-200, 95, -360>,<-230,420, 150>} // Monitor display area
      box{<-235,105, -350>,<-220,410, 140>} // cut out area #1
      box{<-235,100, -355>,<-229,415, 145>} // cut out area #2

      translate <160,0,100>

    }

    texture{computerBlack}
  }

  union
  {
    box{<-70,90,-82>,<-40,80,-88>}  // Front panel LED...
    texture{Green_led}             // ...coloured green
  }



  union
  {

    box {<-221,100,-355>,<-220,415,145>}
    texture
    {
      pigment
      {
        image_map {bmp "desktop.bmp"} //1440x900
        rotate <0,90,0>
        scale <1,310,490>
        translate <0,100,140>
      }
      ambient 0.3
    }
    translate <160,0,100>

  }
}
//---end---------------monitor2.inc------------

//---------------flat_screen.pov-------------------


#include "colors.inc"
include "metals.inc"

#include "monitor2.inc"


object{TYPICALFLATSCREEN  translate <260, 70, -10>   rotate <0,30,0> }

camera
{
  location <-3000,600,10>
  look_at <20,330,100>
  angle 20
}


plane{<0,1,0>,0// texture{color rgb<0.1, 0.21 0.5>}
 pigment
{
      checker color rgb<0.05, 0.16, 0.4> , rgb<0.10, 0.32 0.8>
 scale <300,300,300>
    }

}

light_source
{
 <-500,2000,500>
  color rgb <1.1, 1, 1>
  area_light <250, 0, 0>, <0, 0, 250>, 5, 5
  adaptive 1
  jitter
}

light_source
{ <-2500,2500,500>
  color rgb <1, 1.1, 1>
  area_light <250, 0, 0>, <0, 0, 250>, 5, 5
  adaptive 1
  jitter
}

light_source
{
 < 1000,2000,500>
  color rgb <1, 1, 1.1>
  area_light <250, 0, 0>, <0, 0, 250>, 5, 5
  adaptive 1
  jitter
}

light_source
{
 < -3000,600,10>
  color rgb <1, 1, 1.1>
  area_light <250, 0, 0>, <0, 0, 250>, 5, 5
  adaptive 1
  jitter
}

//// -- end -----flat_screen.pov------------


Post a reply to this message


Attachments:
Download 'flat_screen.png' (205 KB)

Preview of image 'flat_screen.png'
flat_screen.png


 

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