POV-Ray : Newsgroups : povray.binaries.images : Slope map errors. Bug? Server Time
4 Nov 2024 20:17:13 EST (-0500)
  Slope map errors. Bug? (Message 1 to 5 of 5)  
From: SharkD
Subject: Slope map errors. Bug?
Date: 24 Jun 2007 20:55:02
Message: <web.467f12366564155365595850@news.povray.org>
I've rendered a scene using the following slope map for the terrain:

pigment
{
 slope {-y}
 color_map
 {
  [0 color rgb <046/255,104/255,058/255,>]
  [0.0625 color rgb <139/255,117/255,102/255,>]
  [0.0625 color Gray]
  [0.125 color Gray]
 }
}

Problem areas exist around the road, where the terrain is particularly
steep. They are nearly vertical and should be completely gray. Why isn't
the slope map being applied properly to these areas? Is this a bug?


Post a reply to this message


Attachments:
Download 'outdoorscene.jpg' (36 KB)

Preview of image 'outdoorscene.jpg'
outdoorscene.jpg


 

From: Tim Attwood
Subject: Re: Slope map errors. Bug?
Date: 25 Jun 2007 23:01:12
Message: <46808178$1@news.povray.org>
There's nothing really wrong with your texture,
the heightfield is probably jagged, you could
blur the heightfield image in a paint program
around the road to make it slope up smoothly
instead of stair-stepping.


Post a reply to this message

From: SharkD
Subject: Re: Slope map errors. Bug?
Date: 26 Jun 2007 23:10:01
Message: <web.4681d496c4381f0be55e47680@news.povray.org>
"Tim Attwood" <tim### [at] comcastnet> wrote:
> There's nothing really wrong with your texture,
> the heightfield is probably jagged, you could
> blur the heightfield image in a paint program
> around the road to make it slope up smoothly
> instead of stair-stepping.

I've already blurred the heightfield. My problem is not with the jaggedness
of the HF, rather it is with the fact that the sloped bits aren't colored
properly.


Post a reply to this message

From: Trevor G Quayle
Subject: Re: Slope map errors. Bug?
Date: 26 Jun 2007 23:20:01
Message: <web.4681d65fc4381f0b5e73ab330@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> "Tim Attwood" <tim### [at] comcastnet> wrote:
> > There's nothing really wrong with your texture,
> > the heightfield is probably jagged, you could
> > blur the heightfield image in a paint program
> > around the road to make it slope up smoothly
> > instead of stair-stepping.
>
> I've already blurred the heightfield. My problem is not with the jaggedness
> of the HF, rather it is with the fact that the sloped bits aren't colored
> properly.

What is your adc_bailout in global_settings?  Try lowering that as I've had
that affect slope patterns.

-tgq


Post a reply to this message

From: SharkD
Subject: Re: Slope map errors. Bug?
Date: 27 Jun 2007 08:45:02
Message: <web.46825b5ac4381f0b724f92950@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> What is your adc_bailout in global_settings?  Try lowering that as I've had
> that affect slope patterns.
>
> -tgq

My adc_bailout and max_trace_level are at their default values.

I turned off smoothing of the heightfield and the slope map behaved
properly. So, this bug (if it is a bug) only affects smoothed heightfields.


Post a reply to this message

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