POV-Ray : Newsgroups : povray.binaries.images : can som1 help me with making a lightsaber : Re: can som1 help me with making a lightsaber Server Time
15 Aug 2024 14:21:45 EDT (-0400)
  Re: can som1 help me with making a lightsaber  
From: Slime
Date: 7 Jun 2002 19:07:24
Message: <3d013cac@news.povray.org>
Looks like a good place for cylinders and torii!

If I were you, I'd start with a long thin cylinder, like maybe

cylinder {
<0,0,0>,<0,0,1>,.1
}

And set up the camera to look at it at an angle similar to your reference
image. Then tweak the position and radius of it until it closely matches the
shape you're trying to duplicate. (I recommend starting with just the handle
and worrying about the blade later on.)

Once you have the base cylinder, start adding objects to it. You'll want to
look up the cylinder and torus objects, as I mentioned, and maybe the box
object too. Make sure you understand basic transformations (scaling,
translating, and rotating). In the meantime, just put them all inside a
union{ ... } with a pigment{rgb 1} just so you can see it. Make sure you've
got a light source in there somewhere.

You'll also need to know CSG; this is well described in the documentation.

I'm giving you the real basics here 'cause I never keep track of names in
this newsgroup and I don't know how skilled you are with the program yet =)
Don't be offended if I'm talking down to you. When in doubt, hit the little
button that says "Scene" on the toolbar.

(BTW: as for the blade itself, try a merge of a long thin cylinder and a
sphere at the end of it to round it off, and make it hollow and use emitting
media inside it with the cylindrical pattern.)

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

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