Welcome!

Blog Feed Post

Zbrush to Houdini - Displacement Map Workflow

This is a quick walk through explaining how to get your ZBrush 3.x detailed model to render properly in Houdini 9/10 using ZBrush produced displacement maps. I found a number of links about this, but some were a little confusing as they talked about how to do this for older versions of Houdini. Apparently things have become much simpler since Houdini 9.x/10. I'd like to thank the guys at odforce for helping me with this.

First open up your detailed model in ZBrush:

From Learning 3D


Switch down to subdivision level 1 if you're not already there.

We need to create a UV set. You could do this in some other program or even in Houdini, but this method seems to work fine too. Open up the Tool>Textures sub palette and click on GUVTiles. This will create a a UV set.

From Learning 3D


Verify this by clicking on the CheckUV button - this will check UVs and if there are problem vertices, then they'll be highlighted in red. You'll get the resulting grey scale image in your current texture slot. You can turn this off if everything is OK.

From Learning 3D



Now that UV's are in place we can export the tool. Click on the Tool>Export sub palette and make sure that only Obj, Qud (for Quads), and Txr are toggled. Leave the rest toggled off.
From Learning 3D


In houdini create a new Geometry object, and add a File SOP. Import the newly exported obj file that saved out in ZBrush.
From Learning 3D


Now back to ZBrush to setup and create our displacement map. Go to the Tool>Displacement sub palette and make sure that the Adaptive and SmoothUV buttons are toggled on. DPRes is the height/width of the resulting displacement map image, set that to whatever you want (I believe the usual suggestion of power-of-2 for sizes is still relevant).

From Learning 3D


Go to the ZPlugin menu, and open up the MULTI DISPLACEMENT 3 sub palette. Click the Export Options buttons to bring up the settings dialog.

From Learning 3D


The quick settings code is "DE-JCHK-EACADA-4D_D32". That's the top entry in the screenshot. Take a look at the actual settings this is affecting. Scale is set to "Auto", Smooth and Seamless are turned on, and, most importantly for Houdini, Vertical Flip is set to true. Accept the settings, and then create the map, by clicking on the Create All button in the ZPlugin > MULTI DISPLACEMENT 3 sub palette. This will start the process, and, depending on your model and computing power, may take a while. Once the files are saved you should end up with at least one tif file that has "4D_D32" in it's file name. This is the displacement map we'll be using in Houdini. Here's an example:

From Learning 3D


Back in Houdini we need to bring in the displacement map. That's really easy, just go to the Material Palette and drag out a new Basic Displacement shader:

From Learning 3D


Go back to the Geo node and we can see that we do have UVs in our imported geometry:

From Learning 3D


Note the "uv" attribute that's now present. Add a Material SOP node and set the Material property to point to the newly added Basic Displacement shader that you just added.

From Learning 3D


Open up the settings for the displacement shader and change the Overall Scale to "10", turn on Use Displacement Map, and set the Displacement Map path to point to your displacement map tif you created in ZBrush.

From Learning 3D


At the scene level, select your geo node and go to the Render tab, and in there select the Geometry tab. Toggle on Polygons as Subdivision (Mantra). Under the Render>Dicing tab you can also play with the Shading Quality values but I didn't find them to make a really big difference.

From Learning 3D


At this point you should be able to render and get some great results. Here's a sample of what I was able to get. First the ZBrush renders

From Learning 3D


From Learning 3D


Next a Houdini render without the displacement map applied:

From Learning 3D


Now with the displacement added:

From Learning 3D


From Learning 3D


Note that the geometry we have in Houdini is a lo res version of the model, in the example here that's a model with 100,000 vertices vs. over 6 million that were used in the final subdivision level in ZBrush!

Read the original blog entry...

More Stories By Jim Crafton

Jim Crafton is software developer currently doing a variety of work in C++, C#, and Java. He is the author of the Visual Component Framework (more at http://vcf-online.org/), an advanced C++ application framework. He's also interested in graphics, particularly 3D graphics using tools like Houdini and ZBrush.

Latest Stories
"Peak 10 is a hybrid infrastructure provider across the nation. We are in the thick of things when it comes to hybrid IT," explained , Chief Technology Officer at Peak 10, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"I will be talking about ChatOps and ChatOps as a way to solve some problems in the DevOps space," explained Himanshu Chhetri, CTO of Addteq, in this SYS-CON.tv interview at @DevOpsSummit at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We are focused on SAP running in the clouds, to make this super easy because we believe in the tremendous value of those powerful worlds - SAP and the cloud," explained Frank Stienhans, CTO of Ocean9, Inc., in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
While the focus and objectives of IoT initiatives are many and diverse, they all share a few common attributes, and one of those is the network. Commonly, that network includes the Internet, over which there isn't any real control for performance and availability. Or is there? The current state of the art for Big Data analytics, as applied to network telemetry, offers new opportunities for improving and assuring operational integrity. In his session at @ThingsExpo, Jim Frey, Vice President of S...
"As we've gone out into the public cloud we've seen that over time we may have lost a few things - we've lost control, we've given up cost to a certain extent, and then security, flexibility," explained Steve Conner, VP of Sales at Cloudistics,in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
Your homes and cars can be automated and self-serviced. Why can't your storage? From simply asking questions to analyze and troubleshoot your infrastructure, to provisioning storage with snapshots, recovery and replication, your wildest sci-fi dream has come true. In his session at @DevOpsSummit at 20th Cloud Expo, Dan Florea, Director of Product Management at Tintri, provided a ChatOps demo where you can talk to your storage and manage it from anywhere, through Slack and similar services with...
The financial services market is one of the most data-driven industries in the world, yet it’s bogged down by legacy CPU technologies that simply can’t keep up with the task of querying and visualizing billions of records. In his session at 20th Cloud Expo, Karthik Lalithraj, a Principal Solutions Architect at Kinetica, discussed how the advent of advanced in-database analytics on the GPU makes it possible to run sophisticated data science workloads on the same database that is housing the rich...
"At the keynote this morning we spoke about the value proposition of Nutanix, of having a DevOps culture and a mindset, and the business outcomes of achieving agility and scale, which everybody here is trying to accomplish," noted Mark Lavi, DevOps Solution Architect at Nutanix, in this SYS-CON.tv interview at @DevOpsSummit at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We are an IT services solution provider and we sell software to support those solutions. Our focus and key areas are around security, enterprise monitoring, and continuous delivery optimization," noted John Balsavage, President of A&I Solutions, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"We want to show that our solution is far less expensive with a much better total cost of ownership so we announced several key features. One is called geo-distributed erasure coding, another is support for KVM and we introduced a new capability called Multi-Part," explained Tim Desai, Senior Product Marketing Manager at Hitachi Data Systems, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
There is a huge demand for responsive, real-time mobile and web experiences, but current architectural patterns do not easily accommodate applications that respond to events in real time. Common solutions using message queues or HTTP long-polling quickly lead to resiliency, scalability and development velocity challenges. In his session at 21st Cloud Expo, Ryland Degnan, a Senior Software Engineer on the Netflix Edge Platform team, will discuss how by leveraging a reactive stream-based protocol,...
DevOps at Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to w...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
"The Striim platform is a full end-to-end streaming integration and analytics platform that is middleware that covers a lot of different use cases," explained Steve Wilkes, Founder and CTO at Striim, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
SYS-CON Events announced today that Calligo, an innovative cloud service provider offering mid-sized companies the highest levels of data privacy and security, has been named "Bronze Sponsor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Calligo offers unparalleled application performance guarantees, commercial flexibility and a personalised support service from its globally located cloud plat...