POV-Ray : Newsgroups : povray.advanced-users : clutter.mcr and trace() : Re: clutter.mcr and trace() Server Time
26 Apr 2024 07:17:10 EDT (-0400)
  Re: clutter.mcr and trace()  
From: Mike Horvath
Date: 17 May 2021 05:01:23
Message: <60a230e3$1@news.povray.org>
On 5/17/2021 4:56 AM, Thomas de Groot wrote:
> Thinking aloud here... assuming that you can render the landscape itself 
> without trouble (I assume you can) then using a gradient texture going 
> e.g. from black (bottom) to white (top) on the landscape, and rendering 
> that with an orthographic camera from above, within a white sphere 
> containing a finish {emission 1 diffuse 0}... that would do the job imo. 
> Make a large render, at least 2048x2048px.
> 

The problem is that the pixels in a heightmap represent _vertices_ (and 
are therefore n+1 pixels per side) whereas a rendered image as you 
describe shows _faces_. So there will be a discrepancy (that I would 
like to avoid).


Mike


Post a reply to this message

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