POV-Ray : Newsgroups : povray.advanced-users : Isosurface threshold 0..1 : Isosurface threshold 0..1 Server Time
25 Apr 2024 11:49:56 EDT (-0400)
  Isosurface threshold 0..1  
From: Mike Horvath
Date: 23 Nov 2016 16:50:06
Message: <58360f0e$1@news.povray.org>
I have three functions that return values between 0 and 1 (inclusive). 
What is the proper threshold to use with them? Here is an example of one 
such function.

isosurface
{
	function
	{
		convertLCH2RGBb2(y*100,sqrt(x*x+z*z)*100,atan2d(x,z))
	}
	contained_by
	{
		box {<-1,0,-1>,<+1,+1,+1>}
	}
	threshold	1
	accuracy	0.01
//	max_gradient	1.1
//	[evaluate P0, P1, P2]
//	open
//	[max_trace INTEGER] | [all_intersections]
	pigment {srgb 1}
}


Post a reply to this message

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