POV-Ray : Newsgroups : povray.beta-test : POV-Ray v3.8.0-alpha.9861167 : Re: POV-Ray v3.8.0-alpha.9861167 Server Time
12 Jul 2025 12:36:49 EDT (-0400)
  Re: POV-Ray v3.8.0-alpha.9861167  
From: Alain
Date: 5 Oct 2018 14:33:13
Message: <5bb7ae69$1@news.povray.org>
Le 18-10-05 à 11:08, clipka a écrit :
> Am 04.10.2018 um 17:53 schrieb Alain:
>> I no longer see the post render info when using isosurfaces with
>> improper max_gradient.
> 
> Can you provide a sample scene, and what exactly you'd expect?
> 

#version 3.8;
global_settings{assumed_gamma 1}
#declare tip = function(Vert) { sqrt(6.25 - pow(Vert,2)) - 1.5 }
#declare rad = function(H) {(H*H+1) / max(H,1e-6) / 2}
#declare hgt = function(x,R,H) { sqrt(pow(R,2) - pow(x,2)) + H - R }
#declare hght= function(x,H) { hgt(x, rad(H), H) }
#declare height=function(x,y) { hght(x, tip(y+1)) }

#declare OBJ=isosurface {
     function { z * (z - hght(x, tip(y+1))) }
     threshold 0
     //max_gradient 9 // the original
     max_gradient 1 // for this test
     contained_by {box {<-1,-1,0>, <1,1,1>}}
   }

object{OBJ pigment{rgb <1,0.5,0.3>}}
camera{location -7*z look_at 0}
light_source{<25,25,-25> rgb 1}

I expected some message about the max_gradient found to be around 9 but 
set at 1.0.
The resulting image show obvious holes.

But, I don't get any message after the render is complete.


Alain


Post a reply to this message

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