Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

how to render reference position pass in arnold c4d

how to render reference position pass in arnold c4d

Not applicable
1,006 Views
4 Replies
Message 1 of 5

how to render reference position pass in arnold c4d

Not applicable

i have rendered pref pass from c4d which is not giving any output

0 Likes
1,007 Views
4 Replies
Replies (4)
Message 2 of 5

Stephen.Blair
Community Manager
Community Manager

What pref pass?

The reference position is stored as Pref user data. So use a user data shader to get the Pref user data, and write that to an AOV



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 5

1598757518thl
Observer
Observer
I have tried adding Pref to the User data a few times,Or add user data shaders in Netwok editor but the resulting Pref channel is still missing.Are there any demonstration steps on how to use Pref
0 Likes
Message 4 of 5

peter_horvath
Autodesk
Autodesk

First you have to add an Arnold tag to your object and enable Export reference points. That will create the Pref user parameter on the Arnold shape. Then you need to read the data from this parameter with a user_data_rgb shader and write to your custom AOV with an aov_write_vector shader.

peter_horvath_0-1717576464899.png

 


// Peter Horvath
// C4DtoA developer
Message 5 of 5

1598757518thl
Observer
Observer

Very effective! I have already rendered it.

 

Thank you for your professional answer.

0 Likes