POV-Ray : Newsgroups : povray.unofficial.patches : alternate coordinate systems in iso.s. Server Time
2 Sep 2024 18:19:56 EDT (-0400)
  alternate coordinate systems in iso.s. (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: Sigmund Kyrre Aas
Subject: alternate coordinate systems in iso.s.
Date: 19 Jan 2000 06:03:41
Message: <38859813.75ED1AFD@stud.ntnu.no>
Has anybody thought of adding spherical or toroidal coordinate systems
to the isosurface patch?
Just an idea.

sig.


Post a reply to this message

From: Ron Parker
Subject: Re: alternate coordinate systems in iso.s.
Date: 19 Jan 2000 09:01:42
Message: <3885c3c6@news.povray.org>
On Wed, 19 Jan 2000 11:55:15 +0100, Sigmund Kyrre Aas wrote:
>Has anybody thought of adding spherical or toroidal coordinate systems
>to the isosurface patch?
>Just an idea.

Spherical coordinates are already added, sort of.  As far as I know there
aren't any usable toroidal coordinate systems, because every point in 
space could be defined in two or more unique ways in such a system.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

From: TonyB
Subject: Re: alternate coordinate systems in iso.s.
Date: 19 Jan 2000 09:08:16
Message: <3885c550@news.povray.org>
This just got me thinking. Are the unnofficial patches using the 3.0
isosurface stuff updated manually, or are you using the one from here:
http://www.public.usit.net/rsuzuki/e/povray/iso/ ?

Just curious...


Post a reply to this message

From: Chris Huff
Subject: Re: alternate coordinate systems in iso.s.
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

From: Ron Parker
Subject: Re: alternate coordinate systems in iso.s.
Date: 19 Jan 2000 09:23:22
Message: <slrn88bi7i.v8.ron.parker@ron.gwmicro.com>
On Wed, 19 Jan 2000 09:09:01 -0500, TonyB wrote:
>This just got me thinking. Are the unnofficial patches using the 3.0
>isosurface stuff updated manually, or are you using the one from here:
>http://www.public.usit.net/rsuzuki/e/povray/iso/ ?

I updated it with the changes from that source, but it's mostly the
old 3.0 stuff.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

From: Robert Dawson
Subject: Re: alternate coordinate systems in iso.s.
Date: 19 Jan 2000 10:51:21
Message: <3885dd79@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote in message
news:3885c3c6@news.povray.org...
> On Wed, 19 Jan 2000 11:55:15 +0100, Sigmund Kyrre Aas wrote:
> >Has anybody thought of adding spherical or toroidal coordinate systems
> >to the isosurface patch?
> >Just an idea.
>
> Spherical coordinates are already added, sort of.  As far as I know there
> aren't any usable toroidal coordinate systems, because every point in
> space could be defined in two or more unique ways in such a system.

There are, thought they are odd.

    x =  sinh v cos phi /(cosh v -cos u)
    y =  sinh v sin phi /(cosh v -cos u)
    z =  sin u /(cosh v -cos u)

    The v = const. curves are nested tori filling all of space except for a
circle and its axis of symmetry.  u=const. are the spheres containing that
circle; and phi is the longitude, with phi=const. being halfplanes emanating
from the axis. The coordinate surfaces at any point are all orthogonal.

    Source: Schaum's math tables.

    Why anybody would want them for raytracing I don't know, but I'm sure
somebody will <grin>.

    -Robert Dawson


Post a reply to this message

From: Sigmund Kyrre Aas
Subject: Re: alternate coordinate systems in iso.s.
Date: 19 Jan 2000 13:41:16
Message: <38860551.5005CC99@stud.ntnu.no>
I was just playing around in Maple, and made some shapes there I'd like
to use in pov. f.x:

plot3d((1.2)^x * sin(y),x=-8..Pi,y=0..Pi,coords=spherical);
(snail's house)

plot3d(y,x=0..3*Pi,y=0..3*Pi,coords=toroidal,scaling=constrained);
(ufo)

I can post images in p.b.i if you are interested.

I've found several conversion functions in my "Matematische
Formelsamlung" by Rottmann, fx for torus:
x=l*cos(phi)*sinh(ksi)/(cosh(ksi)-cos(eta))
y=l*sinh(ksi)/(cosh(ksi)-cos(eta))
z=l*sin(eta)/(cosh(ksi)-cos(eta))
I'm not sure what l is, and certainly not how to do the #declare
function {thing}.

As for the built in functions, you can only pass numbers to those, not
functions. I don't see how I can use them here.

sig.

Chris Huff wrote:
> 
> 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

From: SamuelT 
Subject: Re: alternate coordinate systems in iso.s.
Date: 19 Jan 2000 23:16:36
Message: <38868E41.19938684@aol.com>
Do you mean like being able to rotate functions? Such as: (x^8+y^8+z^8
rotate y*45)

If so, that would be too cool. Such a thing would be a huge help.

Sigmund Kyrre Aas wrote:

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

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial:
http://members.aol.com/stbenge


Post a reply to this message

From: Philippe Debar
Subject: Re: alternate coordinate systems in iso.s.
Date: 20 Jan 2000 03:13:37
Message: <3886c3b1@news.povray.org>
Sigmund Kyrre Aas wrote:
> Has anybody thought of adding spherical or toroidal coordinate systems
> to the isosurface patch?
> Just an idea.

Funny you should mention that, I thought about suggesting that feature
almost at the same time as your post...

:-)

Philippe


Post a reply to this message

From:
Subject: Re: alternate coordinate systems in iso.s.
Date: 20 Jan 2000 05:47:28
Message: <3886E7B7.6415187A@stud.ntnu.no>
No, I don't mean that (see post from yesterday), and I don't quite see
the urge for such a feature. Wouldn't this do the trick?:
isosurface {
   function {}
   rotate y*45
}

ps Just visited your isotutorial, and it looks very promising! 

sig.


SamuelT. wrote:
> 
> Do you mean like being able to rotate functions? Such as: (x^8+y^8+z^8
> rotate y*45)
> 
> If so, that would be too cool. Such a thing would be a huge help.
> 
> Sigmund Kyrre Aas wrote:
> 
> > Has anybody thought of adding spherical or toroidal coordinate systems
> > to the isosurface patch?
> > Just an idea.
> >
> > sig.
> 
> --
> Samuel Benge
> 
> E-Mail: STB### [at] aolcom
> 
> Visit the still unfinished isosurface tutorial:
> http://members.aol.com/stbenge

-- 
Sigmund Kyrre Aas 
Trondheim, Norway


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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