POV-Ray : Newsgroups : povray.general : While we are talking about changes : Re: While we are talking about changes Server Time
10 Aug 2024 11:25:57 EDT (-0400)
  Re: While we are talking about changes  
From: crewman
Date: 14 Mar 2000 20:34:32
Message: <Pine.LNX.4.10.10003141723060.23088-100000@belial.reno.nv.us>
On Tue, 14 Mar 2000, Ken wrote:

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

so y* = 1 ? (or x* = 1?) or is it y (multiplied by) ?





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

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