When I bend the cylinder, as shown on the page below, the noise texture inputing to the base color does not "stick" to the cylinder. How I can fix it?
Solved! Go to Solution.
Pref works for me. Maybe the reference points weren't exported?
Hmm, I can't get it to work in mtoa but it's most likely lack of knowledge. How would I set this up? I thought as long as "export reference positions" was enabled I could use pref. But ainoise still "swims" like with world/object space.
Also, how does pref get decided on? From my understanding it was much like object space, but stuck to a "bind pose". But when the geometry gets updated (eg deformed, or components pushed). I imagine a new bind pose reference is exported? How does it keep track of the old one?
I'm clearly missing something here.
In MtoA, you need to create a Texture Reference object.
Not a C4D guy but are you making sure that you have turned on the Export Pref option on the mesh? In Maya, we need to create a pref object ("Texture Reference Object") and after that turn on the export pref option in the arnold section under the mesh.
You have to export the reference object in the Arnold tag, as described here: https://support.solidangle.com/display/A5AFCUG/Export+Parameters
Or you can assign a Stick Texture Tag instead.
Can someone help me fill in the details to get this working in Maya please? @Sachin Shrestha started describing it but a step by step would be super helpful. I think my process is a bit off because I can't get it to work properly.
I've made a texture reference object of the polys I want the texture to stick to. Then I animate them and the texture swims. Export Reference positions is on for both the animated and reference objects. In my 3D camera projection I have 'use texture reference object" checked. I definitely have something jumbled here. Can anyone help?
Thanks in advance -
Answered my own question - the texture reference object works just fine in Maya but there are some things you have to check if you want it to work.
- Make sure the reference object has transformations frozen
- Animate your original AFTER making the pref
Hope this helps someone down the road -
How do i use/connet the Texture reference obect with the Pref space coordinates?
Do you mean the Maya "Texture reference object"? If so, please create a new question in the MtoA space.
The C4D workflow is to use the Stick Texture Tag or reference object export in the Arnold Tag (Export tag). Than you have to use the Pref space in the Arnold shader (e.g. noise) and that's it. (The plugin exports the reference object to a user parameter called 'Pref' which is the default when you select the Pref space in the Arnold shader.)