zveris Posted November 22, 2002 Share Posted November 22, 2002 Is there a simple way in houdini to generate a range map betvean plane and an object and export it as a bitmap? thx in advance aivaras@3ddesign.be learn, learn, learn and at the end of the day you will find that there is an ... upgrade Quote Link to comment Share on other sites More sharing options...
Jason Posted November 22, 2002 Share Posted November 22, 2002 what do you mean, a range map? do you mean distance between the ground and a object? vertical distance or nearest distance? (either of these are dead-easy to do, but i'm not sure I understand you) cheers, j ps. - let me add that this is easy to do in SOPs and as a shader solution. which do you prefer? Quote Link to comment Share on other sites More sharing options...
Jason Posted November 22, 2002 Share Posted November 22, 2002 well, i had a couple of minutes, so here is a hipfile with all three solutions. all work the same way, basically. *) the sop methods use the ray sop to compute the distance to the surface and then colours the point colours. you can render this with a constant shader (one that's aware of point colours, viz. the VEX Layered Surface -not the VEX Constant.) *) the shader method also fires a ray in the direction of the normal and crams the distance into the output colour. look at the very simple VOPnet for how I did this. you can render these either top-down or unwrap it with mantra -u.. (you will probably have to tweak the scene and put the plane and ball in seperate objects for this... and assign texture coords, but thats easy enough to do.) i hope this helps you out, jason. nearest.zip Quote Link to comment Share on other sites More sharing options...
zveris Posted November 22, 2002 Author Share Posted November 22, 2002 Thank you Jason, thats precisely wkat i was looking for. Love vop stuff, think I will go for it Thanks again aivaras Quote Link to comment Share on other sites More sharing options...
alexdez Posted November 26, 2002 Share Posted November 26, 2002 Hi Jason! Could you please explain hou to use mantra -u function? As far as i know there is no written documentation on it. So how the hell it works? I guess we all would be very appreciated if you show us explanation in a small scene attached. Thanx in advance Alex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.