sprockets Gerald's 2024 Advent Calendar! The Snowman is coming! Realistic head model by Dan Skelton Vintage character and mo-cap animation by Joe Williamsen Character animation exercise by Steve Shelton an Animated Puppet Parody by Mark R. Largent Sprite Explosion Effect with PRJ included from johnL3D New Radiosity render of 2004 animation with PRJ.
sprockets
Recent Posts | Unread Content
Jump to content
Hash, Inc. - Animation:Master

Recommended Posts

Posted

I am wondering if I could generate a height map from objects in a scene. What I want to ultimately do is create one grayscale image that can be used as a displacement or height map.

 

I have a small laser engraver that seems capable of carving from grayscale images into various materials such as wood, plastic etc. I'm also thinking of doing carvings to make molds from for pewter castings.

 

Thoughts?

  • Replies 15
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Hash Fellow
Posted

You mean A:M objects, right?

 

One way is to take the depth buffer that A:M can render in OpenEXR format and scale/clip that in a paint program to extract teh range you need for your object inthe scene.

 

You can also do that in A:M

 

http://www.hash.com/forums/index.php?showt...p;hl=extracting

 

 

If the objects you want to convert to grayscale map are all in one model you could apply a white to black gradient material on them and render that inthe model window.

Posted

I couldn't seem to get the depth buffer to see differences on the mesh itself but only as silhouettes of each object in the scene. I wanted to be able to create a bas relief from objects and then cut them.

 

Am I doing something wrong?

  • Hash Fellow
Posted
I couldn't seem to get the depth buffer to see differences on the mesh itself but only as silhouettes of each object in the scene. I wanted to be able to create a bas relief from objects and then cut them.

 

Am I doing something wrong?

 

Possibly, but note that depth map details are typically very subtle shades of gray. I do know that OpenEXR depth buffer do work correctly and my gradient material technique also works, having used it in the past to make displacement maps..

 

I'd have to see your non-working example to know more.

Posted

Depth buffers do work! I remember in the previous version they just produced a silo of the objects.

 

I couldn't get the fog to work since lights interfered with the render and not sure if fog works with an ortho camera.

 

For the depth buffer I needed to invert the image and clip the threshold to the image got gain the most range. Just need to test it on my laser next.

 

If all works well I should be able to produce masters for molding easily from a composition of models as well as some cool wood carvings etc. Lots of fun.

 

Original model is an stl. Seeing that is is possible to do this through AM opens up a lot more flexibilities since I can just plob shapes together and not have to fiddle fart with open surfaces etc.

 

Thanks!

untitled_DepthBuffer0.jpg

orig_model.JPG

  • Hash Fellow
Posted

You can use an extremely long focal length camera which will look almost the same, but for my depth mapping purposes i found the gradient material pretty much got me what i wanted with an orthogonal camera.

Posted

Laser is cutting 3d from the image pretty well, I need to muck around with the speed, wattage and stepping but looks pretty cool from defaults. I'll post some picks when I get my scanner hooked back up.

 

Big thanks!

  • 8 months later...
Posted

I just found an OpenEXR converter that will produce basic bmp files or what ever format you may want to convert it to...

http://www.xnview.com/en/xnconvert/

 

I have been parsing out the exr to multiple layers (Robcats suggestion) and carving them on my laser engraver.

The people that made the driver software for the laser added a new function to simply input the number of passes for a set grayscale height map. This feature was only available on the $50,000+ machines but now is available on the desktop models > $1,500.

Posted

Lasers don't use exr but can import common formats such as gif, bmp, png and jpg so basically they can only use 255 levels max.

I suppose you could make a scene, render out an exr, convert it to a bmp and use it as a displacement map on models. Anyways that converter is free and has batch capabilities. Just something I thought others could find useful.

Posted

Actually not since most laser carvings are well under 1/4" which would translate to .00098". Smaller step than a 3d print.

Half that set on an item that has a 1/8" deep carving.

 

This is ideal for lapel pins, challenge coins, key chains etc.

Join the conversation

You are posting as a guest. 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...