Jump to content

Bitmap Voxel 3D Printing


impure31

Recommended Posts

Hi guys,

Does anybody here on the forum can point me out towards voxel-printing topic related threads on the forum, if any?

Secundo; are there any folks out here with some experience on the subject? 

For those unfamiliar yet interested in the subject; https://www.media.mit.edu/projects/making-data-matter/overview/

A few noob:ph34r: questions regarding voxel-printing in houdini:

  1. can you import a stack of png/bmp files in Houdini and create a voxel geometry? 
  2. can you import, let's say an stl file, and export it as stack of png/bmp files? 

Final question; Is there anybody out there interested to collaborate on such a Houdini setup? :D

Thanks for looking into it,

cheers!

Fred

  • Like 1
Link to comment
Share on other sites

Second question regarding converting meshes to image slices: This can be done by converting a mesh to VDBs and sampling the volume to pixel grids like this:

vector pos = set(X, Y, z_slice);
float dens = volumesample(geo, 0, pos);
A = dens;

Say hello to Emily ; ) http://gl.ict.usc.edu/Research/DigitalEmily2/

image.png.7ba346b49c6ca370a99167626d54c5cc.pngimage.png.ed47a1460ba595af6d9ab8e0ea243b2a.png

slice_volumes.hipnc

Edited by konstantin magnus
Link to comment
Share on other sites

You can use "volume from attributes" to transfer UV coordinates from meshes to volumes. Reading them into COPs requires several volume samplings:

vector pos = set(X, Y, z_slice);
float u = volumesample(geo, 0, pos);
float v = volumesample(geo, 1, pos);
float w = volumesample(geo, 2, pos);
vector uvw = set(u, v, w);
assign(R, G, B, uvw);

 

slice_volumes_uvw.hipnc

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...