Project: Renderman Shaders

I’ve been working with the Shader Builder in DAZ Studio lately. To learn more about how it works and using it to write shader code, I’ve been converting some of the reference shaders from the Renderman Companion site and Fundza into Shader Builder Networks. Here are some of the results so far…

Gooch

MK Gooch shader from Renderman Companion.

MK Gooch shader from Renderman Companion.

Screen

Uses the Screen shader from Renderman Companion.

Uses the Screen shader from Renderman Companion.

I’m struggling some with the screen. You can see on Aiko that the bands of the screen aren’t aligning properly. So I tried using the transform function to change the coordinate space that is used for determining the gridlines. Here are the results using each transform…

S & T coordinates translated to Camera space.

S & T coordinates translated to Camera space.

S & T coordinates translated to Object space.

S & T coordinates translated to Object space.

S & T coordinates translated to Shader space.

S & T coordinates translated to Shader space.

S & T coordinates translated to World space.

S & T coordinates translated to World space.

S & T coordinates translated to Screen space.

S & T coordinates translated to Screen space.

S & T coordinates translated to Raster space.

S & T coordinates translated to Raster space.

S & T coordinates translated to Normalized Device Coordinates (NDC) space.

S & T coordinates translated to Normalized Device Coordinates (NDC) space.

 

It seems to me that the Object space works best to remove the seams, but still isn’t perfect; so I implemented the “Show ST” shader which shows the S & T coordinates for the models.

ShowST

You can see from the render here that Aiko 4 has some seams in her UV maps that may be hard to get rid of.

Uses the Show ST shader from Renderman Companion.

Uses the Show ST shader from Renderman Companion.

Advertisements

1 Comment »

  1. Grotten Olm Said:

    Hi! I just found your UV coordinates shader (ShowST). Is there a way to use it for myself? I would pay for it. Thanks, Kay


{ RSS feed for comments on this post} · { TrackBack URI }

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: