POV-Ray : Newsgroups : povray.general : Star Macro : Re: Star Macro Server Time
26 Sep 2024 17:46:02 EDT (-0400)
  Re: Star Macro  
From: Kevin Wampler
Date: 10 Oct 1999 21:47:27
Message: <38014224.D54E532A@tapestry.tucson.az.us>
Andrea Ryan wrote:

> I'll try to make solid star prisms if I find out how to move a point
> towards the origin.
> Brendan Ryan

Multiply the coordinates of your point by the fraction of how much closer
you want the point to be to the origin.  For example, if you have a point
<x,y,z> and you want it to be only half as far away from the origin, it's
new coordinate will be .5*<x,y,z>


Post a reply to this message

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