POV-Ray : Newsgroups : povray.text.scene-files : Three Neon Tubes (R, G and B) Server Time
29 Oct 2024 22:45:16 EDT (-0400)
  Three Neon Tubes (R, G and B) (Message 1 to 1 of 1)  
From: Eitan Tal
Subject: Three Neon Tubes (R, G and B)
Date: 2 Oct 2001 01:45:22
Message: <3BB95399.49FC20FC@netvision.net.il>
// Neon Take 2
// By Amnesiac [Eitan tal]

#version 3.0

#include "colors.inc"

global_settings
{
  assumed_gamma 1.0
}

// ----------------------------------------
camera
{
  location  <7.0, 15.5, -6.0>
  direction 1.5*z
  right     4/3*x
  look_at   <0.0, 0.0,  0.0>
}

sky_sphere
{
  pigment
  {
    gradient y
    color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
  }
}

/*light_source
{
  0*x // light's position (translated below)
  color red 1.0  green 1.0  blue 1.0  // light's color
  translate <-30, 30, -30>
}*/

// ----------------------------------------
plane
{
  y, -1
  texture
  {
    pigment {checker color rgb 1 color blue 1 scale 5}
    finish {reflection 0.2}
  }
}
#declare adder=0.05

cylinder
{
  <0,0,-1>,<0,0,1>,0.25
  texture { pigment {color rgbt <0.05,0.05,1,0.3>}
  finish {
    ambient 0.5
    reflection 0.1 // amount of surface reflection (0...1) [0]
    }
  }
  translate -x
}

cylinder
{
  <0,0,-1>,<0,0,-1.1>,0.25
  pigment {color rgb 1}
  translate -x
}

cylinder
{
  <0,0,1>,<0,0,1.1>,0.25
  pigment {color rgb 1}
  translate -x
}

#declare ax=-0.9
#while (ax < 1)
light_source {
  <-1,0,ax>, rgb <0.0,0.0,1>
    fade_distance 5
    fade_power 1.5
}
#declare ax=ax+adder
#end


cylinder
{
  <0,0,-1>,<0,0,1>,0.25
  texture { pigment {color rgbt <0.05,1,0.05,0.3>}
  finish {
    ambient 0.5
    reflection 0.1 // amount of surface reflection (0...1) [0]
    }
  }
}

cylinder
{
  <0,0,-1>,<0,0,-1.1>,0.25
  pigment {color rgb 1}
}

cylinder
{
  <0,0,1>,<0,0,1.1>,0.25
  pigment {color rgb 1}
}

#declare ax=-0.9
#while (ax < 1)
light_source {
  <0,0,ax>, rgb <0.0,1.0,0.0>
    fade_distance 5
    fade_power 1.5
}
#declare ax=ax+adder
#end

cylinder
{
  <0,0,-1>,<0,0,1>,0.25
  texture { pigment {color rgbt <1.00,0.05,0.05,0.3>}
  finish {
    ambient 0.5
    reflection 0.1 // amount of surface reflection (0...1) [0]
    }
  }
  translate x
}

cylinder
{
  <0,0,-1>,<0,0,-1.1>,0.25
  pigment {color rgb 1}
  translate x
}

cylinder
{
  <0,0,1>,<0,0,1.1>,0.25
  pigment {color rgb 1}
  translate x
}

#declare ax=-0.9
#while (ax < 1)
light_source {
  <1,0,ax>, rgb <1.0,0.0,0.0>
    fade_distance 5
    fade_power 1.5
}
#declare ax=ax+adder
#end


Post a reply to this message

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