|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |