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
SYS-CON Events announced today that Super Micro Computer, Inc., a global leader in compute, storage and networking technologies, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Supermicro (NASDAQ: SMCI), the leading innovator in high-performance, high-efficiency server technology, is a premier provider of advanced server Building Block Solutions® for Data Center, Cloud Computing, Enterprise IT, Hadoop/...
Amazon has gradually rolled out parts of its IoT offerings in the last year, but these are just the tip of the iceberg. In addition to optimizing their back-end AWS offerings, Amazon is laying the ground work to be a major force in IoT – especially in the connected home and office. Amazon is extending its reach by building on its dominant Cloud IoT platform, its Dash Button strategy, recently announced Replenishment Services, the Echo/Alexa voice recognition control platform, the 6-7 strategic...
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
Bert Loomis was a visionary. This general session will highlight how Bert Loomis and people like him inspire us to build great things with small inventions. In their general session at 19th Cloud Expo, Harold Hannon, Architect at IBM Bluemix, and Michael O'Neill, Strategic Business Development at Nvidia, discussed the accelerating pace of AI development and how IBM Cloud and NVIDIA are partnering to bring AI capabilities to "every day," on-demand. They also reviewed two "free infrastructure" pr...
Judith Hurwitz is president and CEO of Hurwitz & Associates, a Needham, Mass., research and consulting firm focused on emerging technology, including big data, cognitive computing and governance. She is co-author of the book Cognitive Computing and Big Data Analytics, published in 2015. Her Cloud Expo session, "What Is the Business Imperative for Cognitive Computing?" is scheduled for Wednesday, June 8, at 8:40 a.m. In it, she puts cognitive computing into perspective with its value to the busin...
SYS-CON Events announced today that Hitachi, the leading provider the Internet of Things and Digital Transformation, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Hitachi Data Systems, a wholly owned subsidiary of Hitachi, Ltd., offers an integrated portfolio of services and solutions that enable digital transformation through enhanced data management, governance, mobility and analytics. We help globa...
Blockchain is a shared, secure record of exchange that establishes trust, accountability and transparency across supply chain networks. Supported by the Linux Foundation's open source, open-standards based Hyperledger Project, Blockchain has the potential to improve regulatory compliance, reduce cost and time for product recall as well as advance trade. Are you curious about Blockchain and how it can provide you with new opportunities for innovation and growth? In her session at 20th Cloud Exp...
Cognitive Computing is becoming the foundation for a new generation of solutions that have the potential to transform business. Unlike traditional approaches to building solutions, a cognitive computing approach allows the data to help determine the way applications are designed. This contrasts with conventional software development that begins with defining logic based on the current way a business operates. In her session at 18th Cloud Expo, Judith S. Hurwitz, President and CEO of Hurwitz & ...
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
Everyone wants to use containers, but monitoring containers is hard. New ephemeral architecture introduces new challenges in how monitoring tools need to monitor and visualize containers, so your team can make sense of everything. In his session at @DevOpsSummit, David Gildeh, co-founder and CEO of Outlyer, will go through the challenges and show there is light at the end of the tunnel if you use the right tools and understand what you need to be monitoring to successfully use containers in your...
Financial Technology has become a topic of intense interest throughout the cloud developer and enterprise IT communities. Accordingly, attendees at the upcoming 20th Cloud Expo at the Javits Center in New York, June 6-8, 2017, will find fresh new content in a new track called FinTech.
SYS-CON Events announced today that Interoute, owner-operator of one of Europe's largest networks and a global cloud services platform, has been named “Bronze Sponsor” of SYS-CON's 20th Cloud Expo, which will take place on June 6-8, 2017 at the Javits Center in New York, New York. Interoute is the owner-operator of one of Europe's largest networks and a global cloud services platform which encompasses 12 data centers, 14 virtual data centers and 31 colocation centers, with connections to 195 add...
In recent years, containers have taken the world by storm. Companies of all sizes and industries have realized the massive benefits of containers, such as unprecedented mobility, higher hardware utilization, and increased flexibility and agility; however, many containers today are non-persistent. Containers without persistence miss out on many benefits, and in many cases simply pass the responsibility of persistence onto other infrastructure, adding additional complexity.
@DevOpsSummit at Cloud taking place June 6-8, 2017, at Javits Center, New York City, is co-located with the 20th International 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 wait for long developm...
The age of Digital Disruption is evolving into the next era – Digital Cohesion, an age in which applications securely self-assemble and deliver predictive services that continuously adapt to user behavior. Information from devices, sensors and applications around us will drive services seamlessly across mobile and fixed devices/infrastructure. This evolution is happening now in software defined services and secure networking. Four key drivers – Performance, Economics, Interoperability and Trust ...