Hello all;
I'm working on some procedural environment creation tools using Houdini Engine, Unreal, and Substance.
The first ‘proof of concept’ tool creates small islands for a swamp-type environment, based on a user-generated spline curve in Unreal.
I also have a substance graph that generates plausible textures for any mesh the .hda produces, and I'd like to automatically generate the textures (using substance) without leaving Unreal, or manually tracking exported meshes.
The ideal workflow would look like this (everything apart from the spline creation happening automatically):
Draw spline > Generate high-res mesh > generate low-res mesh > bake utility maps for substance graph > feed maps into substance factory > generate final textures from .sbsar > apply final textures to material instance
I have each of these steps working independently, but it seems that it's not possible to wrap substances, or baking tools, inside a .hda. Manually exporting and tracking 50+ hi/lo-res meshes is going to be a pain.
Potential approaches:
1. Have sbsbaker.exe packaged as part of the .hda
Problem: Currently not possible with the current version of Houdini Engine, maybe not ever
2. Execute ‘GameDev Simple Baker’ from within Unreal, and import the resulting maps
Problem: Doesn't work from within Unreal (maybe because Houdini Engine for UE4 is lacking mantra?)
3. Automatically export high / low-res meshes from Unreal, and call Substance Automation Toolkit to bake the required maps using python
Problem: Might be possible to call .sbsbaker (through python) from within HE, but the meshes would have to be exported from Unreal automatically, which I don't think HE can do.
I assume a lot of people have tried to do this - am I missing something? If it's not currently possible, where is the smart money on the workflow that would turn up first?
Many thanks for the help
Baking substance maps in Houdini Engine
5380 7 1- Scribbler
- Member
- 11 posts
- Joined: April 2017
- Offline
- filipw
- Member
- 135 posts
- Joined: March 2018
- Offline
- FFD
- Member
- 80 posts
- Joined: Feb. 2018
- Offline
- Scribbler
- Member
- 11 posts
- Joined: April 2017
- Offline
- Neonzone
- Member
- 30 posts
- Joined: April 2015
- Offline
- dpernuit
- Staff
- 534 posts
- Joined: Sept. 2016
- Offline
You should normally be able to use the simple baker in UE4.
As with any ROP, you however need to add that node to the editable node list of the HDA (in the type properties).
Clicking the button actually modifies the node, and that requires it to be editable.
The simple baker is a little more complex, since it has multiples ROPs (Some of them already editable), but you actually need to add the simple baker sop to the editable nodes of your HDA, as well as the ropnet inside it. (and the rop_fbx if you intend to use it)
That being said, we found a bug last week with the simple baker SOP that confuses Houdini Engine / HAPI and makes it ignore the output geometry.
But once it's fixed, the simple baker SOP could be used in HE plugins (as long as the relevant node are marked as editable).
As with any ROP, you however need to add that node to the editable node list of the HDA (in the type properties).
Clicking the button actually modifies the node, and that requires it to be editable.
The simple baker is a little more complex, since it has multiples ROPs (Some of them already editable), but you actually need to add the simple baker sop to the editable nodes of your HDA, as well as the ropnet inside it. (and the rop_fbx if you intend to use it)
That being said, we found a bug last week with the simple baker SOP that confuses Houdini Engine / HAPI and makes it ignore the output geometry.
But once it's fixed, the simple baker SOP could be used in HE plugins (as long as the relevant node are marked as editable).
- DASD
- Member
- 453 posts
- Joined: Feb. 2013
- Offline
There is a Substance plug-in for Houdini.https://forum.substance3d.com/index.php/board,47.0.html?PHPSESSID=e89a1efca9e26982c5876c87424b591f [forum.substance3d.com]
Last time I checked it was not ideal. It is maintained by the Substance people and really needs some love.
Has anyone tried it recently? Has anyone tried it in combination with Houdini Engine?
Last time I checked it was not ideal. It is maintained by the Substance people and really needs some love.
Has anyone tried it recently? Has anyone tried it in combination with Houdini Engine?
- mikelyndon-sesi
- Member
- 394 posts
- Joined: May 2017
- Offline
-
- Quick Links