Hey guys,
I am working with Unreal 4.19 and Houdini Engine. I am trying to use dynamic lighting using mesh distance fields and am finding that houdini hda meshes don't show up in Unreal's mesh fields. This happens even when I bake the geo in unreal and place it in the scene from the content browser.
In Unreal, I tried setting the “Distance Field Resolution” to 1 on the hda actor and baked geometry, but it didn't help. On the baked geo I also tried checking on “Generate Mesh Distance Field” but that didn't help either.
I included the simple Box.hdalc for testing and a gif showing me placing a regular unreal box and then the hda and toggling on and off “Viewport>Show>Visualize>Mesh Distance Fields”
Funny enough, while first placing the hda, the houdini logo mesh shows up in the Mesh Distance Field before cooking to the box.
I am wondering if there is just a setting I am missing somewhere, or if this is a bug I should report.
-bk
HDA Geo not visible in Unreal Mesh Distance Field
6047 8 3- briankulig
- Member
- 34 posts
- Joined: 11月 2007
- Offline
- mark0s
- Member
- 15 posts
- Joined: 10月 2016
- Offline
- briankulig
- Member
- 34 posts
- Joined: 11月 2007
- Offline
Thanks mark0s! Yeah I figured that out. I am gonna see if I can set it as a uproperty so I don't have to place and then recook it each time. Puts an unnecessary steps in the workflow.
Strangely when I baked the geo it stayed in the wrong state despite changing the "Distance Field Resolution Scale” to a proper value. But yeah, changing the value and recooking definitely fixes it.
Thanks again!
Strangely when I baked the geo it stayed in the wrong state despite changing the "Distance Field Resolution Scale” to a proper value. But yeah, changing the value and recooking definitely fixes it.
Thanks again!
- Len
- Member
- 133 posts
- Joined: 7月 2007
- Offline
- briankulig
- Member
- 34 posts
- Joined: 11月 2007
- Offline
- dpernuit
- スタッフ
- 553 posts
- Joined: 9月 2016
- Offline
- Len
- Member
- 133 posts
- Joined: 7月 2007
- Offline
- Len
- Member
- 133 posts
- Joined: 7月 2007
- Offline
- GlenD
- Member
- 118 posts
- Joined: 12月 2013
- Offline
LenWe are using v2 of the plug-in and it is not working for us as well. Were you able to find a solution?
@dpernuit: Ok, we've made the jump to v2 but now that detail attribute doesn't seem to work any more.
Just to clarify, we are trying to set the Distance Field Resolution Scale in the LOD 0 details.
Glen
Edited by GlenD - 2022年5月16日 09:18:49
-
- Quick Links