Arnold for Houdini Forum
Rendering with Arnold in Houdini and Solaris using the HtoA plug-in.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pref in houdini

Message 1 of 8
1795 Views, 7 Replies

Pref in houdini


I'm trying to set up a Pref pass for a simple animated object in houdini/arnold. Im generally a maya user & its as simple as making a texture ref copy of the aniamted object & turning on the pref AOV there, seems not as straight forward in houdini .

any help greatly appreciated


Tags (1)
Labels (1)
Message 2 of 8
in reply to: chris

Did you see the bottom of this page?

// Stephen Blair
// Arnold Renderer Support
Message 3 of 8

there's nothing there
Message 4 of 8

Message 5 of 8

You mean this ;
"The Pref attribute must be of type "Float" (size 3) and sub-type of "Position". In Arnold's terms, it's userdata of type PNT. To add Pref to an object first create a rest node to make the reference pose and then create a Pref attribute."

Adding that with the link would be really helpful
Message 6 of 8

The Pref that this creates has 0, 8, or 16 channels ( depending on the Rest node settings, default creates nothing ), where for example P has x,y & z, this has Pref[0] through Pref [15], and every value is 0.0 except for the first and every 4th channel, which is 1.0. Even if I could figure out how to convert this into a vector or float, everything in the aov would just be solid red.

Message 7 of 8

I should mention that I'm importing/rendering .ass files, non-deforming geo, thanks for any advice.
Message 8 of 8
in reply to: chris

It appears that the Pref value is the *same* as the rest value - ? Unchanged? If that's the case, then all I need to do is get that rendered into rgb, which is pretty straightforward

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report