POV-Ray : Newsgroups : povray.newusers : Texturing height_field : Re: Texturing height_field Server Time
30 Jul 2024 12:30:28 EDT (-0400)
  Re: Texturing height_field  
From: Hughes, B 
Date: 15 Apr 2004 04:07:16
Message: <407e42b4$1@news.povray.org>
Simple solution: rotate the image to lay across the HF. A common mistake,
not orienting the two. HF lies along a xz plane, like a ground, while images
stand (as seen from default camera) as though projected onto a wall in the
xy plane.

So... rotate 90*x (or <90,0,0>) for the image.

My personal choice of the way to do things like this is to 'translate -0.5',
which centers them, then rotate the image, finally scaling them. That way
they both respond in the same manner.

-- 
Bob H.
http://www.3digitaleyes.com


Post a reply to this message

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