POV-Ray : Newsgroups : povray.general : 3d functions Server Time
1 Nov 2024 20:23:22 EDT (-0400)
  3d functions (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Tom Melly
Subject: 3d functions
Date: 12 May 2000 11:18:56
Message: <391c20e0@news.povray.org>
I'm looking for 3d functions and images of the results of those functions -
anyone know a good link?

The sort of thing I'm after is z = x^2 + y^2


Post a reply to this message

From: Simen Kvaal
Subject: Re: 3d functions
Date: 12 May 2000 17:42:59
Message: <391c7ae3$1@news.povray.org>
Try http://mathworld.wolfram.com/topics/Surfaces.html

It's quite good, and also offers some kewl Java-applets.

Simen.

Tom Melly skrev i meldingen <391c20e0@news.povray.org>...
>I'm looking for 3d functions and images of the results of those functions -
>anyone know a good link?
>
>The sort of thing I'm after is z = x^2 + y^2
>
>


Post a reply to this message

From: Bill DeWitt
Subject: Re: 3d functions
Date: 13 May 2000 08:12:48
Message: <391d46c0@news.povray.org>
"Tom Melly" <tom### [at] tomandluf9couk> wrote in message
news:391c20e0@news.povray.org...
> I'm looking for 3d functions and images of the results of those
functions -
> anyone know a good link?
>
> The sort of thing I'm after is z = x^2 + y^2
>
>

    I can't find the link or discussion now, but I remember that Gail was
talking to me about how to convert some formulas from a page into isosurface
formats. Maybe you can find the discussion and the link is there...


Post a reply to this message

From: Pabs
Subject: Re: 3d functions
Date: 14 May 2000 22:50:29
Message: <391F661A.190894C5@hotmail.com>
Tom Melly wrote:

> I'm looking for 3d functions and images of the results of those functions -
> anyone know a good link?
>
> The sort of thing I'm after is z = x^2 + y^2

If you want to render those functions you might try the parametric surfaces
available in MegaPOV
-something like
parametric{
function u ,  v, u^2+ v^2
0 , 1
-1,1
}


Post a reply to this message

From: Tom Melly
Subject: Re: 3d functions
Date: 15 May 2000 04:58:29
Message: <391fbc35$1@news.povray.org>
"Pabs" <pab### [at] hotmailcom> wrote in message
news:391F661A.190894C5@hotmail.com...
>
> If you want to render those functions you might try the parametric
surfaces
> available in MegaPOV
> -something like
> parametric{
> function u ,  v, u^2+ v^2
> 0 , 1
> -1,1
> }
>

Sounds good and thanks for the help everyone - I was playing with using
formulas to generate the y value for a bicubic_patch -

for example

#macro ReturnY(nNum, rNum)
  #local nTemp1 = (nNum/200)+1;
  #local rTemp1 = (rNum/200)+0;
  #local loopCount = 0;
  #while (loopCount < 5)
    #local nTemp2 = 2*(nTemp1 * rTemp1);
    #local rTemp2 = (rTemp1 * rTemp1) - (nTemp1 * nTemp1);
    #if (rTemp2 > 1)
      #local rTemp2 = rTemp2 - 0.5;
    #end
    #local nTemp1 = nTemp2;
    #local rTemp1 = rTemp2;
    #local loopCount = loopCount + 1;
  #end
  #declare yResult = rTemp1 * 10; // this is the final result
#end

#macro MakePatch(xOffset, zOffset, wavePigment)
  object {
    bicubic_patch { type 1 flatness 0.01 u_steps 3 v_steps 3,
      #local zPos = 0;
      #while (zPos < 4)
        #local xPos=0;
        #while (xPos<4)
          ReturnY(zPos+zOffset, xPos+xOffset)
//          #debug concat("Y Value is:",str(yResult,5,25),"\n")
          <xPos+xOffset, yResult, zPos+zOffset>
          #local xPos = xPos + 1;
        #end
        #local zPos = zPos + 1;
      #end
      pigment{wavePigment}
      finish{ambient 0.5}
    }
  }
#end


Post a reply to this message

From: Chris Huff
Subject: Re: 3d functions
Date: 15 May 2000 07:52:18
Message: <chrishuff_99-B0DD8F.06554715052000@news.povray.org>
In article <391F661A.190894C5@hotmail.com>, Pabs <pab### [at] hotmailcom> 
wrote:

> If you want to render those functions you might try the parametric 
> surfaces available in MegaPOV

Actually, for this particular one, I would use the isosurface.
isosurface {
    function {x^2 + y^2 - z}
    threshold 0
    ...
}
Though there are a lot of equations only suitable for parametric shapes.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Gail Shaw
Subject: Re: 3d functions
Date: 15 May 2000 10:26:58
Message: <39200932@news.povray.org>
Bill DeWitt wrote in message <391d46c0@news.povray.org>...
>
>"Tom Melly" <tom### [at] tomandluf9couk> wrote in message
>news:391c20e0@news.povray.org...
>> I'm looking for 3d functions and images of the results of those
>functions -
>> anyone know a good link?
>>
>> The sort of thing I'm after is z = x^2 + y^2
>>
>>
>
>    I can't find the link or discussion now, but I remember that Gail was
>talking to me about how to convert some formulas from a page into
isosurface
>formats. Maybe you can find the discussion and the link is there...
>


Unfortunatly that discussion was in the middle of March in p.o-t (subject
French curves)
so it's long gone.

try http://www.astro.virginia.edu/~eww6n/math/math0.html    (CRC Concise
Encyclopedia of Mathematics)
or http://www.kampsax.dtu.dk/~ra/polyhedra/polyhedra.html

Maybe Ken can help.

Gail
********************************************************************
* gsh### [at] monotixcoza              * Reality.dat not found         *
* http://www.rucus.ru.ac.za/~gail/ * Attempting to reboot universe *
********************************************************************
* The best way to accelerate Windows NT is at 9.8 m/s^2      *
********************************************************************


Post a reply to this message

From: Alexander Enzmann
Subject: Re: 3d functions
Date: 15 May 2000 11:23:57
Message: <392017A4.A16E98B6@mitre.org>
Pabs wrote:
> 
> Tom Melly wrote:
> 
> > I'm looking for 3d functions and images of the results of those functions -
> > anyone know a good link?
> >
> > The sort of thing I'm after is z = x^2 + y^2
> 
> If you want to render those functions you might try the parametric surfaces
> available in MegaPOV
> -something like
> parametric{
> function u ,  v, u^2+ v^2
> 0 , 1
> -1,1
> }

Why on earth would you want to use an Isosurface when the guy asked for
a paraboloid?  The built in quadrics will suffice (and be a tad faster
to boot).

Xander


Post a reply to this message

From: Ron Parker
Subject: Re: 3d functions
Date: 15 May 2000 12:37:41
Message: <slrn8i0al2.3oh.ron.parker@linux.parkerr.fwi.com>
On Mon, 15 May 2000 10:33:09 +0200, Gail Shaw wrote:
>
>Unfortunatly that discussion was in the middle of March in p.o-t (subject
>French curves)
>so it's long gone.

Not necessarily.  I have a complete archive of that group, starting
sometime around March 7.  If you'd like me to mail it or repost it,
just say the word.

Obviously, for copyright and other reasons, I won't mail it or repost it
for just anyone; Gail will have to approve.

-- 
Ron Parker   http://www2.fwi.com/~parkerr/traces.html
These are my opinions.  I do NOT speak for the POV-Team.


Post a reply to this message

From: Peter Popov
Subject: Re: 3d functions
Date: 15 May 2000 16:58:54
Message: <5sl0isgrmnb7ei0i2mcofqse94ef253slo@4ax.com>
On Mon, 15 May 2000 10:33:09 +0200, "Gail Shaw" <gsh### [at] monotixcoza>
wrote:

>Unfortunatly that discussion was in the middle of March in p.o-t (subject
>French curves)
>so it's long gone.

I have a complete archive of the messages on this server and I found
the posts in question. Ron has one, too, but I don't know if he
started doing his in time to have this thread (but I guess he'll reply
if he does anyway :) ). Drop me a line if you want it reposted.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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