Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Parallax Mapping

20 REPLIES 20
Reply
Message 1 of 21
ftesla
4401 Views, 20 Replies

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)

20 REPLIES 20
Message 2 of 21
timh5D75Z
in reply to: ftesla

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

Message 3 of 21
RGhost77
in reply to: ftesla

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


Royal Ghost | veda3d.com
Message 4 of 21
giandosopaolo
in reply to: RGhost77

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 😕

Message 5 of 21
madsd
in reply to: ftesla

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.

Message 6 of 21
giandosopaolo
in reply to: madsd

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

Message 7 of 21
madsd
in reply to: giandosopaolo

Ill give it a stab.

Message 8 of 21
giandosopaolo
in reply to: madsd

Thanks Mads!

Message 9 of 21
giandosopaolo
in reply to: madsd

Hi Mads, did you have any luck? 🙂

Message 10 of 21
madsd
in reply to: giandosopaolo

Thanks for the bumping.
Havent had a chance to look at it yet.
Will report back when I got something:

Did you try the OSL version in the meantime?

Message 11 of 21
giandosopaolo
in reply to: madsd

Yes. It loads in Maya Arnold but it does not work sadly.

Message 12 of 21
giandosopaolo
in reply to: ftesla

Bump 😄 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.

Message 13 of 21
giandosopaolo
in reply to: timh5D75Z

Thanks Tim

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


Message 14 of 21

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.

Message 15 of 21
giandosopaolo
in reply to: madsd

Hi Mads,

Question, when you say, "We can build both shaders with core Arnold nodes, hirachy will not be super small, but it should be doable. "

Do you mean that it is possible to obtain a Parallax Occlusion Mapping effect in Maya Arnold just by using the regulat Hypershade nodes?

Message 16 of 21
madsd
in reply to: giandosopaolo

Yeah, but the network will be rather big.
Find any thorough Technical paper on Paralax mapping and use it as pseudo code to wire up nodes, its going to be 100s of nodes though, just as a warning, no there is no tutorial, you have to figure it out by translating information into a setup you build with core arnold nodes yourself 🙂

Else, why does the OSL one not work, are you sure you are setting it up correctly?

Message 17 of 21
giandosopaolo
in reply to: madsd

Hi Mads!

Yes I did read the technical papers, and I understand the principle but I must admit they are a level of math above my technical knowledge atm. Mostly it is hard to understand how to translate it in which precise nodes.


I would LOVE to make the OSL work. And it does load correctly, which it makes it even more frustrating.

http://www.racoon-artworks.de/?p=773

The instructions show how to make it work in 3D Max and I think I imitated the shader tree correctly in Maya, it is just not rendering any parallax, even with a very high Strenght. No effect.


Message 18 of 21
madsd
in reply to: giandosopaolo

You could try post about it in OSL Shaders facebook group, Martin is in it, then highlight his name. Its not really an Arnold related thing, and he is not Arnold user, yet.

Message 19 of 21
giandosopaolo
in reply to: madsd

I texted Martin some months ago. Since he does not use Maya/Arnold he does not think he can help sadly 😕

I can try posting on the OSL facebook group though. Maybe someone can give me a hand. OSL should work cross platform, I am really in the dark on why it is not working.

Message 20 of 21
giandosopaolo
in reply to: madsd

@

I did post it on the OSL forum as you suggested 🙂

So far nobody has answered but I keep my fingers crossed.

BTW, I added here a picture of my Shader tree in comparison to the 3DMax one.

6653-pom.jpg

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report