![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I just started using povray for windows and was doing some examples from
the povray documentation. In the chapter "Height Field Object" an image is
created with the rendering options +A0.1 +FT. When I open the tga file in
an image viewing program, there is an image with some green and brown
pixels instead of which was rendered by povray.
kobus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On 17 Oct 1999 07:08:14 -0400, "kobus" <kob### [at] hotmail com> wrote:
>I just started using povray for windows and was doing some examples from
>the povray documentation. In the chapter "Height Field Object" an image is
>created with the rendering options +A0.1 +FT. When I open the tga file in
>an image viewing program, there is an image with some green and brown
>pixels instead of which was rendered by povray.
>
>kobus
Welcome!
That image is rendered using the POV HF_Gray_16 TGA format. POV uses
the first two channels of the TGA file (namely the red and green ones)
to represent a 16-bit grayscale image. 16-bit images give 256 times
smoother height fields that 8-bit images, but TGA only supports 8 bits
per channel, so POV is using a little trick to store 16-bit values.
The result is that you see a red-green pattern. Don't worry, it is not
for you to see but for POV to make a height-field out of. Just follow
the tutorial on how to make a height_field object.
Oh, and don't give up :)
Peter Popov
ICQ: 15002700
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Welcome to the group.
Peter is right. Those POV HF_Gray_16 TGA format
images aren't for human eyes, just as a data store for POV.
Please keep showing up in the news groups. Every voice,
every viewpoint, every new technique helps us all get better.
As way of encouragement, try a visit to this site:
<http://members.xoom.com/_XOOM/jaimevives/>
I am still impressed with the work done here.
kobus wrote:
> I just started using povray for windows and was doing some examples from
> the povray documentation. In the chapter "Height Field Object" an image is
> created with the rendering options +A0.1 +FT. When I open the tga file in
> an image viewing program, there is an image with some green and brown
> pixels instead of which was rendered by povray.
>
> kobus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks,
but now I have got another question about the same subject. I omitted the
rendering option "-FT". Now the tga image is not anymore readable by povray
but the image can be correctly viewed with the help of a image viewing
program.
kobus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
If you are using POV-Ray for Windows and not for DOS (nor some others I
believe) then the default reverts to Bmp or other system (Mac) dependant
file type, not a Targa anymore.
Also, when naming your output file manually, using +oC:\images\testpov.bmp
for example, you need the file extension to match the type being created or
a image viewer will not read it properly.
Bob
kobus <kob### [at] hotmail com> wrote in message
news:01bf196b$60d91de0$667dd383@etnica.ibb.uu.nl...
> Thanks,
>
> but now I have got another question about the same subject. I omitted the
> rendering option "-FT". Now the tga image is not anymore readable by
povray
> but the image can be correctly viewed with the help of a image viewing
> program.
>
> kobus
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On 18 Oct 1999 09:19:28 -0400, "kobus" <kob### [at] hotmail com> wrote:
>Thanks,
>
>but now I have got another question about the same subject. I omitted the
>rendering option "-FT". Now the tga image is not anymore readable by povray
>but the image can be correctly viewed with the help of a image viewing
>program.
>
>kobus
As Bob mentioned, if you don't specify an output format, POV defaults
to the system format (bmp for windoze, pict for Mac). Your output
file's extension should match the file type (.bmp for windows). You
can still use this image in POV but you have to use the sys file type
specifier instead of tga, i.e. Also, check out the docs to see if the
HF_16_Gray option works for anything other than tga.
height_field
{ sys "myfile.bmp" // <-- not bmp "myfile.bmp" !!!
...
}
Have fun!
Peter Popov
ICQ: 15002700
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |