POV-Ray : Newsgroups : povray.text.scene-files : New to isosuraces - whats wrong with my f_mesh1? : Re: New to isosuraces - whats wrong with my f_mesh1? Server Time
28 Sep 2024 07:41:41 EDT (-0400)
  Re: New to isosuraces - whats wrong with my f_mesh1?  
From: povray
Date: 25 Sep 2004 20:09:35
Message: <8bsbl05ma48hhi9ac1aulo7274dgfikliq@4ax.com>
On Fri, 24 Sep 2004 21:54:47 +0200, Stefan Viljoen
<ryl### [at] intekomcoza> wrote:

>Hi guys
>
>What am I doing wrong with this code:
>
>#include "functions.inc"
>
>camera
>{
>        <0,0,5>
>        look_at <0,0,0>
>}
>
>isosurface
>{
>        function {f_mesh1(1,1,1,0.1,0.2,0.05,0.15,0.15)}
>        threshold 1  
>
>        contained_by
>        {
>                box {-1,1}
>        }         
>        
>        material{texture{pigment{color White}}}
>}
>
>All this code does is to produce a solid white box, sized -1 1 (obviously).
>Changing the values sent to f_mesh1 has no effect - from very small to very
>large still just produce a solid white box.
>
>How can I get a mesh with f_mesh1? What am I doing wrong? I've never used
>isosurfaces before.
>
>Thanks!

hmm: I never used an f-mesh .  Gonna have to try that.
Anyway: I get that problem all the time.  Try changing
the threshold value (pick values between 0.0 and 1.0).
So like, try 0.0, then 0.1, then 0.2, etc.
That usualy fixes it for me.


Post a reply to this message

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