Mathew Lamb

Mathew Lamb

About Me

Creative Director for Hololens @ Microsoft

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Baking out various displacements to texture Feb. 22, 2021, 4 p.m.

Hi all,


I am trying to bake out the position delta between an un-displaced model and a displaced model and have run into a couple of (3) problems:

- In the Labs Map Baker 'Position' should do it for me, but there doesn't appear to be any means of normalizing the position space so it fits within an 8bit image - there is only the flag to enable position baking - no range settings for X,Y and Z. Have I got this right?

- In the standard texture baker (Mantra) I'm also having no luck - vector displacement (Vd) appears to not align with my calculations (made by subtracting P_displaced from P_undisplaced. Again - have I gotten the use of this correct?

- I could solve all of this by baking out an arbitrary point attribute - I can calculate delta-P in an Attribute Wrangle SOP. My problem with this is I'm not sure how to make either the Labs Map Baker or the traditional Mantra baker see the custom attribute - I have tried a few ways and have so far drawn a blank. Any guidance on how to do this?

(Apologies for the cross-post - I also added this question to an existing thread in the 'Houdini Realtime' forum - first time using this forum for ages and I'm not sure how much traffic it gets)


many thanks - Mathew

Map Baker Displacement texture workflow Feb. 22, 2021, 1:45 a.m.

Hi there,

thanks for posting this thread - I'm going to add my question to it as it is related.

I need to bake out position delta between an un-displaced model and a displaced model.
- in the maps baker 'Position' should do it for me, but there doesn't appear to be any means of normalizing the position space so it fits within an 8bit image - there is only the flag to enable position baking - no range settings for x,y and z
- in the standard texture baker I'm also having no luck - vector displacement appears to not align with my calculations (made by subtracting P_displaced from P_undisplaced.

I could solve all of this by being able to bake out an arbitrary point attribute - I can calculate this easily in an Attribute Wrangle SOP. My problem with this is I'm not sure how to make either the map baker or the Mantra baker see the custom attribute - any guidance on how to do this?

many thanks - Mathew