POV-Ray : Newsgroups : povray.binaries.images : Lighthouse Scene : Re: Lighthouse Scene Server Time
5 Oct 2024 11:22:22 EDT (-0400)
  Re: Lighthouse Scene  
From: Mark Palmquist
Date: 7 Feb 1999 18:01:32
Message: <36BE1CA3.B973B326@earthlink.net>
<HTML>
I was inspired by your post to start playing with media, I came up with
the following scene (very sparce) with what I think the beam should look
like.

<P>Would anyone like to comment on the beam effect?  any ideas are
welcome.

<P><IMG SRC="cid:par### [at] earthlinknet" HEIGHT=480 WIDTH=640>

<P>the source:

<P>//begin*******************************

<P>// Persistence of Vision Ray Tracer Scene Description File
<BR>// File: lighthouse.pov
<BR>// Vers: 3.1
<BR>// Desc: spotlight/media interaction test
<BR>// Date: 02/07/99
<BR>// Auth: Mark Palmquist
<BR>// uses bricks.inc by Jeff Lee
<BR>//
<BR>#include "colors.inc"
<BR>#include "metals.inc"
<BR>#include "glass.inc"
<BR> 

<P>camera {location < 0, 16, -600>
<BR>  right 4/3*x
<BR>  up y
<BR>  direction z
<BR>  angle 65
<BR>  look_at <0, 105, 0>
<BR>}

<P>light_source { <150, 500, 500>
<BR>  color rgb 2
<BR>  media_interaction off
<BR>  //shadowless
<BR>}

<P>#declare Lightbulb = union {
<BR>    merge {
<BR>      sphere { <0,0,0>,1 }
<BR>      cylinder { <0,0,1>, <0,0,0>, 1
<BR>        scale <0.35, 0.35, 1.0>
<BR>        translate  0.5*z
<BR>      }
<BR>      texture {
<BR>        pigment {color rgb <1,
1, 1>}
<BR>        finish {ambient .8 diffuse
.6}
<BR>      }
<BR>    }
<BR>    cylinder { <0,0,1>, <0,0,0>, 1
<BR>      scale <0.4, 0.4, 0.5>
<BR>      texture { T_Brass_1A }
<BR>      translate  1.5*z
<BR>    }
<BR>    //rotate -90*x
<BR>    scale 2
<BR>}
<BR>#declare beam=
<BR>union{
<BR>  light_source { <0, .1, 0> color rgb<1, 1, 1>*4
<BR>    spotlight
<BR>    point_at <0, 10, 0>
<BR>    radius 1
<BR>    falloff 8
<BR>    media_attenuation on
<BR>    looks_like {Lightbulb}
<BR>    }
<BR>  cone {<0,0,0>, 0, <0,1000,0>, 360 open hollow interior
{media
<BR>     {
<BR>      intervals 43
<BR>      absorption .01
<BR>      scattering {1, rgb 0.02}
<BR>      samples 1, 10
<BR>      confidence 0.9999
<BR>      variance 1/1000
<BR>      ratio 0.9
<BR>     }
<BR>     }
<BR>     pigment{Clear}
<BR>  }
<BR>  rotate <0,0,-93>
<BR>}

<P>#declare newBrickMidtone=colour rgb <0.60,0.60,0.60>
<BR>#declare newBrickHighlight=colour rgb <0.75,0.70,0.70>
<BR>#declare newBrickLowlight=colour rgb <0.35,0.35,0.35>
<BR>#include "bricks.inc" //Author: Jeff Lee
<BR> 
<BR>#declare lighthouse=
<BR>union{
<BR>  object { beam translate <12.1,110,0>}
<BR>  cone {<0,0,0>, 20, <0,100,0>, 15 texture { T_newBrick
scale <1,2,18>}}
<BR>  merge{
<BR>    cylinder{  100*y,  120*y,  12 texture
{T_Glass3}}
<BR>    difference {
<BR>      sphere { 120*y, 12}
<BR>      box { <-15,100,-15>  <-15,120,-15>}
<BR>      texture {T_Brass_3C}
<BR>    }
<BR>  }
<BR>}

<P>object {lighthouse translate <-200,0,0>}

<P>//end*******************************

<P>Darcy Johnston wrote:
<BLOCKQUOTE TYPE=CITE>Well, some time ago, I posted an image depicting
my model of the Hatteras
<BR>lighthouse. Here it is again in a scene.

<P>Please let me know what you think of it.
<BR>Thanks,
<BR>Darcy
<BR>djo### [at] inamecomNOSPAM
<BR><A
HREF="http://www.geocities.com/SiliconValley/Sector/4317">http://www.geocities.com/SiliconValley/Sector/4317</A></BLOCKQUOTE>
 </HTML>


Post a reply to this message


Attachments:
Download 'c:\windows\temp\nsmailar.jpeg.jpg' (8 KB)

Preview of image 'c:\windows\temp\nsmailar.jpeg.jpg'
c:\windows\temp\nsmailar.jpeg.jpg


 

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