POV-Ray : Newsgroups : povray.general : new free HDRI : Re: new free HDRI Server Time
2 Aug 2024 02:25:13 EDT (-0400)
  Re: new free HDRI  
From: Fredrik Eriksson
Date: 12 May 2005 11:33:55
Message: <op.sqn5m8cvcs6ysw@frogeater.bredbandsbolaget.se>
On Thu, 12 May 2005 15:26:23 +0200, Warp <war### [at] tagpovrayorg> wrote:
>
>   Seems like my cause is hopeless.


If all you need is to convert HDR images to PNG16, the following script  
will do it. Output with +FN16 and the proper resolution (and replace the  
filename of course). It's a little slow, but at least it works under  
Windows.




#version unofficial MegaPov 1.1;


global_settings {
	assumed_gamma 1.0
}


camera {
	orthographic
	location <0, 0, 10>
	sky y
	up y
	right x
	direction -z
}



plane {
	z, 0
	texture {
		pigment {
			image_map {
				hdr "grace_probe.hdr"
				once
			}
			translate <-0.5, -0.5, 0>
		}
		finish {
			diffuse 0
			ambient 1
		}
	}
}



-- 
FE


Post a reply to this message

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