POV-Ray : Newsgroups : povray.newusers : Output file format (gray-16bpp) Server Time
26 Nov 2024 21:28:46 EST (-0500)
  Output file format (gray-16bpp) (Message 1 to 8 of 8)  
From: Omega
Subject: Output file format (gray-16bpp)
Date: 18 Nov 2003 11:05:01
Message: <web.3fba429a89ecd8bb6b7c745d0@news.povray.org>
Hi all,

Here is a question for you..

I'd like to create a grayscale 16-bpp render of my scene.. I tried using the
hf_gray_16 keyword, but I don't know how to handle the output... any idea?

Thanks
O.


Post a reply to this message

From: Christoph Hormann
Subject: Re: Output file format (gray-16bpp)
Date: 18 Nov 2003 12:22:02
Message: <lk0q81-vp2.ln1@triton.imagico.de>
Omega wrote:
> Hi all,
> 
> Here is a question for you..
> 
> I'd like to create a grayscale 16-bpp render of my scene.. I tried using the
> hf_gray_16 keyword, but I don't know how to handle the output... any idea?

I don't understand the question, you say you *want* a 16 bit grayscale 
output but don't know how to use it.  Seems a contradiction to me.

But maybe i just did not understand the question.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Omega
Subject: Re: Output file format (gray-16bpp)
Date: 18 Nov 2003 12:45:01
Message: <web.3fba5a09e79366956b7c745d0@news.povray.org>
Christoph Hormann wrote:
>I don't understand the question, you say you *want* a 16 bit grayscale
>output but don't know how to use it.  Seems a contradiction to me.
>
>But maybe i just did not understand the question.

It's the TGA in output that I don't know how to use.. my graphic program
loads it as an RGB file, and I can't find how to convert it to retrieve the
16-bpp.


Post a reply to this message

From: Christoph Hormann
Subject: Re: Output file format (gray-16bpp)
Date: 18 Nov 2003 13:02:01
Message: <5b3q81-rf9.ln1@triton.imagico.de>
Omega wrote:
> 
> It's the TGA in output that I don't know how to use.. my graphic program
> loads it as an RGB file, and I can't find how to convert it to retrieve the
> 16-bpp.
> 

That did not answer my question: If you don't know how to use 16 bit 
output why do you want it?

If your question is "how can i load 16 bit images into my graphics 
program" you would have to specify which program you are using.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Omega
Subject: Re: Output file format (gray-16bpp)
Date: 18 Nov 2003 13:20:01
Message: <web.3fba62cee79366956b7c745d0@news.povray.org>
Christoph Hormann wrote:
>That did not answer my question: If you don't know how to use 16 bit
>output why do you want it?
>
>If your question is "how can i load 16 bit images into my graphics
>program" you would have to specify which program you are using.

Ok, I think I made an assumption here that seems to be wrong..

I read somewhere that when adding "hf_gray_16" to a scene, it produces a
16bpp-gray-.TGA file and that file format is kinda internal to PovRAY for
the "height_field" keyword.

My initial question should have been:

If I want to produce a 16-bpp-grayscale image, can I use this format and how
can I use it (since it's not an universal format) or is there another
simpler way?

Hope that clarifies thing :/

O.


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Output file format (gray-16bpp)
Date: 18 Nov 2003 13:36:26
Message: <3fba66aa$1@news.povray.org>
Omega <nomail@nomail> wrote:

> It's the TGA in output that I don't know how to use.. my graphic program
> loads it as an RGB file, and I can't find how to convert it to retrieve the
> 16-bpp.

If you use TGA, POV doesn't output "real" 16bit, but splits the 16bit over
the red and green channel, so that grey = 256*red + green.
So, if you want to use the output in a paint program it is better to use 
PNG instead.

Lutz-Peter


Post a reply to this message

From: Christoph Hormann
Subject: Re: Output file format (gray-16bpp)
Date: 18 Nov 2003 13:42:02
Message: <al5q81-vqe.ln1@triton.imagico.de>
Omega wrote:
> 
> Ok, I think I made an assumption here that seems to be wrong..
> 
> I read somewhere that when adding "hf_gray_16" to a scene, it produces a
> 16bpp-gray-.TGA file and that file format is kinda internal to PovRAY for
> the "height_field" keyword.
> 
> My initial question should have been:
> 
> If I want to produce a 16-bpp-grayscale image, can I use this format and how
> can I use it (since it's not an universal format) or is there another
> simpler way?
> 
> Hope that clarifies thing :/

Not really, if and how you can use 16 bit images generated by POV-Ray 
depends on the program you want to use them with.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Omega
Subject: Re: Output file format (gray-16bpp)
Date: 18 Nov 2003 15:25:01
Message: <web.3fba7fb8e79366956b7c745d0@news.povray.org>
>If you use TGA, POV doesn't output "real" 16bit, but splits the 16bit over
>the red and green channel, so that grey = 256*red + green.
>So, if you want to use the output in a paint program it is better to use
>PNG instead.

That's exactly what I meant... I knew that the 16-bit TGA format was a
tweak, and I wanted to know how to use it or what format to use instead.

Thanks!
O.


Post a reply to this message

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