POV-Ray : Newsgroups : povray.newusers : equations Server Time
5 Nov 2024 07:16:11 EST (-0500)
  equations (Message 1 to 7 of 7)  
From: Kurts
Subject: equations
Date: 26 Feb 2004 13:02:23
Message: <kurtzlepirate-2EFE3A.19022226022004@news.povray.org>
hi,

do you think i'ts possible to use this kind of equation to make pov object :

  x = f(u,v)
  y = g(u,v)
  z = h(u,v)

  and how ?

  thanks for your ideas.


Post a reply to this message

From: Christoph Hormann
Subject: Re: equations
Date: 26 Feb 2004 13:21:54
Message: <d1q1h1-udg.ln1@triton.imagico.de>
Kurts wrote:
> hi,
> 
> do you think i'ts possible to use this kind of equation to make pov object :
> 
>   x = f(u,v)
>   y = g(u,v)
>   z = h(u,v)
> 
>   and how ?

Looks like a parametric:

http://www.econym.demon.co.uk/isotut/parametric.htm

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: ingo
Subject: Re: equations
Date: 26 Feb 2004 13:31:51
Message: <Xns949BC6ADC2719seed7@news.povray.org>
in news:kurtzlepirate-2EFE3A.19022226022004@news.povray.org Kurts
wrote: 

> do you think i'ts possible to use this kind of equation to make pov
> object : 
> 
>   x = f(u,v)
>   y = g(u,v)
>   z = h(u,v)

Looks like a parametric object, section 6.5.5 from the docs, or as a macro  
http://members.home.nl/seedseven/#param

Ingo


Post a reply to this message

From: Mike Williams
Subject: Re: equations
Date: 26 Feb 2004 15:17:23
Message: <jbGwKAAnPlPAFw34@econym.demon.co.uk>
Wasn't it Kurts who wrote:
>hi,
>
>do you think i'ts possible to use this kind of equation to make pov object :
>
>  x = f(u,v)
>  y = g(u,v)
>  z = h(u,v)
>
>  and how ?
>
>  thanks for your ideas.

Those are called parametric equations, and the relevant section of the
documentation is "6.5.5 Parametric Object". It may help to have looked
at isosurfaces before studying this section.

See also the parametric page of my isosurface tutorial
<http://www.econym.demon.co.uk/isotut/parametric.htm>
and the page on Ingo Janssen's "param.inc" which uses a similar syntax
to generate a mesh2 object of the same shape.
<http://www.econym.demon.co.uk/isotut/param.htm>

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Kurts
Subject: Re: equations
Date: 27 Feb 2004 13:53:02
Message: <kurtzlepirate-C31D4E.19530227022004@news.povray.org>
thanks mike et christoph
i'will explore this ways


Post a reply to this message

From: Kurts
Subject: Re: equations
Date: 27 Feb 2004 13:54:09
Message: <kurtzlepirate-BE8A5F.19540927022004@news.povray.org>
In article <Xns949BC6ADC2719seed7@news.povray.org>, ingo <ing### [at] tagpovrayorg> 
wrote:

> in news:kurtzlepirate-2EFE3A.19022226022004@news.povray.org Kurts
> wrote: 
> 
> > do you think i'ts possible to use this kind of equation to make pov
> > object : 
> > 
> >   x = f(u,v)
> >   y = g(u,v)
> >   z = h(u,v)
> 
> Looks like a parametric object, section 6.5.5 from the docs, or as a macro  
> http://members.home.nl/seedseven/#param
> 
> Ingo

thanks ;-)


Post a reply to this message

From: David Wallace
Subject: Re: equations
Date: 1 Apr 2004 04:18:49
Message: <406bde79@news.povray.org>
"Kurts" <kur### [at] yahoofr> wrote in message
news:kurtzlepirate-2EFE3A.19022226022004@news.povray.org...
> hi,
>
> do you think i'ts possible to use this kind of equation to make pov object
:
>
>   x = f(u,v)
>   y = g(u,v)
>   z = h(u,v)
>
>   and how ?
>
>   thanks for your ideas.

I would advise against using separate functions or macros to create the
object, however.  A consolidated macro that creates V = F(u,v), where V is a
vector and F a vector function, is actually easier conceptually.  You can
still calculate all of the components individually within the macro, but you
can also bring vector math to bear, in effect wrapping an object around a
spline if needed.


Post a reply to this message

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