Normal / Bump Replacement

Discussions about rendering in SOFTIMAGE©
Falam

Normal / Bump Replacement

Post by Falam » 24 Feb 2013, 00:26

This is a awesome shader I came across, unfortunately it's only available for Maya as I was told directly from Stefan :) It would be nice if this could be written for Mental Ray and Softimage :ymdaydream: :)

forton
Posts: 210
Joined: 25 Nov 2011, 16:57

Re: Normal / Bump Replacement

Post by forton » 24 Feb 2013, 08:01

He says it's implemented for mental ray, wouldn't that work in softimage then?
I think it's the same shader that exist for lightwave, a guy named Denis Pontonnier implemented a series of renderman shaders into nodes for Lightwave http://dpont.pagesperso-orange.fr/plugi ... des_2.html, making lightwave renderer from basic to pretty advanced for it's time.
Some of these I would love to see in mentalray!

P.S. I think the code is freely available, could someone please...? ;)

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: Normal / Bump Replacement

Post by rray » 24 Feb 2013, 10:35

That would probably be easy to pack for SI, sadly it's not public.
There's the 'parallax' shader by Ben Rogall but it's 32 bit only.
out of options...
softimage resources section updated Sep 26th 2026

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: Normal / Bump Replacement

Post by Hirazi Blue » 24 Feb 2013, 11:05

The version downloaded directly from Ben Rogall's site
seems to include 64 bit dlls as opposed to the one in the rray.de local backup.
Haven't tested this shader myself, though.
;)
Stay safe, sane & healthy!

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: Normal / Bump Replacement

Post by rray » 24 Feb 2013, 11:41

Ah missed that one. He 'advertises' it as slower than displacement, but that's with shadows it seems. Without self shadowing it should be faster.
softimage resources section updated Sep 26th 2026

Falam

Re: Normal / Bump Replacement

Post by Falam » 24 Feb 2013, 14:43

This can achieve displacement-like effects, except at the edges of an object ?
Maybe I'm missing something :) How is this different from the Normal Map shader within Softimage ?

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: Normal / Bump Replacement

Post by rray » 24 Feb 2013, 15:54

It does parallax mapping (see his site) which shifts surface details around instead of just modifying the shading. The shader you discovered does modify the relief in addition, which is even one step cooler.
softimage resources section updated Sep 26th 2026

Falam

Re: Normal / Bump Replacement

Post by Falam » 24 Feb 2013, 17:04

rray wrote:It does parallax mapping (see his site) which shifts surface details around instead of just modifying the shading. The shader you discovered does modify the relief in addition, which is even one step cooler.
Can we get that one extra step cooler ? :)

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: Normal / Bump Replacement

Post by rray » 24 Feb 2013, 18:12

I don't think so, unless Ben's shader does that already (Which I guess it doesn't, but not sure)
Let us know if you get some nice results out of it )
softimage resources section updated Sep 26th 2026

Falam

Re: Normal / Bump Replacement

Post by Falam » 24 Feb 2013, 18:50

rray wrote:I don't think so, unless Ben's shader does that already (Which I guess it doesn't, but not sure)
Let us know if you get some nice results out of it )
Will do, I hope I do :)

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 22:38
Location: St. Thomas, Ontario

Re: Normal / Bump Replacement

Post by Daniel Brassard » 25 Feb 2013, 00:51

Relief mapping shader information.

http://http.developer.nvidia.com/GPUGem ... ter08.html

I love reading the GPU Gems books. So much information.
$ifndef "Softimage"
set "Softimage" "true"
$endif

BenR
Posts: 92
Joined: 11 Jun 2009, 18:52

Re: Normal / Bump Replacement

Post by BenR » 25 Feb 2013, 03:04

I haven't thought about that shader in a long time. I wonder if it will work with recent versions of Soft. Anyway, the algorithm I implemented uses ray-marching to find the intersection point ("steep parallax mapping"). This should provide the same results as the relief mapping algorithms, which I believe is a synonym. The GPU Gems article that Daniel referenced is really interesting. It includes a method of improving efficiency using distance maps and "sphere tracing" which I was not aware of. It's interesting that all of these methods were developed with real-time rendering in mind.
Ben

Falam

Re: Normal / Bump Replacement

Post by Falam » 25 Feb 2013, 04:24

BenR wrote:I haven't thought about that shader in a long time. I wonder if it will work with recent versions of Soft. Anyway, the algorithm I implemented uses ray-marching to find the intersection point ("steep parallax mapping"). This should provide the same results as the relief mapping algorithms, which I believe is a synonym. The GPU Gems article that Daniel referenced is really interesting. It includes a method of improving efficiency using distance maps and "sphere tracing" which I was not aware of. It's interesting that all of these methods were developed with real-time rendering in mind.
Ben
Maybe you can help me Ben or someone can :)

Image

The shader is not working, rather it's rendering my object completely black ?

Daniel - Sorry if I'm mis-understanding, is that link you posted similar in how it displaces geometry to the link I had originally posted ? One of the issues I have with Normal Mapping is AA, what Stefan produced which is only a maya shader is breathless, not quite sure I understand the technology behind it, it is effective for Mental Ray. Although if you are using a RenderMan compliant render which I also use, displacements can be just as fast. I don't know how to write Renderman shaders, and the tools that are available that are good and free are only for Linux :(

BenR
Posts: 92
Joined: 11 Jun 2009, 18:52

Re: Normal / Bump Replacement

Post by BenR » 25 Feb 2013, 15:50

Sorry, that shader is so old that I am not surprised that is not working.
Ben

Falam

Re: Normal / Bump Replacement

Post by Falam » 25 Feb 2013, 22:28

BenR wrote:Sorry, that shader is so old that I am not surprised that is not working.
Ben
:(

grahamef
Posts: 281
Joined: 23 Jun 2009, 19:01

Re: Normal / Bump Replacement

Post by grahamef » 25 Feb 2013, 22:34

Falam wrote:
BenR wrote:Sorry, that shader is so old that I am not surprised that is not working.
Ben
:(
Someone -- I'm pretty sure it was Daniel Rind -- had a simpler (i.e. non-steep) parallax map shader that was a compound of standard nodes. I believe it was on xsibase but there may still be a copy of it floating around somewhere. In fact I might even have it somewhere among my files.

EDIT: Found it!
You do not have the required permissions to view the files attached to this post.
Last edited by grahamef on 25 Feb 2013, 22:50, edited 2 times in total.