Parallax Mapping

Parallax Mapping

ftesla
Observer Observer
11,493 Views
23 Replies
Message 1 of 24

Parallax Mapping

ftesla
Observer
Observer

Hello,

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

parallax

(DECALmachine for Blender)

0 Likes
11,494 Views
23 Replies
Replies (23)
Message 21 of 24

giandosopaolo
Advocate
Advocate

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

0 Likes
Message 22 of 24

maxim_fischerQXMAP
Explorer
Explorer

Hi,

 

would it be possible for you to share your shader? I can't get it to work right.

 

-Maxim

0 Likes
Message 23 of 24

2689081964
Advocate
Advocate

I actually tried, and I succeeded in restoring the parallax effect perfectly. However, I definitely don't recommend you to do this. This rendering is super slow, which is super cosmic. I posted a post on the forum, and it needs to superimpose nested nodes many times, which even makes maya files directly damaged and can no longer be opened, and the whole scene has only a simple plane.

0 Likes
Message 24 of 24

maxtarpini
Collaborator
Collaborator

(view in My Videos)

 

Still a bit problematic but should end up in rtoa v2.0 ! Sure it's super fast !

Last interaction in the video is with Detail Suppression mode set to Smart .. it filters high frequency details for better depth effect.

rombo_parallax_mathparser.jpgromboparallax_filter_smart.jpg

0 Likes