|
|
cre### [at] belialrenonvus wrote:
> Good!:) btw since we're kinda on the subject, how can I shorten the
> box {<-0.5,-0.5,-0.5>,<0.5,0.5,0.5> }
Some typical shorthand primitives:
box {<-0.5,-0.5,-0.5>,<0.5,0.5,0.5> }
box{-.5,.5) // a unit box at the origin
sphere {<0,0,0>,1 }
sphere{0,1) // a unit sphere at the origin
cylinder {<-.5, 0, 0>, <.5, 0, 0>, 1 }
cylinder{x*-.5,x*.5,1} // 1 unit long in the x direction with a dia of 1
cone {<0, -.5, 0>, 1, <0, .5, 0>, 0 }
cone{y*-.5,1,y*.5,0} // 1 unit high with a base of 1 and a point of zero
// centered at the origin
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|