POV-Ray : Newsgroups : povray.text.scene-files : Re: My first image in a while - The Code Server Time
1 Nov 2024 03:14:45 EDT (-0400)
  Re: My first image in a while - The Code (Message 1 to 2 of 2)  
From: James Atkinson
Subject: Re: My first image in a while - The Code
Date: 12 Jul 1998 21:09:56
Message: <35a95054.0@news.povray.org>
Ok...this is pretty ugly but it makes sence to me :)

Enjoy!

James Atkinson

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



#include "colors.inc" // Standard Color definitions
#include "textures.inc" // Standard Texture definitions
#include "CHARS.INC"   // FIXME-add comments describing each of these
#include "CONSTS.INC"
#include "METALS.INC"
#include "SHAPES.INC"
#include "SHAPES2.INC"
#include "SHAPESQ.INC"
#include "SKIES.INC"
#include "STONES.INC"
#include "STONES2.INC"
#include "WOODMAPS.INC"
#include "WOODS.INC"

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

camera
{
  location  <0.3 , 0.7 , -3.0>
  look_at   <0.3 , 0.7 , 0.0>
}

union {
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 4>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 4.3>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 4.6>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 4.9>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 5.2>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 5.5>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 5.8>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 6.1>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 6.4>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 6.7>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 7>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 7.3>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 7.6>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 7.9>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 8.2>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 8.5>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 8.8>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 9.1>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 9.4>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 9.7>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 10>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 10.3>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 10.6>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 10.9>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 11.2>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 11.5>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 11.8>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 12.1>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 12.4>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 12.7>
}
torus
{
  3.0,
  0.2
texture {PinkAlabaster}
rotate <90,0,0>
translate <0.2,0, 13>
}
}

cylinder
{
  10*y,  -3*y,  0.6
 pigment { color rgbt <1, 1, 1, 1> }

halo {
      emitting
      cylindrical_mapping
      linear
      turbulence 1.5
      color_map {
        [ 0.0 color rgbt <0, 1, 0,  1> ]
        [ 0.5 color rgbt <0, 1, 1, -1> ]
        [ 1.0 color rgbt <0, 1, 1,  1> ]
      }
      frequency 2
      samples 20
      scale 0.5
    }
hollow
translate <4.0, 0, 4>
}

cylinder
{
  10*y,  -3*y,  0.6
 pigment { color rgbt <1, 1, 1, 1> }

halo {
      emitting
      cylindrical_mapping
      linear
      turbulence 1.5
      color_map {
        [ 0.0 color rgbt <0, 1, 0,  1> ]
        [ 0.5 color rgbt <0, 1, 1, -1> ]
        [ 1.0 color rgbt <0, 1, 1,  1> ]
      }
      frequency 2
      samples 20
      scale 0.5
    }
hollow
translate <-3.46, 0, 4>
}


plane
{
  y, -1
  texture
  {
    pigment {checker
    color rgb 0
    color red 1
    scale 1.5}
    finish {reflection 0.6}
  }
}

// create a sphere shape

 blob {
    threshold .65
    sphere { <.5,0,0>, .8, 1 texture {Polished_Chrome} }
    sphere { <-.5,0,0>,.8, 1 texture {Polished_Chrome} }

    sphere { <.5,1,0>, .8, 1 texture {Polished_Brass} }
    sphere { <-.5,1,0>,.8, 1 texture {Polished_Brass} }

    sphere { <.5,1,1>, .8, 1 texture {Polished_Chrome} }
    sphere { <-.5,1,1>,.8, 1 texture {Polished_Chrome} }

    sphere { <.5,0,1>, .8, 1 texture {Polished_Brass} }
    sphere { <-.5,0,1>,.8, 1 texture {Polished_Brass} }

    finish { phong 1 }

    rotate <45, 30, 35>
    translate <0, 0, 1.5>
    }


Post a reply to this message

From: Daniel Malament
Subject: Re: My first image in a while - The Code
Date: 14 Jul 1998 06:28:57
Message: <35ab24d9.0@news.povray.org>
James Atkinson (wil### [at] calgarycrosswindsnetnospamhere) wrote:
<snip>

Thanks.
-Dan


Post a reply to this message

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