|
![](/i/fill.gif) |
Matthew Corey Brown - XenoArch <xen### [at] mindspring com> wrote:
: 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.
I don't know how to calculate the intersection of a ray and a blob.
And I forgot to mention that I want fully transformable (translate,
non-uniform scale, rotate) blob components (both spherical and cylindrical),
just as in povray. I want to make a _good_ blob modeller :)
--
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) |