POV-Ray : Newsgroups : povray.programming : Which code evaluate Math functions (ie: isosurfaces) ? : Re: Which code evaluate Math functions (ie: isosurfaces) ? Server Time
18 Apr 2024 02:43:16 EDT (-0400)
  Re: Which code evaluate Math functions (ie: isosurfaces) ?  
From: Thorsten Froehlich
Date: 24 Jan 2007 12:51:05
Message: <45b79c89@news.povray.org>
virtualmeet wrote:
> To explain better, suppose we have a grid of 4x4x4 points.

If you pre-calculate samples in a gird, you create a voxel array, aka
density map in POV-Ray. This is not the same as an isosurface, and even
though sampling a voxel array is fast, it is also extremely inaccurate
unless you assume you have infinite memory. Even worse, once your voxel
array approaches a certain size, you need to calculate a lot more samples
than samples hat are visible. Hence, your voxel array calculations *and*
memory requirements grow O(n1^3) regardless of image resolution (where n1 is
the grid size in one dimension), while isosurface memory requirements are
somewhere around O(log n2) and computation requirements are O(n3*log n2)
where n3 is the number of pixels occupied and n2 is a measure of function
complexity (aka recursive steps of the approximation algorithm).

	Thorsten


Post a reply to this message

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