POV-Ray : Newsgroups : povray.general : Creating heightfields from photographs : Re: Creating heightfields from photographs Server Time
31 Jul 2024 22:16:55 EDT (-0400)
  Re: Creating heightfields from photographs  
From: Meothuru
Date: 25 Jul 2006 01:25:00
Message: <web.44c5aa1541860cc259588aed0@news.povray.org>
"Jeremy M. Praay" <jer### [at] questsoftwarecmo> wrote:
> It would be great to be able to take relief photographs of  real-world
> objects and then have them easily converted into heightfields.
>
> The easiest way, for things like brick walls, is to convert the image to
> gray scale, perhaps invert the tones, maybe adjust the contrast, and then go
> with it.  But this can lead to strange things happening in some cases, and
> it generally only tends to work (using the term loosely) for things like
> brick walls, pavement, etc.
>
> I know that there are "shape from shading" filters which can be applied to
> The Gimp, but they don't exactly look like a no-brainer.  Has anyone tried
> this approach?
>
> Basically, any advice on this subject would be appreciated.
>
> Thanks.

On my "photos-->heightfields"-experiments, in many cases I got
better results without a conversion to grayscale, but with
the reduction of the Y-scale-factor to a value <1

i.e.

 scale <2, 0.3, 2>


Post a reply to this message

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