POV-Ray : Newsgroups : povray.binaries.images : Lamp shade : Re: Lamp shade Server Time
3 Oct 2024 11:16:53 EDT (-0400)
  Re: Lamp shade  
From: Ken
Date: 26 Jan 2000 10:40:54
Message: <388F14C0.72FE732B@pacbell.net>
cadman wrote:

You might try using looks_like along with the lamp shade. An example of
it's usage I copy and pasted here would be -

  #declare Lightbulb =
  union{
  merge{
  sphere{<0,0,0>,1}
  cylinder{<0,0,1>,<0,0,0>,1 scale<.35,0.35,1>translate .5*z}
  texture{pigment{rgb<1,1,1>}finish{ambient .8 diffuse .6}}}
  cylinder{<0,0,1>,<0,0,0>,1 scale<.4,.4,.5>texture{Brass_Texture}
  translate 1.5*z}rotate -90*x scale .5}

  light_source{<0,0,0>rgb 1 looks_like{Lightbulb}}

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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