POV-Ray : Newsgroups : povray.binaries.utilities : heightfield triangle orientation : Re: heightfield triangle orientation Server Time
5 May 2024 19:38:24 EDT (-0400)
  Re: heightfield triangle orientation  
From: Daniel Matthews
Date: 4 Jul 2002 00:28:09
Message: <1833542.3SBWq0fk0N@3-e.net>
http://terraform.sourceforge.net

janger wrote:

> hi,
> I'm coding a utility to allow viewing of heightfields using opengl, and to
> also allow object placement on the hf's using masks. For example, placing
> stones in the shape of words onto the hf surface. In future I'll probably
> expand it to creation and manipulation of hf's as well. However, reading
> through the documentation, it seems the description of the triangle
> orientation is messed up.
> In  "The size and orientation of an un-scaled height field" image, the
> intersection edge of the two triangles seems to be from the top-left to
> the bottom-right of each 4-pixel group. Whereas in the "Relationship of
> pixels and triangles in a height field" image, it is shown from the
> top-right to the bottom-left.
> Does anyone know if I am correct here, or am I missing something? I'd like
> my program to view the hf's properly so it seems to be an important
> question.
> 
> Thanx, dave.

-- 
Your connection failed because: Cache miss - please take better aim next 
time


Post a reply to this message

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