POV-Ray : Newsgroups : povray.advanced-users : math question (functions) Server Time
1 Nov 2024 01:24:17 EDT (-0400)
  math question (functions) (Message 1 to 4 of 4)  
From: Matthew Pace
Subject: math question (functions)
Date: 1 Sep 2003 21:56:35
Message: <matt-pace-731613.18563101092003@netplex.aussie.org>
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(...) ?

thanks in advance for any help,
matt


Post a reply to this message

From: Christopher James Huff
Subject: Re: math question (functions)
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

From: Matthew Pace
Subject: Re: math question (functions)
Date: 1 Sep 2003 23:32:45
Message: <matt-pace-89008D.20324501092003@netplex.aussie.org>
Thanks a lot, that answered my questions, and fair enough on the 
capitilization.  If anyone can, I'd just like to double-check the sin 
and arcsin idea.

thanks in advance,
Matthew


Post a reply to this message

From: Christopher James Huff
Subject: Re: math question (functions)
Date: 2 Sep 2003 09:37:22
Message: <cjameshuff-8F1704.09372202092003@netplex.aussie.org>
In article <mat### [at] netplexaussieorg>,
 Matthew Pace <mat### [at] lycoscom> wrote:

> Thanks a lot, that answered my questions, and fair enough on the 
> capitilization.  If anyone can, I'd just like to double-check the sin 
> and arcsin idea.

Well, what *was* that idea?

-- 
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.