POV-Ray : Newsgroups : povray.programming : Calculating a mesh from a blob : Re: Calculating a mesh from a blob Server Time
29 Jul 2024 02:31:12 EDT (-0400)
  Re: Calculating a mesh from a blob  
From: Matthew Corey Brown - XenoArch
Date: 1 Jan 1999 03:38:59
Message: <368C8A12.2FAC2F1D@mindspring.com>
I would surround the blob in a box grid.
shoot rays from the the grid intersections.
Find all intersections of the blob on the ray 
	(record the normal too)

and make a mesh from the intersection points.

and when normal of adjacent points vary too much maybe
create extra points.

Don't know how efficient this would be. (I've been toying
with doing this in pov for iso_surface in making a mesh object
with a save for later to speed things up. Though I may just
do it to the object declaration which would probably be better)

Nieminen Mika wrote:
> 
>   Hi!
>   I'm making a blob modeller and there is only one problem with it:
>   For the preview I need to calculate a mesh from the blob data, just like
> blob sculptor does (but possibly much more accurately). Any ideas how can
> I do this?
>   I will post info about the modeller when it gets usable...
> 
> --
> main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
> *_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp. -*/


Post a reply to this message

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