POV-Ray : Newsgroups : povray.binaries.images : my lightsabre Server Time
31 Oct 2024 21:23:22 EDT (-0400)
  my lightsabre (Message 1 to 7 of 7)  
From: Flaming Monarch
Subject: my lightsabre
Date: 8 Jun 2002 22:14:16
Message: <3D02B9F5.4020808@gates.com>
I didnt have anything to look at when I made this simple light sabre
I havent finished the blade

if ne1 wants to help with that the radius is .1 and the length is around 1


Post a reply to this message


Attachments:
Download 'lightsaber.jpg' (6 KB)

Preview of image 'lightsaber.jpg'
lightsaber.jpg


 

From: Zeger Knaepen
Subject: Re: my lightsabre
Date: 8 Jun 2002 23:30:04
Message: <3d02cbbc@news.povray.org>
Good enough?

Here's the code for the blade.  It's about .05 wide and 1 long and extends
from <0,0,0> to <0,1,0>

#declare Bladecolor=<0,1,0>;
sphere {
 0,4
 pigment{rgbt 1}
 interior {
  media {
   emission 1
   method 3
   density {
    spherical
    color_map {
     [0 rgb 0]
     [1 rgb Bladecolor*.2]
    }
    scale <1,2,1>*<2,1,2>
   }
  }
  media {
   emission 1
   method 3
   density {
    spherical
    color_map {
     [0 rgb 0]
     [.05 rgb Bladecolor]
     [.1 rgb 1]
    }
    scale .5
   }
   density {
    cylindrical
    color_map {
     [.8 rgb 0]
     [.9 rgb Bladecolor*2]
     [.95 rgb 10]
     [1 rgb 40]
    }
   }
  }
  media {
   emission 1
   method 3
   density {
    spherical
    color_map {
     [0 rgb 0]
     [1 rgb (<1,1,1>+Bladecolor)*5]
    }
    poly_wave 4
    scale <.3,1,.3>
   }
   density {
    spherical
    color_map {
     [0 rgb 0]
     [.2 rgb 1]
    }
    translate y*1
   }
   translate -y*.55
   scale <2,1,2>
  }
 }
 hollow
 scale <.4,1,.4>
 translate y*.5
}

cu!
--
ZK AKA SaD
http://www.povplace.be.tf
"I don't take money, only girly giggles."


Post a reply to this message


Attachments:
Download 'lightsabreblade.png' (12 KB)

Preview of image 'lightsabreblade.png'
lightsabreblade.png


 

From: Flaming Monarch
Subject: Re: my lightsabre
Date: 10 Jun 2002 10:23:57
Message: <3D04B676.70300@gates.com>
Ty i'm trying it as I type


Zeger Knaepen wrote:

> Good enough?
> 
> Here's the code for the blade.  It's about .05 wide and 1 long and extends
> from <0,0,0> to <0,1,0>
> 
> #declare Bladecolor=<0,1,0>;
> sphere {
>  0,4
>  pigment{rgbt 1}
>  interior {
>   media {
>    emission 1
>    method 3
>    density {
>     spherical
>     color_map {
>      [0 rgb 0]
>      [1 rgb Bladecolor*.2]
>     }
>     scale <1,2,1>*<2,1,2>
>    }
>   }
>   media {
>    emission 1
>    method 3
>    density {
>     spherical
>     color_map {
>      [0 rgb 0]
>      [.05 rgb Bladecolor]
>      [.1 rgb 1]
>     }
>     scale .5
>    }
>    density {
>     cylindrical
>     color_map {
>      [.8 rgb 0]
>      [.9 rgb Bladecolor*2]
>      [.95 rgb 10]
>      [1 rgb 40]
>     }
>    }
>   }
>   media {
>    emission 1
>    method 3
>    density {
>     spherical
>     color_map {
>      [0 rgb 0]
>      [1 rgb (<1,1,1>+Bladecolor)*5]
>     }
>     poly_wave 4
>     scale <.3,1,.3>
>    }
>    density {
>     spherical
>     color_map {
>      [0 rgb 0]
>      [.2 rgb 1]
>     }
>     translate y*1
>    }
>    translate -y*.55
>    scale <2,1,2>
>   }
>  }
>  hollow
>  scale <.4,1,.4>
>  translate y*.5
> }
> 
> cu!
> --
> ZK AKA SaD
> http://www.povplace.be.tf
> "I don't take money, only girly giggles."
> 
> 
>


Post a reply to this message

From: Flaming Monarch
Subject: Re: my lightsabre
Date: 10 Jun 2002 11:15:43
Message: <3D04C291.8000004@gates.com>
here we go


I had to hack it a bit but It works exactly as I want

I took out the big glow but hey it looks great

Thanks dude


Zeger Knaepen wrote:

> Good enough?
> 
> Here's the code for the blade.  It's about .05 wide and 1 long and extends
> from <0,0,0> to <0,1,0>
> 
> #declare Bladecolor=<0,1,0>;
> sphere {
>  0,4
>  pigment{rgbt 1}
>  interior {
>   media {
>    emission 1
>    method 3
>    density {
>     spherical
>     color_map {
>      [0 rgb 0]
>      [1 rgb Bladecolor*.2]
>     }
>     scale <1,2,1>*<2,1,2>
>    }
>   }
>   media {
>    emission 1
>    method 3
>    density {
>     spherical
>     color_map {
>      [0 rgb 0]
>      [.05 rgb Bladecolor]
>      [.1 rgb 1]
>     }
>     scale .5
>    }
>    density {
>     cylindrical
>     color_map {
>      [.8 rgb 0]
>      [.9 rgb Bladecolor*2]
>      [.95 rgb 10]
>      [1 rgb 40]
>     }
>    }
>   }
>   media {
>    emission 1
>    method 3
>    density {
>     spherical
>     color_map {
>      [0 rgb 0]
>      [1 rgb (<1,1,1>+Bladecolor)*5]
>     }
>     poly_wave 4
>     scale <.3,1,.3>
>    }
>    density {
>     spherical
>     color_map {
>      [0 rgb 0]
>      [.2 rgb 1]
>     }
>     translate y*1
>    }
>    translate -y*.55
>    scale <2,1,2>
>   }
>  }
>  hollow
>  scale <.4,1,.4>
>  translate y*.5
> }
> 
> cu!
> --
> ZK AKA SaD
> http://www.povplace.be.tf
> "I don't take money, only girly giggles."
> 
> 
>


Post a reply to this message


Attachments:
Download 'test color.jpg' (41 KB)

Preview of image 'test color.jpg'
test color.jpg


 

From: Zeger Knaepen
Subject: Re: my lightsabre
Date: 10 Jun 2002 14:58:27
Message: <3d04f6d3@news.povray.org>
"Flaming Monarch" <fla### [at] gatescom> schreef in bericht
news:3D0### [at] gatescom...
> here we go
>
> I had to hack it a bit but It works exactly as I want
>
> I took out the big glow but hey it looks great
Nice, but why did you take out the big glow?

> Thanks dude
np :)

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: Zeger Knaepen
Subject: Re: my lightsabre
Date: 10 Jun 2002 14:59:30
Message: <3d04f712@news.povray.org>
oh, btw: for the blue lightsabre, <0,1,1> is a better color!

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

From: Zeger Knaepen
Subject: Re: my lightsabre
Date: 10 Jun 2002 15:06:10
Message: <3d04f8a2$1@news.povray.org>
"Zeger Knaepen" <zeg### [at] studentkuleuvenacbe> schreef in bericht
news:3d04f712@news.povray.org...
> oh, btw: for the blue lightsabre, <0,1,1> is a better color!
correction: <0,.5,1> or something like that :)

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

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