POV-Ray : Newsgroups : povray.binaries.images : Fresnel isosurface Server Time
18 Nov 2024 08:15:16 EST (-0500)
  Fresnel isosurface (Message 1 to 1 of 1)  
From: "Jérôme M. Berger"
Subject: Fresnel isosurface
Date: 12 Jun 2004 05:03:49
Message: <40cac6f5@news.povray.org>
In answer to the thread "Fresnel mirror" in p.general.

	The isosurface code is:

#declare Radius = 40 ;
#declare Steps = 100 ;
isosurface {
   function { x^2 + z^2 + (y + Radius - sqrt (floor (sqrt 
(x^2+z^2)*Steps/Radius)/(Steps/Radius)))^2 - Radius^2 }
   method 1
   contained_by { box { <-Radius, 0, -Radius>, <Radius, 5, Radius> } }

   pigment { color rgb <1.0, 1.0, 0.5> }
   finish { specular 1.0 roughness 0.2 }
}

		Jerome

-- 
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************


Post a reply to this message


Attachments:
Download 'fresnel.jpg' (54 KB)

Preview of image 'fresnel.jpg'
fresnel.jpg


 

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