question

Oleg Ronzhin avatar image
Oleg Ronzhin asked ·

How i can "stick" noise texture to the deformed object when using Pref space coordinates?

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?

noise
u.jpg (269.8 KiB)
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Dade Orgeron avatar image
Dade Orgeron answered ·

Try changing the Coordinate Space setting of the noise node to uv.


uv-space-001.png (93.3 KiB)
Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Zeno Pelgrims avatar image
Zeno Pelgrims answered ·

Is there an explanation for why the PREF space doesn't work though?

5 comments Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Pref works for me. Maybe the reference points weren't exported?

0 Likes 0 · ·

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.

0 Likes 0 · ·

In MtoA, you need to create a Texture Reference object.

1 Like 1 · ·
Show more comments
Mr Baiking avatar image
Mr Baiking answered ·

How do i use/connet the Texture reference obect with the Pref space coordinates?

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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.)

0 Likes 0 · ·
Justin Z avatar image
Justin Z answered ·

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 -

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Justin Z avatar image
Justin Z answered ·

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 -

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

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.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Sachin Shrestha avatar image
Sachin Shrestha answered ·

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.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Oleg Ronzhin avatar image
Oleg Ronzhin answered ·

Yes, it works, thanks =)

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.