POV-Ray : Newsgroups : povray.general : Sinusoidal surface using isosurface Server Time
28 Nov 2024 22:55:36 EST (-0500)
  Sinusoidal surface using isosurface (Message 1 to 4 of 4)  
From: Shark
Subject: Sinusoidal surface using isosurface
Date: 5 Aug 2006 00:55:00
Message: <web.44d4244834c14d1e6d346c1c0@news.povray.org>
Hi, I was wondering if anyone could describe a method of generating the
sinusoidal surface using isosurfaces. I've done it using the parametric
object, but it takes too long to render and has too many artifacts.

Thanks!


Post a reply to this message

From: Skip Talbot
Subject: Re: Sinusoidal surface using isosurface
Date: 5 Aug 2006 13:18:29
Message: <44d4d2e5$1@news.povray.org>
Shark wrote:
> Hi, I was wondering if anyone could describe a method of generating the
> sinusoidal surface using isosurfaces. I've done it using the parametric
> object, but it takes too long to render and has too many artifacts.
> 
> Thanks!
> 
> 
Have you seen this?
http://www.econym.demon.co.uk/isotut/param.htm

Skip


Post a reply to this message

From: Shark
Subject: Re: Sinusoidal surface using isosurface
Date: 6 Aug 2006 03:20:01
Message: <web.44d59716b9416f6f924c31540@news.povray.org>
Skip Talbot <Ski### [at] aolcom> wrote:
> Shark wrote:
> > Hi, I was wondering if anyone could describe a method of generating the
> > sinusoidal surface using isosurfaces. I've done it using the parametric
> > object, but it takes too long to render and has too many artifacts.
> >
> > Thanks!
> >
> >
> Have you seen this?
> http://www.econym.demon.co.uk/isotut/param.htm
>
> Skip

No I hadn't seen this. Thank you!


Post a reply to this message

From: Kenneth
Subject: Re: Sinusoidal surface using isosurface
Date: 8 Aug 2006 05:45:00
Message: <web.44d85c7bb9416f6fe22fe6bb0@news.povray.org>
"Shark" <nomail@nomail> wrote:
> Hi, I was wondering if anyone could describe a method of generating the
> sinusoidal surface using isosurfaces. I've done it using the parametric
> object, but it takes too long to render and has too many artifacts.
>
> Thanks!

If I understand your question correctly, here's a very simple method for
imposing sine waves onto a flat isosurface plate or box...

isosurface{
 function{
  y // basic function for a plane surface
  + sin(2*pi*z)*.04
                }
  max_gradient  3 // or whatever
  contained_by{box{<0,-.2,0>,<1,.2,1>}}
 }

This produces sine waves along the z-axis--here, imposing one complete wave
cycle along a unit POV length. The .04 multiplier is the height or
amplitude of the waves. (Since POV's trig functions normally work with
radians, I use 2*pi to convert that to degrees, as there are 2*pi radians
in 360-degrees. Then, I can multiply that to get a more "logical" increase
in sine-wave frequency.) Like this:

+sin(15*2*pi*z)*.04

for 15 complete wave cycles along a unit length.

Ken W.


Post a reply to this message

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