Jump to content

Create Custom Displacement Map


violalyu

Recommended Posts

Hi everyone!

 

Does anyone have any experience about creating displacement map in Houdini? For example, I have a grid, and I have a vector attribute that I want to use as vector displacement value, is there a way to bake that into RGB on a map using Houdini? Or is there a way to connect it somehow in the shader for displacement directly? I have seen some tutorials for creating it using VOPCOP, but I didn't succeed in bringing in my attribute. Thanks a lot!!!

Link to comment
Share on other sites

8 hours ago, davpe said:

you can bring your vector attribute directly into the shader (bind VOP). no need for baking (although you can do that as well with baketexture ROP). mantra offers awesome possibilities here. 

Thanks Davpe! I will try this first, but it would be better if texture maps could be generated, similar to what Houdini does for the Ocean shelf tool, in ocean render they will bake out the displacement maps, and they were using VOPCOP, is it the same context that using bind we can bring in attributes in VOPCOP? Thanks a lot!!!

Link to comment
Share on other sites

never used ocean shelf tool so I can't say. what do they use VOPCOP for? if you only want to use your attribute as a displacement you don't need any steps in between... unless you want to texport to a different app.

Link to comment
Share on other sites

2 hours ago, davpe said:

Thank you so much David! I'm researching on topics for my MFA thesis, and there's a paper that proposed a method to post-process FLIP simulation and up-res them by generating surface points, do wave simulation on them and compute and generate the turbulence details in the form of bump or displacement maps. I thought it would be really useful to set these up in Houdini, so I originally was thinking that maybe it would works the same as the ocean tool where they simulate and generate a range of displacement map for a coarse surface.

The only concern here is that I'm not quite sure how to integrate the displacement vop part into the preseted material such as the basic liquid, I've dived into the vop net and it's kind of intimidating, I thought it would be easier if I export displacement maps and apply them on the basic liquid. But thank you so much for sharing, it is really helpful to me!

  • Like 1
Link to comment
Share on other sites

I see. well it's hard to come up with any suggestions on implementing this without taking a closer look at what are you doing.

in general though, I suggest you to stay away from shelf tools. not that its bad, it just more designed to do some specific effects quickly. when it comes to modifying stuff inside it may get quite tedious and hard to navigate (as you found out) as it typically contains a huge amount of nodes that are just building a user interface or doing some convenience stuff you're gonna change anyway. with building things from scratch you'll do much better even if it may seem harder at the beginning.

btw. in the shader you can use displace VOP that offers Vector displacement preset that actually is doing what you want (displace by rgb texture)

Edited by davpe
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...