Export Displaced Geometry

   3472   6   3
User Avatar
Member
117 posts
Joined: Nov. 2011
Offline
I have some nice looking shapes that I have created using Texture Displacement in Principal Shader, I would like to export them as .bgeo files with the Displacement Baked into them (converting them to true Geometry). How can I achieve this?
Brad Schreiber
User Avatar
Staff
2540 posts
Joined: July 2005
Offline
The Side Effects Games GitHub repository has a nice SOP Baker ROP that should do what you want. It is meant to bake out maps and geometry for use in a Principled shader workflow (think Substance) and to be brought in to Unreal and Unity.

https://github.com/sideeffects/GameDevelopmentToolset [github.com]

If you are using H16.5 recent builds, you can go to the Games shelf and there is a single tool should be called something like Install Games Tools. Press that button and Houdini will download from that GitHub repository above and install the latest version of the tools. In that package should be the baker.
There's at least one school like the old school!
User Avatar
Member
117 posts
Joined: Nov. 2011
Offline
Thanks Jeff- but that looks like it only makes texture Maps- I am looking to render out Geometry with the displacement- not making Texture Maps to take another app.
Brad Schreiber
User Avatar
Member
4 posts
Joined: Aug. 2017
Offline
Actually I'm currently working on the project where I use this technique.

1. Create “uv texture”
2. Create “Attribute VOP”
3. Inside Attribute VOP, put “uv” and “first input” as shown on the screenshot.
4. In the “color map” you just put the texture you would like to displace.
5. “Substract constant” is there just to push it a little out.

screenshot: https://gyazo.com/3b8dd2dd367c2aeb5bb9bb8c56c2961b [gyazo.com]

Hope it helps
Houdini Indie
Windows 11 Pro / RHEL 9
AMD 3970X - 256GB RAM
User Avatar
Member
117 posts
Joined: Nov. 2011
Offline
Thank you Mark, this does work but the look is quite different from the texture displacement. Cant seem to quite find the solve for this yet.
Brad Schreiber
User Avatar
Member
117 posts
Joined: Nov. 2011
Offline
Here is the project I am working on- the .Zip contains my Texture Setup and the displace file I am using. It would be great if someone knows why this is not working.

Attachments:
Displacement.zip (6.4 MB)

Brad Schreiber
User Avatar
Member
117 posts
Joined: Nov. 2011
Offline
Here I finally found the tutorial that got me there. Mark I believe this is what you were showing me, I may have made an error along the way.

Thank you everyone!

https://vimeo.com/214082744 [vimeo.com]
Brad Schreiber
  • Quick Links