POV-Ray : Newsgroups : povray.pov4.discussion.general : Mesh2 option for isosurface : Re: Mesh2 option for isosurface Server Time
9 May 2024 11:15:13 EDT (-0400)
  Re: Mesh2 option for isosurface  
From: scott
Date: 22 Nov 2007 09:08:39
Message: <47458d67$1@news.povray.org>
>> Internally the parser would define a 20x10x20 array of points within the 
>> bounding box of the isosurface, and calculate the isosurface value at 
>> each point.  Then an algorithm like marching cubes would be used to 
>> generate a mesh2 object to be rendered instead of the actual isosurface 
>> object.
>>
>> This could be used for fast previews or even final renders if the speed 
>> was good with large array sizes.
>>
>> Comments?
>>
>
> That's only useful if you can save the mesh and use it for other renders.

Yes, that could be a useful feature, allowing the mesh2 to be saved as a 
specified .inc file for inclusion in later renders or an animation.

> Some people have shown that generating such a mesh can take as long as 
> rendering the isosurface directly.

AIUI that's with the mesh generated in SDL.  If the mesh generation 
algorithm were coded directly into the binary then it should run much 
faster.

There are other algorithms that could be used too, like marching triangles 
which are seemingly more efficient than marching cubes.


Post a reply to this message

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