POV-Ray : Newsgroups : povray.binaries.images : HF problems : Re: HF problems Server Time
4 Nov 2024 13:44:39 EST (-0500)
  Re: HF problems  
From: Lewis
Date: 15 Aug 2000 08:58:40
Message: <39994B78.B3D6F7BA@ss.com>
I'm just trying that right now, but for some reason the scene is
completely black.
I have absolutely no idea why. It's a time like this when I make stupid
mistakes which stall me for hours, when I forget something very, very,
simple.
Help!
global_settings
{
  hf_gray_16     
  ini_option "+FT"
}

// ----------------------------------------
camera
{
	orthographic
  location  <0.0, 5, .0>
  look_at   <0.0, -1.0,  0.0>
}
        


plane
{
  y, // <X Y Z> unit surface normal, vector points "away from surface"
  -1.0 // distance from the origin in the direction of the surface
normal
  hollow on // has an inside pigment?
    texture
      {      
         pigment
         {
            image_map
            {
              png   "D:\Noam\POV-Ray for Windows
v3.1\scenes\nLand\nlandhf.png"
               interpolate 4
            }
         }      
         finish
         {
           ambient 1   
         }
      }
}


Bob Hughes wrote:
> 
> "Lewis" <tt### [at] sscom> wrote in message news:39994891.DAC8B978@ss.com...
> | I am having trouble creating the HF as a 16-bit grayscale. It has 256
> | colors (8 bits) but I can't get more for some reason. How do I ??
> 
> Since you have a 24 bit targa there the thing to do probably is to use it as
> a pigment {image_map{}} and do a global_settings {hf_grey_16 on} to get it's
> 16 bit greyscale.  Only problem might be if it's not already a greyscale
> image the conversion of the colors just might go wrong for what you have
> intended, but I'm not sure of that.
> Anyway, if you're willing to go that route then just use a orthogonal camera
> with the same up and right as the image resolution, mapping to a plane of
> course.  Also set the file output type to +FT so you don't get a BMP or
> something.
> 
> Bob


Post a reply to this message

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