| Converting voxel data to supported 3D format [message #9294] Wed, 27 January 2010 11:32 UTC |
 |
|
I have 2000 PNGs, each at 2000x2000 pixel resolution. Combined, they produce an 8 billion voxel data set.
I understand that Shapeways supports the following formats:
.stl, .dae, .x3d, .x3db, wrl, and x3dv.
Is there any way to easily convert aforementioned PNGs to one of the above formats to allow 3D prints?
If there's a more 'standard' voxel format, then I would be prepared to write my own software to convert the PNGs to that format as a part of a 2-step conversion process. But obviously I would prefer the voxel format specification to be pretty simple to make this easier.
Any ideas?
|
|
|
|
| Re: Converting voxel data to supported 3D format [message #9297 is a reply to message #9294 ] Wed, 27 January 2010 13:44 UTC |
  |
|
Hi thanks for your reply! I've searched the net, and it would seem programs to do this kind of thing are very few and far between.
The data source is a bunch of PNGs (I wrote the program to output PNGs, it would not be trivial to output anything else). But the object itself is probably not the easiest thing in the world to convert due to its fractal-like nature. Here's a picture:
http://www.skytopia.com/project/fractal/new/q85/Power8side-s mall.jpg
By default, the inside is solid, so that would probably need hollowing out to save on material costs. How much though would be tricky to decide because of the complexity of the shape.
I'm guessing that the thickness matters less with the tiny bits on the surface but matters more at parts which hold up more 'bulk'.
All things considered (including the 2000*2000*2000 resolution), would Meshlab or Matlab be more appropriate do you think?
|
|
|
|
| Re: Converting voxel data to supported 3D format [message #9299 is a reply to message #9294 ] Wed, 27 January 2010 14:10 UTC |
  |
|
| Quote: | I thought your nick was familiar ! You're the mandelbulb guy, right ? 
|
Lol, word spread pretty far by the looks of it 
I take it that 500,000 triangles would be enough in theory, given a decent conversion? I hear that Shapeways are going to support 2,000,000 soon. I'm almost tempted to take up the challenge and write some kind of software to do it manually (what would be the simplest specification out of that 3D object list?).
Someone who posted over at Fractalforums has also managed to make a 3D print, though he had to use his own marching cubes algorithm. Good results though.
| Quote: | As to shelling, that is where I ran into the most problems.
|
Haha, I can only imagine! Only the Menger sponge would be more of a nightmare - probably need carbon-fibre or stronger for that 
I suppose one technique would be to always allow any voxel to contain x amount of surrounding voxels if possible. This would always maintain a minimum thickness for the hull while still allowing minute details at the edges.
It's funny, I bet the 3D printer machine converts the mesh back to voxels for printing! The irony...
[Updated on: Wed, 27 January 2010 14:11 UTC]
|
|
|
| Re: Converting voxel data to supported 3D format [message #9300 is a reply to message #9299 ] Wed, 27 January 2010 14:25 UTC |
  |
|
| Quote: |
Someone who posted over at Fractalforums has also managed to make a 3D print, though he had to use his own marching cubes algorithm. Good results though.
|
That would be me, I think, small world 
See the first reply for images.
As to polygon count If you are able to optimize the mesh without destroying the detail, 500.000 should be enough, but I had lot's of trouble there also. Marching cubes is not the best algorithm for fractals.
I think mesh refinement based on distance estimators would produce the best result. So for each escape count, generate a mesh shell, from each vertex project toward the next escape count and refine.
But I stuck with the marching cubes for now.
As to menger sponges, there are plenty in the shops here 
[Updated on: Wed, 27 January 2010 14:29 UTC] - Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
|
|
|
| Re: Converting voxel data to supported 3D format [message #9301 is a reply to message #9294 ] Wed, 27 January 2010 15:10 UTC |
  |
|
Lol, that's pretty hilarious actually. The odds of that happening seem super high at first, and yet somewhat lower once you think about it 
| Quote: | As to menger sponges, there are plenty in the shops here 
|
Aha, you're right, though it's only level 4. I only want level 6 heh. Actually, I suppose some of the Juliabulb variants will be the most daunting to render, since they have the mandelbulb-style complexity, but with (often) a very thin frame. E.g. see this amazing picture by Paul Nylander:
http://www.bugman123.com/Hypercomplex/Juliabulb4-large.jpg
Nice Julia objects btw! Is that some kind of glass material in one of them - looks ace.
[Updated on: Wed, 27 January 2010 15:11 UTC]
|
|
|
| Re: Converting voxel data to supported 3D format [message #9320 is a reply to message #9294 ] Thu, 28 January 2010 00:01 UTC |
  |
|
Have you tried any of the MRI/CT Scan 3D rendering software?
I have Mimics and 3D Doctor here if you want me to give it a shot. Just attatch a few of the PNG's in order and I'll see if I can make it work.
|
|
|
| Re: Converting voxel data to supported 3D format [message #9325 is a reply to message #9294 ] Thu, 28 January 2010 01:35 UTC |
  |
|
| dspwhite wrote on Wed, 27 January 2010 11:32 | I have 2000 PNGs, each at 2000x2000 pixel resolution. Combined, they produce an 8 billion voxel data set.
I understand that Shapeways supports the following formats:
.stl, .dae, .x3d, .x3db, wrl, and x3dv.
Is there any way to easily convert aforementioned PNGs to one of the above formats to allow 3D prints?
If there's a more 'standard' voxel format, then I would be prepared to write my own software to convert the PNGs to that format as a part of a 2-step conversion process. But obviously I would prefer the voxel format specification to be pretty simple to make this easier.
Any ideas?
|
Hey there.
dspwhite, you can do this job with a software called "Isosurf" which implements several algorithms to take image slices from a 3D model to recreate a 3D model to regularised marching tetrahedra's. The mesh output is "off" or "wrl". Usually some interpolation operations on this and you get out a smooth model. Meshlab eats this output to convert it to binary-"stl".
http://mi.eng.cam.ac.uk/~gmt11/software/isosurf/isosurf.html
Would like to see some real 3D mandelbulbs here soon. 
[Updated on: Thu, 28 January 2010 01:35 UTC]
|
|
|
|