POV-Ray : Newsgroups : povray.newusers : RGB XYZ : RGB XYZ Server Time
31 Jul 2024 04:19:52 EDT (-0400)
  RGB XYZ  
From: Daniel Cougar
Date: 27 Jan 2003 00:35:03
Message: <web.3e34c4ce3b1298dc7b3d0bb20@news.povray.org>
This was a little script I threw together when I had trouble with the
coordinate system.  It helped me figure out how things would move and/or
rotate.  I'm posting it here so, perhaps, it can help others.

#declare marker =
  union {
    cylinder { <0,0,0>,<1,0,0>,.1 pigment { rgb <1,0,0> } }
    cone { <1.3,0,0>,0,<1,0,0>,.2 pigment { rgb <1,0,0> } }
    cylinder { <0,0,0>,<0,1,0>,.1 pigment { rgb <0,1,0> } }
    cone { <0,1.3,0>,0,<0,1,0>,.2 pigment { rgb <0,1,0> } }
    cylinder { <0,0,0>,<0,0,1>,.1 pigment { rgb <0,0,1> } }
    cone { <0,0,1.3>,0,<0,0,1>,.2 pigment { rgb <0,0,1> } }
  }


Post a reply to this message

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