POV-Ray : Newsgroups : povray.general : F_Mesh1() func producing cube instead of mesh? : F_Mesh1() func producing cube instead of mesh? Server Time
2 Aug 2024 14:19:42 EDT (-0400)
  F_Mesh1() func producing cube instead of mesh?  
From: Stefan Viljoen
Date: 25 Sep 2004 10:12:03
Message: <41557cb2@news.povray.org>
Hi all.

What am I doing wrong:

#declare meshfunc = function{f_mesh1(x,y,z,0.2,0.2,0.3,0.4,0.5)}

isosurface
{
        function {meshfunc(x,y,z)}
        threshold 1

        contained_by
        {
                box {-1,1}
        }         
        
        material{texture{pigment{color White}}}
}

All this does is produce a white cube, sized 1x1x1. I can put any values
from very small to large (0.01 to 10) into the function line, but it still
only produces a white cube, instead of a mesh.

What is wrong with my parameters or code structure here?

Thanks!
-- 
Stefan Viljoen
Software Support Technician
Polar Design Solutions


Post a reply to this message

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