POV-Ray : Newsgroups : povray.advanced-users : functions in povray Server Time
2 Nov 2024 13:21:03 EDT (-0400)
  functions in povray (Message 1 to 10 of 10)  
From: Eitan Tal
Subject: functions in povray
Date: 24 Sep 1999 17:39:03
Message: <37EBEF1F.3B11DF7E@netvision.net.il>
lets say I want to make a 3-d parabula (y = x^2)
or any function i can think about
what do I do?

plus, if I make a parabula (a = 1 b = 0 c = 0) , the focus point is
<1,1,1>

will the light be extremely powerfull at that point as it is on reality?


Post a reply to this message

From: Ken
Subject: Re: functions in povray
Date: 24 Sep 1999 19:10:21
Message: <37EC0488.97972465@pacbell.net>
Eitan Tal wrote:
> 
> lets say I want to make a 3-d parabula (y = x^2)
> or any function i can think about
> what do I do?
> 
> plus, if I make a parabula (a = 1 b = 0 c = 0) , the focus point is
> <1,1,1>
> 
> will the light be extremely powerfull at that point as it is on reality?

The official version of POV-Ray is not capable of directly handling these
types of operations.

-- 
Ken Tyler
1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Chris Huff
Subject: Re: functions in povray
Date: 24 Sep 1999 19:45:22
Message: <37EC0D73.FB8F6569@compuserve.com>
You would need to use the isosurface patch(included in the
Superpatch) to make the parabola directly as an object, I think. It
might be possible with the poly/quartic/quadric family of objects, but I
have never figured out how to use them.
    As for the focusing of the light, you would need UVPov for that. It
has a feature called photon mapping, which allows it to simulate the
refraction of light more completely than the official version(where
refractive objects only distort the image of things seen through them).
    As far as I know, the next version of the Superpatch will
incorporate most of UVPov, so you can use both of the patches together
in a scene.


Post a reply to this message

From: Eitan Tal
Subject: Re: functions in povray
Date: 24 Sep 1999 20:27:06
Message: <37EC167E.B2A8C0CC@netvision.net.il>
tell me more about that... I never heard of that

Chris Huff wrote:

>     You would need to use the isosurface patch(included in the
> Superpatch) to make the parabola directly as an object, I think. It
> might be possible with the poly/quartic/quadric family of objects, but I
> have never figured out how to use them.
>     As for the focusing of the light, you would need UVPov for that. It
> has a feature called photon mapping, which allows it to simulate the
> refraction of light more completely than the official version(where
> refractive objects only distort the image of things seen through them).
>     As far as I know, the next version of the Superpatch will
> incorporate most of UVPov, so you can use both of the patches together
> in a scene.


Post a reply to this message

From: Ken
Subject: Re: functions in povray
Date: 24 Sep 1999 20:34:13
Message: <37EC182B.7B17F76B@pacbell.net>
Eitan Tal wrote:
> 
> tell me more about that... I never heard of that

You can find out more about UVPov at:
http://nathan.kopp.com/patched.htm

And you can find out more about the ISO-Surface patch at:
http://www.public.usit.net/rsuzuki/e/povray/iso/index.html

Also see the equipotential surfaces patch at:
http://www.etl.go.jp/etl/linac/public/rsuzuki/e/povray/

-- 
Ken Tyler
1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Ron Parker
Subject: Re: functions in povray
Date: 24 Sep 1999 20:50:53
Message: <37ec18c1.80754958@news.povray.org>
On Fri, 24 Sep 1999 18:49:59 -0500, Chris Huff
<Chr### [at] compuservecom> wrote:

>    You would need to use the isosurface patch(included in the
>Superpatch) to make the parabola directly as an object, I think. It
>might be possible with the poly/quartic/quadric family of objects, but I
>have never figured out how to use them.

You can use any of those three to do a paraboloid, so you don't need
the superpatch.


Post a reply to this message

From: Eitan Tal
Subject: Re: functions in povray
Date: 25 Sep 1999 06:29:30
Message: <37ECA366.F83B9DE3@netvision.net.il>
Ron Parker wrote:

> On Fri, 24 Sep 1999 18:49:59 -0500, Chris Huff
> <Chr### [at] compuservecom> wrote:
>
> >    You would need to use the isosurface patch(included in the
> >Superpatch) to make the parabola directly as an object, I think. It
> >might be possible with the poly/quartic/quadric family of objects, but I
> >have never figured out how to use them.
>
> You can use any of those three to do a paraboloid, so you don't need
> the superpatch.

what is superpatch? please tell me


Post a reply to this message

From: Nieminen Juha
Subject: Re: functions in povray
Date: 27 Sep 1999 05:21:38
Message: <37ef3722@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
:> lets say I want to make a 3-d parabula (y = x^2)
:> or any function i can think about
:> what do I do?
:> 
:> plus, if I make a parabula (a = 1 b = 0 c = 0) , the focus point is
:> <1,1,1>
:> 
:> will the light be extremely powerfull at that point as it is on reality?

: The official version of POV-Ray is not capable of directly handling these
: types of operations.

  Not quite true. You can make a parabola with a quadric.

  On the other hand, you can make a macro that creates the surface with
some objects or triangles.

  If this is not enough, then we have to use the superpatch.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ron Parker
Subject: Re: functions in povray
Date: 27 Sep 1999 10:52:43
Message: <37ef84bb@news.povray.org>
On Sat, 25 Sep 1999 12:27:28 +0200, Eitan Tal wrote:
>
>
>Ron Parker wrote:
>
>> On Fri, 24 Sep 1999 18:49:59 -0500, Chris Huff
>> <Chr### [at] compuservecom> wrote:
>>
>> >    You would need to use the isosurface patch(included in the
>> >Superpatch) to make the parabola directly as an object, I think. It
>> >might be possible with the poly/quartic/quadric family of objects, but I
>> >have never figured out how to use them.
>>
>> You can use any of those three to do a paraboloid, so you don't need
>> the superpatch.
>
>what is superpatch? please tell me
>

From the documentation for the superpatch:

 What is the Superpatch?
          The Superpatch is an unofficial build of POV-Ray.
          Like many unofficial builds, it adds new features
          to POV.  However, the Superpatch is intended to
          fulfill a loftier goal than merely to offer new
          features.  The goal of the Superpatch is to offer
          as many features as possible in a single
          unofficial build, allowing you to use the new
          features from a diverse collection of unofficial
          builds in a single package.

           ...

          The Superpatch is an UNOFFICIAL build of POV-Ray
          and is not supported by the POV-Team.   

For source and binaries (Linux and Windows; there's also a link to 
an MS-DOS binary) see http://www2.fwi.com/~parkerr/superpatch


Post a reply to this message

From: Ken
Subject: Re: functions in povray
Date: 27 Sep 1999 18:58:49
Message: <37EFF645.AD07757C@pacbell.net>
Eitan Tal wrote:
> 
> lets say I want to make a 3-d parabula (y = x^2)
> or any function i can think about
> what do I do?

Try out these two new parameterazation include files:
http://www.phys.uu.nl/~dwijn/para3d.html
http://www.phys.uu.nl/~dwijn/para.html

-- 
Ken Tyler
1100+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

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