POV-Ray : Newsgroups : povray.unofficial.patches : alternate coordinate systems in iso.s. : Re: alternate coordinate systems in iso.s. Server Time
2 Sep 2024 12:14:26 EDT (-0400)
  Re: alternate coordinate systems in iso.s.  
From: Chris Huff
Date: 19 Jan 2000 09:18:12
Message: <chrishuff_99-6A45F8.09184119012000@news.povray.org>
In article <38859813.75ED1AFD@stud.ntnu.no>, Sigmund Kyrre Aas 
<as### [at] studntnuno> wrote:

> Has anybody thought of adding spherical or toroidal coordinate systems
> to the isosurface patch?
> Just an idea.

If I understand what you mean, these already exist in the form of the 
built in functions(like "R", "TH", "PH", and whatever you can make with 
the trig functions like atan()). And you can construct your own 
functions to do whatever you want, just declare them.
#declare WeirdCoordinateA = function {blahblah}
#declare WeirdCoordinateB = function {blahblah}
#declare WeirdCoordinateC = function {blahblah}

Then just use these functions as returning the coordinate values for 
your function.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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