POV-Ray : Newsgroups : povray.binaries.utilities : df3->mesh utility Server Time: 18 Jun 2019 07:08:04 GMT
  df3->mesh utility (Message 1 to 2 of 2)  
From: Andrew Le Couteur Bisson
Subject: df3->mesh utility
Date: 3 Oct 2004 19:18:14
Message: <41605076@news.povray.org>
This program is adapted from the mc.c source provided by Mike Chupa

/* mc.c Marching Cubes implementation for lab1
   Mike Chupa
   CS 8413: Visualization
   Instructor: Dr. Raghu Machiraju
   Copyright (c) 1998 Michael A. Chupa Permission is expressly granted
   to use this code in any non-commercial work, provided that this
   notice is preserved. However, be aware that the Marching Cubes
   algorithm is patented.
*/

I have nothing to add to this and you may distribute this code freely
in accordance with the above.

The program is run by entering, for example,

  mc big_wobbly_thing.df3 73.4

After much diagnostic output you will have a file called
big_wobbly_thing.inc which contains a POVRay mesh2 definition
with normals but no UV map.  The mesh is the isosurface with
value 73.4 taken from the density map.  This threshold
value must lie between 0.0 and 255.0 to get any triangles.

The output can be used in the following way:

object
{
  #include "big_wobbly_thing.inc"

  texture { Blah }
  rotate 90 * z
}

Note that the output file name is generated by replacing the last
3 characters of the input file name with "inc"; nothing more
sophisticated.

Please also note that this program was hacked together as a
means to and end and is untested and probably broken.

Have fun,

Andy

P.S. Ingo, I had to delete the df3 data for the ct/mri data due to a size 
limit on the server
these files are over 7M each so if you want them I will need some other 
means of transport.


Post a reply to this message


Attachments:
Download 'CT Stuff.zip' (435 KB)

From: allen
Subject: Re: df3->mesh utility
Date: 15 Dec 2005 02:50:01
Message: <web.43a0d9224148a351a8a0fda80@news.povray.org>
Dear Andy:
   I am interested with your good job,and  want to get the df3 data.
Would you please send it by email  or  any other means?
   Thank you very much.

   Your sincerely
   Allen,
>
> P.S. Ingo, I had to delete the df3 data for the ct/mri data due to a size
> limit on the server
> these files are over 7M each so if you want them I will need some other


Post a reply to this message

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