POV-Ray : Newsgroups : povray.general : MLPOV, HDRI and heightfields Server Time
5 Nov 2024 22:24:11 EST (-0500)
  MLPOV, HDRI and heightfields (Message 1 to 3 of 3)  
From: Jim
Subject: MLPOV, HDRI and heightfields
Date: 28 Dec 2002 17:55:03
Message: <web.3e0e2a098ed4c41472bb34080@news.povray.org>
Hi,

   I wrote a simple scene for a heightfield that works in Povray but
when run in MLPov, has a problem opening the .hdr file. The sample
MLPov scenes work so I know both installations are correct and
working together.
   Any ideas?

                                    Jim


===================================================================
#version unofficial mlpov 0.8;
#include "colors.inc"
camera{
    orthographic
    location <0, .275, 0>
    right<3.65, 0, 0>
    up <0, 3.65, 0>
    look_at 0
    angle 0
  }

global_settings {
  radiosity {
    pretrace_start 0.08           // start pretrace at this size
    pretrace_end   0.04           // end pretrace at this size
    count 50                      // higher -> higher quality (1..1600) [35]
    nearest_count 5               // higher -> higher quality (1..10) [5]
    error_bound 1.8               // higher -> smoother, less accurate [1.8]
    recursion_limit 3             // how much interreflections are
calculated (1..5+) [3]
    low_error_factor .5           // reduce error_bound during last pretrace
step
    gray_threshold 0.0            // increase for weakening colors (0..1)
[0]
    minimum_reuse 0.015           // reuse of old radiosity samples [0.015]
    brightness 1                  // brightness of radiosity effects (0..1)
[1]

    adc_bailout 0.01/2
    normal on                     // take surface normals into account [off]
  }
}

  sphere {
  0,200
  pigment{ image_map{ hdr "campus_probe.hdr" once interpolate 2 map_type 7}
}
  finish { ambient 1.0 diffuse 0 }
  hollow
}

  light_source { < -300, 300, 1>
  color rgb < 1.8, 1.8, 1.8 >
  parallel
  point_at <0,0,0>

 }
  height_field {
    tiff  "D:\Eliz\rgbimg1-vf.tif"
  pigment {
     gradient y
     color_map {
        [ .0  color rgb< 255,255,255> ]
        [ .3  color rgb< 255,255,201> ]
        [ .5  color rgb< 247,208,169> ]
        [ .7  color rgb< 155,155,101> ]
               }
          }
    translate <-.5, -.5, -.5>
    scale < 1, .0333, 1>
    rotate < 0, 0, 0>
    finish { ambient .00 diffuse 0.003 }
  }   /* end heightfield */

===================================================================


Post a reply to this message

From: JRG
Subject: Re: MLPOV, HDRI and heightfields
Date: 28 Dec 2002 18:10:03
Message: <web.3e0e2e897dd8d162978071460@news.povray.org>
Jim wrote:
>Hi,
>
>   I wrote a simple scene for a heightfield that works in Povray but
>when run in MLPov, has a problem opening the .hdr file. The sample
>MLPov scenes work so I know both installations are correct and
>working together.
>   Any ideas?

Silly question: you got the hdr file in the same folder as your scene?
I personally put all the probes I got into the include folder.

--
Jonathan.


Post a reply to this message

From: Jim
Subject: Re: MLPOV, HDRI and heightfields
Date: 28 Dec 2002 20:00:05
Message: <web.3e0e48b27dd8d162272352050@news.povray.org>
Hi Jonathan,


   Not so silly a question. Thanks for the tip.

                                Jim,
                               Happy holidays.


Post a reply to this message

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