question

Francis Tesla avatar image
Francis Tesla asked ·

Parallax Mapping

Hello,

Is it possible to create a Parallax Mapping effect with a height map and a normal map using Arnold ?

parallax

(DECALmachine for Blender)

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.

Mike Samoylov avatar image
Mike Samoylov answered ·

You can try this one OSL shader http://www.racoon-artworks.de/?p=773

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.

I tried it in Arnold for Maya. It loads correctly but it does not do anything :/. It also outputs in XYZ which is confusing as it should be plugged in the texture UV, leaving one channel out :/

0 Likes 0 · ·
Mads Drøschler avatar image
Mads Drøschler answered ·

We can build both shaders with core Arnold nodes, hirachy will not be super small, but it should be doable.
Just realy weird, you are the second person mentioning that there is problems with OSL in Maya.

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

Would it be possible for you to create a working Parallax Occlusion shader for Arnold? It would be so amazing! :D

0 Likes 0 · ·

Ill give it a stab.

0 Likes 0 · ·

Thanks Mads!

0 Likes 0 · ·
Show more comments
Paolo Giandoso avatar image
Paolo Giandoso answered ·

Hi @ Max Hi @ Mike

I actually managed to make the OSL shader work!

The trick is that it needs to use aiImage nodes instead of the default Maya File nodes, as the Maya default nodes do not allow UV cordinates manipulation (as far as I understood).

There is no OSL Parallax Occlusion shader that supports PDO and Silhouette Clipping yet.

These features are quite awesome and very convenient for large scenes.

(it would be amazing if Arnold would develop something like this).

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.

Paolo Giandoso avatar image
Paolo Giandoso answered ·

Bump :D Any idea on this topic guys? @MadsDrøschler You said "We can build both shaders with core Arnold nodes, hirachy will not be super small, but it should be doable". I'd be massively interested to learn how to do it.

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.

Tim Harding avatar image
Tim Harding answered ·

Yes, you could try adapting something like this to Arnold: https://catlikecoding.com/unity/tutorials/rendering/part-20/

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

Thanks Tim

I am not a technical person sadly. I am afraid I would not even know where to start :/


0 Likes 0 · ·

I know how to use Maya Arnold nodes but that's it. That is why I was oping there was a OSL shader doing the trick in Arnold, or a way to built a similar effect using maya Arnold utility nodes.

0 Likes 0 · ·

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.