POV-Ray : Newsgroups : povray.binaries.images : HDRI with Terragen & MegaPOV1.1 Server Time
13 Nov 2024 01:46:50 EST (-0500)
  HDRI with Terragen & MegaPOV1.1 (Message 1 to 1 of 1)  
From: miyoken
Subject: HDRI with Terragen & MegaPOV1.1
Date: 27 Dec 2004 06:22:50
Message: <41cff08a@news.povray.org>
Suggestions and comments welcome.

/*
***Making of spherecal HDR image using Terragen images***miyoken

///Terragen//////
Set:
Camera position  x=3840m y=3840m
Fixed Height Above Surface=2m

Camera settings..->Zoom/Magnificatiopn=1
Image Size H=400 W=400
The 1st image: set Camera Orientation ;head=0 pitch=0 bank=0
The 2nd image: set Camera Orientation ;head=90 pitch=0 bank=0
The 3rd image: set Camera Orientation ;head=180 pitch=0 bank=0
The 4th image: set Camera Orientation ;head=270 pitch=0 bank=0
The 5th image: set Camera Orientation ;head=0 pitch=90 bank=0
The 6th image: set Camera Orientation ;head=0 pitch=-90 bank=0


///////////////////////
// -w1024 -h512 +fh -oterrahdr.hdr
*/
#version unofficial megapov 1.1;



global_settings {
  assumed_gamma 2.2
}

// ----------------------------------------
 camera {
      spherical
      location <0,0,0>
      angle 360, 180
      look_at <0,0,1>
    }

// ----------------------------------------

/////////////
polygon {
  4, 
  <-0.5, 0.5>,  <0.5, 0.5>, <0.5, -0.5>,<-0.5, -0.5>
pigment {
image_map {
  sys "ter1.bmp" ///The 1st image
  map_type 0       
  interpolate 2     
   once           
  } 
translate <-0.5,-0.5,0> 
}
finish {ambient 1}translate <0,0,0.5>}

/////////////
polygon {
  4, 
  <-0.5, 0.5>,  <0.5, 0.5>, <0.5, -0.5>,<-0.5, -0.5>
pigment {
image_map {
  sys "ter2.bmp" ///The 2nd image
  map_type 0      
  interpolate 2    
   once           
  } 
translate <-0.5,-0.5,0> 
}
finish {ambient 1}translate <0,0,0.5> rotate y*90}


/////////////
polygon {
  4, 
  <-0.5, 0.5>,  <0.5, 0.5>, <0.5, -0.5>,<-0.5, -0.5>
pigment {
image_map {
  sys "ter3.bmp" ///The 3rd image
  map_type 0       
  interpolate 2     
   once           
  } 
translate <-0.5,-0.5,0> // image_map
}
finish {ambient 1}translate <0,0,0.5> rotate y*180}

/////////////
polygon {
  4, 
  <-0.5, 0.5>,  <0.5, 0.5>, <0.5, -0.5>,<-0.5, -0.5>
pigment {
image_map {
  sys "ter4.bmp" ///The 4th image
  map_type 0       
  interpolate 2     
   once           
  } 
translate <-0.5,-0.5,0> 
}
finish {ambient 1}translate <0,0,0.5> rotate y*270}


/////////////
polygon {
  4, 
  <-0.5, 0.5>,  <0.5, 0.5>, <0.5, -0.5>,<-0.5, -0.5>
pigment {
image_map {
  sys "ter5.bmp" ///The 5th image
  map_type 0       
  interpolate 2     
   once           
  } 
translate <-0.5,-0.5,0> // image_map
}
finish {ambient 1}translate <0,0,0.5> rotate x*-90}

polygon {
  4, 
  <-0.5, 0.5>,  <0.5, 0.5>, <0.5, -0.5>,<-0.5, -0.5>
pigment {
image_map {
  sys "t6.bmp" ///The 6th image
  map_type 0       
  interpolate 2     
   once           
  } 
translate <-0.5,-0.5,0>
}
finish {ambient 1}translate <0,0,0.5> rotate x*90}

///EOF

Regards!
miyoken


Post a reply to this message


Attachments:
Download 'terrahdr.jpg' (8 KB) Download 'hdr_mapping_pp.jpg' (16 KB)

Preview of image 'terrahdr.jpg'
terrahdr.jpg

Preview of image 'hdr_mapping_pp.jpg'
hdr_mapping_pp.jpg


 

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