POV-Ray : Newsgroups : povray.general : Samuel Benge's Isosurface tutorial back online. : Re: Samuel Benge's Isosurface tutorial back online. Server Time
19 Nov 2024 03:31:03 EST (-0500)
  Re: Samuel Benge's Isosurface tutorial back online.  
From: Mike Williams
Date: 21 May 2002 14:45:50
Message: <Zbp9rDAKVp68Ewrq@econym.demon.co.uk>
Wasn't it Lieut_Data who wrote:
>New to isosurfaces here, great tutorial... one question, (in Povray 3.5),
>why does this source code render the side of the iso with a weird effect?
>(It seems dependant on the position of the camera... )
>
>#include "textures.inc"
>#include "colors.inc"
>
>camera {location <2, 2, -5> look_at <0, 0, 0>}
>
>light_source {<-5, 3, -6> 1}
>light_source {<5, 3, -6> 1}
>
>isosurface{
> function{ x+y-z }
> threshold 1
> contained_by{ box{ <-1,-1,-1>,<1,1,1> } }
>
> texture {pigment {rgb<1, .5, .3>}}
>}

Read the warning message that you get in the message window. It says
that you may have holes since you have set max_gradient too low. That
weird is the holes.

In MegaPOV you could often get away with using the default value for
max_gradient, but in POV 3.5 you nearly always need to set a higher
value.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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