POV-Ray : Newsgroups : povray.advanced-users : math question (functions) : Re: math question (functions) Server Time
28 Jul 2024 22:27:06 EDT (-0400)
  Re: math question (functions)  
From: Christopher James Huff
Date: 1 Sep 2003 22:58:55
Message: <cjameshuff-2033A1.22585501092003@netplex.aussie.org>
In article <mat### [at] netplexaussieorg>,
 Matthew Pace <mat### [at] lycoscom> wrote:

> ok, first of all, hi, semi-new poster here.  I recently got graph^3 for 
> my TI-83+, meaning i can spend more time playing around with functions 
> during my classes, but i have some trouble.  im not too much of a math 
> guy, and i want to know how to convert a z=... function to a function 
> that POV would understand.  can i just subtract a z from each side and 
> have the function equal 0?  is that the way pov works it out?  im afraid 
> i dont understand too much of the way POV does the math, so im at a loss 
> here, and algebra wasnt my greatest subject (enjoyed geometry and trig 
> tho,)  also, how would i make the sine of z in a z=... function, would 
> it be z=arcsin(...) ?

This form simply has a height at each xy point (taking z as height), and 
is analogous to a height_field. You could use a function image and 
actual height field primitive, or use an isosurface with "z - (your 
function)". Subtracting z from the function would work as well, but 
would place the "inside" of the isosurface on the opposite side...you 
may want this, it depends on what you are doing.

By the way, just a suggestion: proper capitalization makes it much 
easier for people to read your messages. Just out of politeness, please 
make at least some effort in this.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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