|
|
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
|
|