POV-Ray : Newsgroups : povray.newusers : any Forrier Transform programs? Server Time
24 Dec 2024 14:01:30 EST (-0500)
  any Forrier Transform programs? (Message 1 to 5 of 5)  
From: lawhite
Subject: any Forrier Transform programs?
Date: 8 Oct 1998 05:04:42
Message: <361A6605.D1@tstonramp.com>
im new,

anyone know of any programs that let you enter an equation
ex:  y=(x^2)(z^3)
to come up with a figure that POV could use.

i want to work with numbers as opposed to functions like
"sphere()"

Thank You for your time,
Chris
-- 

-- 


Post a reply to this message

From: Ken
Subject: Re: any Forrier Transform programs?
Date: 8 Oct 1998 09:40:20
Message: <361CB291.DD3AC717@pacbell.net>
law### [at] tstonrampcom wrote:

> im new,
>
> anyone know of any programs that let you enter an equation
> ex:  y=(x^2)(z^3)
> to come up with a figure that POV could use.
>
> i want to work with numbers as opposed to functions like
> "sphere()"
>
> Thank You for your time,
> Chris

If stuff like this ---

/*
#declare TORUS=
  function x^4+2*sqr(x)*(sqr(y)+sqr(z)-P)+y^4+2*sqr(y)*(sqr(z)+M)+
               z^4-2*sqr(z)*P+MM
*/
implicit {
function exp(-(x^4+2*sqr(x)*(sqr(y)+sqr(z)-P)+y^4+2*sqr(y)*(sqr(z)+M)+
z^4-2*sqr(z)*P+MM)) +
 exp(-(x^4+2*sqr(x)*(sqr(z)+sqr(y)-P)+z^4+2*sqr(z)*(sqr(y)+M)+
 y^4-2*sqr(y)*P+MM)) +
exp(-(y^4+2*sqr(y)*(sqr(x)+sqr(z)-P)+x^4+2*sqr(x)*(sqr(z)+M)+
 z^4-2*sqr(z)*P+MM)) - .7

<-Ro-2*Ri,-Ro-2*Ri,-Ro-2*Ri>, <Ro+2*Ri,Ro+2*Ri,Ro+2*Ri>
accuracy .01
pigment { color rgb <0,1,1>} }


--- is what you are after then take a look at the following site.
It utilizes a patched version of Pov and more details are availble
there.

http://atrey.karlin.mff.cuni.cz/~0rfelyus/povray.html

Ken Tyler


Post a reply to this message


Attachments:
Download 'us-ascii' (2 KB)

From: Ron Parker
Subject: Re: any Forrier Transform programs?
Date: 8 Oct 1998 10:58:53
Message: <361cc51d.0@news.povray.org>
On Thu, 08 Oct 1998 05:39:46 -0700, Ken <tyl### [at] pacbellnet> wrote:
>http://atrey.karlin.mff.cuni.cz/~0rfelyus/povray.html

There's an updated version of this, the famous Isosurface patch, at

http://www.public.usit.net/rsuzuki/e/povray/iso/index.html

This patch currently only works on POV-Ray 3.02.  I'm working on 
converting it and about a dozen other patches to work on 3.1, but
I won't be done for at least a couple of weeks.


Post a reply to this message

From: Mike
Subject: Re: any Forrier Transform programs?
Date: 9 Oct 1998 13:35:33
Message: <361E47EE.17D42476@aol.com>
A couple weeks isn't all that long.  As I understand it, the patch had an
option for using dlls to add functions, but I could never figure it out.
Any chance you could give an explaination for how to do this when you
finally get the iso-surface patch ready?  That is, if it wouldn't be too
much work.

-Mike

Ron Parker wrote:

> There's an updated version of this, the famous Isosurface patch, at
>
> http://www.public.usit.net/rsuzuki/e/povray/iso/index.html
>
> This patch currently only works on POV-Ray 3.02.  I'm working on
> converting it and about a dozen other patches to work on 3.1, but
> I won't be done for at least a couple of weeks.


Post a reply to this message

From: Ron Parker
Subject: Re: any Forrier Transform programs?
Date: 9 Oct 1998 14:10:04
Message: <361e436c.0@news.povray.org>
On Fri, 09 Oct 1998 12:29:18 -0500, Mike <Ama### [at] aolcom> wrote:
>A couple weeks isn't all that long.  As I understand it, the patch had an
>option for using dlls to add functions, but I could never figure it out.
>Any chance you could give an explaination for how to do this when you
>finally get the iso-surface patch ready?  That is, if it wouldn't be too
>much work.

I'll give it a shot.  I'm not the author of the patch, but I have
permission from the various authors of it to include it in my code.
So I don't have much more inside information on how it's supposed
to work than you do, other than what I've divined from reading the 
source code.  Nevertheless, I'm committed to writing good 
documentation for it, so I'll do what I can do document the 
'library' keyword.


Post a reply to this message

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