POV-Ray : Newsgroups : povray.binaries.images : Height Field intersection test problem (see p.g) : Height Field intersection test problem (see p.g) Server Time
14 Aug 2024 13:18:37 EDT (-0400)
  Height Field intersection test problem (see p.g)  
From: Johannes Dahlstrom
Date: 15 Oct 2002 14:04:43
Message: <3dac58b9@news.povray.org>
The attached image shows the problem I described in povray.general. As you 
see, the Bresenham's algorithm (on the left) goes through some pixels that 
the ray doesn't (and vice versa). The right half of the image shows how it 
should go.


Post a reply to this message


Attachments:
Download 'line_drawing.jpg' (34 KB)

Preview of image 'line_drawing.jpg'
line_drawing.jpg


 

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