POV-Ray : Newsgroups : povray.text.scene-files : Lightsabre Blade : Lightsabre Blade Server Time
8 Jul 2024 12:21:42 EDT (-0400)
  Lightsabre Blade  
From: Dawn McKnight
Date: 29 Nov 2000 23:59:56
Message: <3A25DECB.9904CCF8@mac.com>
// This is the code for the lightsabre blade, as discussed in p.general.
// Persistence of Vision Ray Tracer Scene Description File
// File: lightsabre.pov
// Vers: 3.1
// Desc: a lightsabre for Kyle
// Date: 28 Nov '00
// Auth: D. K. McKnight



#include "colors.inc"

light_source { <-10, 10, 0> White }

background { Black }

camera {
	location <0, 0, -20>
	look_at 0
	} // close camera
	
#local Blade = merge {
	cylinder {
		<-5, 0, 0>,
		<5, 0, 0>,
		3
		}
		
	sphere {
		<-5, 0, 0>,
		3
		}
		
	sphere {
		<5, 0, 0>
		3
		}
		
	} // merge Blade
	


	object {
		Blade
		texture { pigment { Clear }}
		interior {
			media {
				emission rgb 1
				density {
					cylindrical 
					rotate 90*z
					scale 2
					color_map {
						[0.0 color Black filter 1]
						[0.5 color Cyan filter 1]
						[1.0 color White filter 1]
						} // close color_map
					} // close density
				scattering { 1, Cyan }
				} // close media
			} // close interior
		hollow
		scale 0.801
		} // close object 
	


-- 
Dawn McKnight      | "Who cares what the hipbone's connected to? I'm in Neurology!"
McK### [at] maccom   |					-- Justine Devlin, M.D.


Post a reply to this message

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