|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
|
|