POV-Ray : Newsgroups : povray.text.tutorials : The basics : Re: The basics Server Time
24 May 2024 15:04:33 EDT (-0400)
  Re: The basics  
From: Mike
Date: 22 Sep 1998 13:30:09
Message: <3607DD15.9D5AC3EC@aol.com>
The docs are very good, but a cube isn't really the easiest thing to
understand.  The two vectors describe the two opposite corners of a box.  The
easiest way to think of it is as describing the least and greatest extents of
the box.  I tend to do lowest vector first, so a unit sized cube at the origin
would be:

box {<-.5, -.5, -.5>, <.5, .5, .5>}

Notice the x, y, z components of the first vector are lower than the x, y, z
components of the second vector.  As long as you stick to that rule, the
corners will always be opposite and will save you the trouble of trying to
visualize the actual corners of the box.

-Mike

John Thomas. wrote:

> Hello,
>
> I am very new to this pov ray thing. I can't even figure out how to make a
> single cube.  I don't know anything at all about it.  I was wondering if
> anyone knew any sites about the basics and hwo I could learn to make lil
> things.. Then later worry about the bigger things.
>
> Thanks.
> John Thomas.


Post a reply to this message

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