検索 - User list
Full Version: Multiple Pivot Points Stored in Vertex Color/UV Channel
Root » Houdini Engine for Unreal » Multiple Pivot Points Stored in Vertex Color/UV Channel
antoniocappiello_fx
Hi guys,
I'd like to export a static mesh with multiple pivot points. The goal is to be able to rotate and/or move each one independently by vertex shader inside UE4. Do you know how to store those datas by using vertex color and/or uv channel inside Houdini and then extract them into the unreal engine shader?

Thank you!

I paste a youtube video for more clarification of what I'd like to achieve.

https://www.youtube.com/watch?v=xfiFQ8dOo5Y [youtube.com]
digitallysane
What you want is to use the Pivot Painter shader functions in UE, and to emulate the PivotPainter toolset they offer for MAX.
We just RFE's that, RFE ID 79888.

https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/Functions/Reference/PivotPainter/ [docs.unrealengine.com]
https://docs.unrealengine.com/latest/INT/Engine/Content/Tools/PivotPainter/ [docs.unrealengine.com]
chrisgreb
I was playing around with this by very simply copying (biased and scaled) pivot x,y,z into Cd and then extracting them in the material to make some wavy boxes. Though it would be ideal to have a helper node on the Houdini side to emulate the existing PivotPainter convention.
antoniocappiello_fx
Hey there!
Thx so much, I'm going to try your solutions!

In the while I solved it by assigning randomly to each sub-mesh group an RGB channel and then I could be able to move each group separately by the vertex color node inside UE4.

Can't wait to test your methods =]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB