POV-Ray : Newsgroups : povray.general : Black spots on a height field Server Time
11 Aug 2024 11:19:18 EDT (-0400)
  Black spots on a height field (Message 6 to 15 of 15)  
<<< Previous 5 Messages Goto Initial 10 Messages
From: Wojtek Bauman
Subject: Re: Black spots on a height field -solved
Date: 24 Aug 1999 15:06:22
Message: <37C2EA76.4EFAA860@spleen.waw.pl>
Howdy

I resized the image I made a HF from (width*2, height*2) and all the
black spots disappeared.
Thank you again.

-- 
Wojtek Bauman aka reaver | rea### [at] spleenwawpl | ICQ: 3429749 |
http://reaver.spleen.waw.pl | PGP: finger bauman@inx.pm.waw.pl |


Post a reply to this message

From: Ken
Subject: Re: Black spots on a height field -solved
Date: 25 Aug 1999 00:22:07
Message: <37C36F3D.12DEEC7A@pacbell.net>
Wojtek Bauman wrote:
> 
> Howdy
> 
> I resized the image I made a HF from (width*2, height*2) and all the
> black spots disappeared.
> Thank you again.

  Your welcome. This is a good time to point out to anyone who uses height
fields in their scenes that the resolution quality of your HF is directly
proportional to the resolution of the image used to create it. The higher
the resolution of the image the higher the resolution your HF can have. I
generally use nothing less the 600x600 unless it will be used for something
minor like a rust spot on a piece of metal or the HF is used for something
like gently rolling hills. If there are any large variations in the heights
in adjacent areas the larger resolutions become more critical and can also
greatly reduce gridding and cracking as is often a complaint where HF's are
used.
  Another point to consider is the color depth of the image used. If you
use an 8 bit 256 color image for your HF you are limited to the number of
Hf values that can be obtained to 256 total values. If on the other hand
you use a 16 bit 16 million color image you have considerably greater
control over how many different height values are possible in the HF
itself. There is good reason why the Pov team added the hf_gray_16 option
and this is to allow you greater control of the use of HF's in your scenes.

-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Nick Portelli
Subject: Re: Black spots on a height field -solved
Date: 25 Aug 1999 00:58:55
Message: <37C3875B.E1C72BA2@pilot.msu.edu>
What type of image do you normally use?  Is there one better than the
other.  I'm going to use tga, but what about the others?

Ken wrote:
> 
> Wojtek Bauman wrote:
> >
> > Howdy
> >
> > I resized the image I made a HF from (width*2, height*2) and all the
> > black spots disappeared.
> > Thank you again.
> 
>   Your welcome. This is a good time to point out to anyone who uses height
> fields in their scenes that the resolution quality of your HF is directly
> proportional to the resolution of the image used to create it. The higher
> the resolution of the image the higher the resolution your HF can have. I
> generally use nothing less the 600x600 unless it will be used for something
> minor like a rust spot on a piece of metal or the HF is used for something
> like gently rolling hills. If there are any large variations in the heights
> in adjacent areas the larger resolutions become more critical and can also
> greatly reduce gridding and cracking as is often a complaint where HF's are
> used.
>   Another point to consider is the color depth of the image used. If you
> use an 8 bit 256 color image for your HF you are limited to the number of
> Hf values that can be obtained to 256 total values. If on the other hand
> you use a 16 bit 16 million color image you have considerably greater
> control over how many different height values are possible in the HF
> itself. There is good reason why the Pov team added the hf_gray_16 option
> and this is to allow you greater control of the use of HF's in your scenes.
> 
> --
> Ken Tyler
> 
> See my 850+ Povray and 3D Rendering and Raytracing Links at:
> http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Ken
Subject: Re: Black spots on a height field -solved
Date: 25 Aug 1999 01:10:15
Message: <37C37A85.4B57427A@pacbell.net>
Nick Portelli wrote:
> 
> What type of image do you normally use?  Is there one better than the
> other.  I'm going to use tga, but what about the others?

  I personaly use .tga files but I suppose there is no reason that you cannot
use .gif for 8 bit 256 color HF images and .bmp and .png are also acceptable
for use as 16 bit 16 million color images. It should also be noted that you
can also use 24 bit images for HF's but internaly they will be represented
as 16 bit and the extra is ignored.
  The reason I use .tga is I often either create my HF images using povray's
hf_gray_16 option and my standard output is tga. Also the program Leveller
which I have tested a bit here and there also outputs a hf_gray_16 .tga file
that is similar in construction to Pov's internal version of it.

-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Nieminen Juha
Subject: Re: Black spots on a height field
Date: 25 Aug 1999 02:55:34
Message: <37c39366@news.povray.org>
Wojtek Bauman <rea### [at] spleenwawpl> wrote:
: I tried it. I also tried increasing max_trace_level,
: max_intersections
: and adc_bailout, but that didn't help.

  Increasing adc_bailout will actually lower the quality of the image but
makes rendering faster (although it has effect only if you have many
relfective/refractive surfaces).

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Black spots on a height field -solved
Date: 25 Aug 1999 02:59:37
Message: <37c39459@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
: you use a 16 bit 16 million color image

  You can't represent 16 millions colors with 16 bits (that would mean one
million colors per bit).
  Perhaps you meant 65536 colors?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ken
Subject: Re: Black spots on a height field -solved
Date: 25 Aug 1999 03:03:53
Message: <37C39529.3DFCFF65@pacbell.net>
Nieminen Juha wrote:
> 
> Ken <tyl### [at] pacbellnet> wrote:
> : you use a 16 bit 16 million color image
> 
>   You can't represent 16 millions colors with 16 bits (that would mean one
> million colors per bit).
>   Perhaps you meant 65536 colors?

Of course that is what I intended to say. I got confused with all them
bitsNcolors in one sentence.

-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Ken Matassa
Subject: Re: Black spots on a height field -solved
Date: 26 Aug 1999 23:42:13
Message: <37C60A78.7C57@pacbell.net>
Ken wrote:
> If on the other hand you use a 16 bit 16 million color image...

Have you discovered a secret way of compressing 24 bits into 16 bits?

Ken Matassa


Post a reply to this message

From: Ken
Subject: Re: Black spots on a height field -solved
Date: 27 Aug 1999 00:14:46
Message: <37C61080.4E1657B8@pacbell.net>
Ken Matassa wrote:
> 
> Ken wrote:
> > If on the other hand you use a 16 bit 16 million color image...
> 
> Have you discovered a secret way of compressing 24 bits into 16 bits?
> 
> Ken Matassa

Yes and I'm not telling !

-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

From: Ken Matassa
Subject: Re: Black spots on a height field -solved
Date: 27 Aug 1999 23:05:55
Message: <37C7537E.79A@pacbell.net>
> > Have you discovered a secret way of compressing 24 bits into 16 bits?
> >
> > Ken Matassa
> 
> Yes and I'm not telling !
> Kne Tyler

Alas. Now I shall have to wander clueless in the wilderness.

Ken Matassa


Post a reply to this message

<<< Previous 5 Messages Goto Initial 10 Messages

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