POV-Ray : Newsgroups : povray.binaries.images : new isofun Server Time
17 Aug 2024 16:12:43 EDT (-0400)
  new isofun (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Bill DeWitt
Subject: Re: new isofun
Date: 5 Oct 2001 16:04:04
Message: <3bbe1234$1@news.povray.org>
"Ruy" <ruy### [at] hipernetcombr> wrote :
>
> Anyway, if it is a local store I also doubt they would be willing to
engage
> the paperwork hassle that the Brazilian government would unleash at hem
like
> a pack of rabid dobermanns...

    Yeah, I hear that shipping and import would make the price back up to
the $2000-3000 range.


Post a reply to this message

From: R  Suzuki
Subject: Re: new isofun
Date: 5 Oct 2001 20:09:28
Message: <3bbe4bb8@news.povray.org>
Chaps wrote:
>It took me about 20 hours to render the following code.

Nice function!
Try following code.

R. Suzuki
----------------------------------
#include "colors.inc"
#include "metals.inc"
#include "functions.inc"

global_settings{max_trace_level 4}

light_source
{
  <10, 10, 10>
  color rgb 1.0
}

light_source
{
  <-5, -5, -10>
  color rgb 1.0
}


camera
{
  location  <0.0 , 5.0 ,-7.0>
  look_at   <0.0 , 0.0 , 0.0>
  right     x*image_width/image_height
}


isosurface {
        function {

max(f_spiral(sin(3*atan2(z,x)),-3+f_r(x,y,z),y,0.3,0.1,3,1,1,1.5),
                   (-0.2+abs(-3.0+f_r(x,y,z)))*1.5)}
        contained_by { sphere { 0, 3.2 } }
        //threshold 0.0
        accuracy 0.001
        max_gradient 1.5
//        evaluate 1, 1.2, 0.99
        max_trace 1

        texture {
                bozo
                texture_map {
                        [0     T_Gold_3C]
                        [0.25  T_Gold_3E]
                        [0.5   T_Chrome_3E]
                        [0.75  T_Chrome_3E]
                        [1     T_Gold_3C]
                }
        }
}


Post a reply to this message

From: Ruy
Subject: Re: new isofun
Date: 8 Oct 2001 13:03:23
Message: <3bc1dc5b$1@news.povray.org>
"R. Suzuki" <r-s### [at] aistgojp> escreveu na mensagem
news:3bbe4bb8@news.povray.org...
> Nice function!
> Try following code.
>
> R. Suzuki

<Snip>

I just did, it too the same Celeron 600MHz 128MB RAM I use at work, at
1024x768 AA0.3, just 2h14m53s, as opposed to 7h8m27s I got with the previous
version of the equation, or only 31.5% of those 7+ hours.

I haven't taken the time to study both equations, so excuse me for being
lazy and asking the question: how come?

Ruy


Post a reply to this message

From: R  Suzuki
Subject: Re: new isofun
Date: 10 Oct 2001 05:40:52
Message: <3bc417a4@news.povray.org>
"Ruy" <ruy### [at] hipernetcombr> wrote in message
news:3bc1dc5b$1@news.povray.org...
> I just did, it too the same Celeron 600MHz 128MB RAM I use at work, at
> 1024x768 AA0.3, just 2h14m53s, as opposed to 7h8m27s I got with the
previous
> version of the equation, or only 31.5% of those 7+ hours.
>
> I haven't taken the time to study both equations, so excuse me for being
> lazy and asking the question: how come?

Sorry for the late reply.

The best function for "isosurface" (the method 2 in MEGA POV) is a function
which
has constant gradient, for example,  f(x,y,z)=abs(x),
f(x,y,z)=sqrt(x^2+y^2+z^2), etc.
 (The function in the POV help file (6.5.4.2) is not the best function for
"isosurface".)

In some cases, you can increase the rendering speed by combining such good
functions.


R. Suzuki


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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