Tue, Nov 19, 7:29 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 18 10:25 pm)



Subject: Non-Closeup Realism - using clay in shader tree


bagginsbill ( ) posted Fri, 30 September 2005 at 12:43 PM ยท edited Tue, 19 November 2024 at 6:56 AM

Content Advisory! This message contains nudity

file_293477.jpg

We've all seen closeups that that look great. I've seen several people posting that this is easy to do but that wider shots don't look real. So I'm posting my latest experiments to fix the problem.

I believe that the biggest problem is the built in diffuse color lighting model. Its seems wrong for human skin. It's also wrong for an ordinary painted wall. I was moving a camera around in a scene and noticed that as I changed my viewing angle of a wall behind the figures, it got enormously lighter or darker. I know that diffuse lighting is not that strongly affected by viewing angle. The flaw this produces in skin is that surfaces at the edge of the figure are too dark. Skin seen edge-on is nearly as bright as skin thats 45 degrees off the viewing angle.

So I started to play with the clay node. It basically does a diffuse model but this node has some additional control that the regular diffuse node doesn't. It has a parameter for roughness. Microscopically rough surfaces have tiny planes pointing in lots of different directions. The cumulative affect of this is that brightness should not fall off strongly as viewing angle changes.

Using the clay node alone gave me some trouble. I eventually settled on mixing 70% diffuse node with 30% clay node. This I plugged into the alternate diffuse channel and turned off the regular diffuse altogether.

Plugging both the diffuse and clay nodes into my existing work on faking skin imperfections and sub-surface scattering, I got the results you see in this picture.

I've placed two Jessi and two V3 figures in the scene. (Forgive the crappy props - I just wanted to get the sense of them being in a room instead of a photo shoot.) One of each uses the stock textures they come with, and one of each uses my shader tree.

Can you guess which is which? :)

The Jessi and V3 shader trees are identical, except for switching out the correct texture for the model. This tree should work pretty well for any texture you have.

I'll post a screen shot of the shader tree next.

(Please note - in order to keep the image under this forums 200K limit, there are some artifacts. The original looks better.)


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Fri, 30 September 2005 at 12:44 PM

file_293478.jpg

If you can't grab some of the colors exactly, let me know and I'll post the RGB values.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


Foxseelady ( ) posted Fri, 30 September 2005 at 12:57 PM

I'm not on the up to date with all this, but thank you for your explanation, I think I may try playing around with your instructions based on what is already there when I open it, bet I can figure it out easier with this hands on explanation....and you know until now I never realized about the angle of objects, cameras and lights fading....good catch! Let me guess you went to school and now you are a genious!! ;) Your results are awesome.


manoloz ( ) posted Fri, 30 September 2005 at 2:03 PM

Very enlightening thanks!

still hooked to real life and enjoying the siesta!
Visit my blog! :D
Visit my portfolio! :D


4blueyes ( ) posted Fri, 30 September 2005 at 2:10 PM

Thank you for the explanation, the shader works very good, though I can barely understand what is going on there :) 4be


momodot ( ) posted Fri, 30 September 2005 at 2:34 PM

Looks good. Will have to review off-line. Thank you.



diolma ( ) posted Fri, 30 September 2005 at 3:10 PM

@bagginsbill: Just a thought... Have you tried "Edge Blend"? "The Edge Blend node blends color nodes based on surface and camera angles" (from the manual...) What you have done looks excellent; it's just possible that edge blend may be able to achieve the same effect at less cost... I don't know, haven't tried it, (can't try it at the moment), just tossing balls in the air and seing where they land..:-)) Cheers, Diolma



stewer ( ) posted Fri, 30 September 2005 at 4:08 PM

Attached Link: http://www.runtimedna.com/mod/forum/messages.php?ShowMessage=86904

Yes, the clay node is very useful. I use it for almost any material, and just tweak the roughness parameter. A while ago, I did a quick roundup of the options you have for alternate diffuse and specular on RDNA - click the link to read it.


face_off ( ) posted Fri, 30 September 2005 at 4:44 PM

Agghhhh, Rendo ate my detailed response to this thread. In summary....looks great. Jessi not right (see her left thigh) - glowing too much. Colorramp looks off to me - adding red at the top-end, which is the opposite to what would happen in reality. Like the idea of plugging the texturemap into the spots - very efficient.

Creator of PoserPhysics
Creator of OctaneRender for Poser
Blog
Facebook


bagginsbill ( ) posted Fri, 30 September 2005 at 7:53 PM

Glad you all find this interesting.

Face_Off - Lost your fabulous detailed response did you? I've done that too. That's why I now prepare what I'm going to say in textpad away from the browser. THEN I refresh the page and paste in my reply. There is some kind of timeout on rendo that prevents replying more than some amount of time after you read the post.

Anyways... I understand that you think the colorramp should not add red to middle - should add red to shadows right? But remember my experiment with "microscopic" skin model a week ago or so? There was MORE red in the middle, not less, according to that model. Is it realistic? Not sure. But lots of ppl are responding to that skin so I think its at least some kind of improvemnt.

Now I noticed a while ago that all your shaders were heavy on the red in the shadows and edges. In particular, in all your pics, the deepest shadows are never "gray", they are clearly red. I added that to my shader a different way. The edge_blend_3 - see that pink on outer_color? That DARKENS the edges to be more red like your shaders. Frankly, I've been carefully studying lots of people in real life and lots of photos - I think the "red shift" of shadows is an artifact of FILM AND LIGHTS, not real life. I have never seen a real person whose "dark side" was red shifted. But film seems to do that and that's what we are used to seeing.

That's my theory - what do you think?

Also, please try my shader with the red color ramp turned off (i.e. set the color_math addere value_2 to black). Do two figures in same light like I've done here. Tell me what you think. I think the red shift up for surfaces TOWARD camera and red shift DOWN for surfaces AWAY from camera is producing more realism that either alone.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


mathman ( ) posted Fri, 30 September 2005 at 8:01 PM

.


bagginsbill ( ) posted Fri, 30 September 2005 at 8:01 PM

Diolma - I'm using edge blend and am very familiar with it. The reason I'm talking about clay is that the poser model for diffusion is too simplistic and doesn't work for skin. You need a way to control how much light fades as the surface shifts away from the camera. I understand edge blend is directly related to the surface-camera angle, but it doesn't take into account the suface-light angle. The diffuse and clay nodes use BOTH the surface-camera and surface-light angles. If I had a node that ONLY did surface-light angles, it would be great. In any case, I didn't want to do something altogether different that diffuse lighting - its just that I didn't think the falloff was accurate. BTW: It may be that I could use ONLY the clay node. But the controls were very hard to get what I was looking for.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Fri, 30 September 2005 at 8:08 PM

Oh Face_off - forgot to tell you. In this picture, my back light was getting shadow from one figure to another. So I cheated and turned it to no shadows so I could get the Blinn highlight on all four figures. Of course with her left hand over her thigh, it shouldn't glow like that, nor would it if I had the shadows turned on for it. Also, I really wasn't working closely with Jessi. Her texture sucks, as we've both pointed out before. I just threw her in to show the improvement, while never promising that the result for Jessi was acceptable. However, I think V3 is looking more believable. Still not photo realistic. But the improvement over the original is clear, right? Personally, I don't think that Firefly *** can *** render photorealistically. I've played with POV-Ray a lot in the past and radiosity has IBL and AO beat hands down. I've done a couple renders of poser scenes in pov - the workflow is a pain. I'm trying to find ways to make Firefly generate believable images. After all, it is a lot faster to try out ideas with Poser/Firefly alone. Plus I like the challenge. One of these days I may take these figures into POV-Ray, work out all the tedious conversions of textures, and let the thing chug away for 8 to 10 hours. I bet the results would, indeed, be nearly photographic.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Fri, 30 September 2005 at 8:15 PM

Attached Link: http://www.povray.org/community/hof/mouille.php

By the way, the render in this link is the most impressive example of realistic lighting and atmosphere I've ever seen. This was done *** 5 years ago *** in POV-Ray. I'm pretty sure that Poser/Firefly can't touch it.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


quixote ( ) posted Fri, 30 September 2005 at 8:41 PM

.

Un coup de dรฉs jamais n'abolira le hazard
S Mallarmรฉ


nakamuram ( ) posted Fri, 30 September 2005 at 9:24 PM

Impressive!! Now to apply those nodes to all of the Millenium Material Zones...


Robo2010 ( ) posted Fri, 30 September 2005 at 9:24 PM

Whoa!..this is an awesome thread. Got me on the hot seat (interested) bagginsbill. :-) Been fighting for this to.


mathman ( ) posted Fri, 30 September 2005 at 9:26 PM

bagginsbill, that is amazing work. I didn't realize that povRay could do that !


stewer ( ) posted Fri, 30 September 2005 at 9:44 PM

"Now to apply those nodes to all of the Millenium Material Zones... ShaderSpider?


dlfurman ( ) posted Fri, 30 September 2005 at 10:37 PM

Slightly OT. I'd love to see the code for that POV-Ray image. WOWSA!

"Few are agreeable in conversation, because each thinks more of what he intends to say than that of what others are saying, and listens no more when he himself has a chance to speak." - Francois de la Rochefoucauld

Intel Core i7 920, 24GB RAM, GeForce GTX 1050 4GB video, 6TB HDD space
Poser 12: Inches (Poser(PC) user since 1 and the floppies/manual to prove it!)


maxxxmodelz ( ) posted Fri, 30 September 2005 at 11:00 PM ยท edited Fri, 30 September 2005 at 11:02 PM

file_293479.jpg

***"Anyways... I understand that you think the colorramp should not add red to middle - should add red to shadows right?"***

This is a good example of how SSS should be represented. It doesn't make shadows red, and I don't think Paul (face_off) is indicating that it should.

Different lighting situations, of course, will yield different results on the skin, but this is basically a standard of how highlights, SSS, and shadows play off the skin.

This isn't a render, it's actually a photo from the Scream 3 movie poster (all rights reserved), but it seemed like the perfect example of where SSS actually occurs, and how it looks in a single-light situation. If Rendo wants this removed due to possible copyright situations, I understand. Hopefully it will be OK. Message edited on: 09/30/2005 23:02


Tools : ย 3dsmax 2015, Daz Studio 4.6, PoserPro 2012, Blender v2.74

System: Pentium QuadCore i7, under Win 8, GeForce GTX 780 / 2GB GPU.


odf ( ) posted Sat, 01 October 2005 at 1:11 AM

.

-- I'm not mad at you, just Westphalian.


starmage ( ) posted Sat, 01 October 2005 at 2:21 AM

Interesting. I'll keep an eye on this thread. Realism is always a tough nut to crack in Poser.

Only your mind limits yourImagination. Let it free.


PabloS ( ) posted Sat, 01 October 2005 at 5:25 AM

.


TrekkieGrrrl ( ) posted Sat, 01 October 2005 at 7:07 AM

file_293480.jpg

This is PERFECT! It REALLY adds to realism on full body shots and the best thing is it renders FAST! THANKS! The only thing I did different is that I set the diffuse colour to a light grey, with the black, the whole character foes flat black in preview and it's impossible to do for instance expressions when you can't see what you're doing *G* And thanks to P6's abillity to save whose material sets, I can use this on any character with one click now :D

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You justย can'tย put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
ย  Using Poser since 2002. Currently at Version 11.1 - Win 10.



Marque ( ) posted Sat, 01 October 2005 at 7:41 AM

.


LostinSpaceman ( ) posted Sat, 01 October 2005 at 1:16 PM

Care to upload that P6 mat file so the rest of us don't have to manually follow that image above? (Hell yeah! I'm lazy when I can get away with it!)


TrekkieGrrrl ( ) posted Sat, 01 October 2005 at 1:49 PM

I wouldn't mind uploading it. But my version calls for David's map (and some other eyes that were far prettier than David's default ones), so if you haven't got that, or it's installed somewhere else, you'll probably get an error

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You justย can'tย put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
ย  Using Poser since 2002. Currently at Version 11.1 - Win 10.



Khai ( ) posted Sat, 01 October 2005 at 1:52 PM

may I suggest making a 2nd version - one that say points to Dork's maps then upload that one? (it would be version neutral then for 5/6 and if you don't have david etc.)


TrekkieGrrrl ( ) posted Sat, 01 October 2005 at 2:22 PM

Mmm that's actually a good idea. Only it ought to be to some character that has separate head- and body maps or there's a LOT to edit... Perhaps to Don/Judy?... they're included in both P5 and P6 as well...

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You justย can'tย put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
ย  Using Poser since 2002. Currently at Version 11.1 - Win 10.



TrekkieGrrrl ( ) posted Sat, 01 October 2005 at 2:40 PM

file_293481.jpg

Right. Here it is. Based on Posette's tex because I found out my P5 characters were placed weirdly in my P6. I HOPE it works in P5 too. Download the txt file and rename it to [whateveryouwant].MT5 and place it in your Runtime/libraries/materials folder.

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You justย can'tย put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
ย  Using Poser since 2002. Currently at Version 11.1 - Win 10.



LostinSpaceman ( ) posted Sat, 01 October 2005 at 3:39 PM

Even with someone else's texture it's easy enough to change the texture file than it is to recreate the whole mat file from scratch so thanks!


bagginsbill ( ) posted Sat, 01 October 2005 at 3:51 PM

Folks, I'm not at my Poser PC on weekends so I can't post the mat. But be aware some of the things that look black aren't black and some that look white aren't white. A few are pink and a few are really dark gray. Why don't they show the RGB values in the UI so we can exchange screenshots of nodes easily??????!? The color_math in the file in post # 31 above, for example, seems to be set to black on the second channel. If you leave it like that, you won't get any of the frontal pinking. I'll post an update on Monday with all the colors. Glad you find this interesting. I didn't know the a material file was just ASCII text. I'd have uploaded before instead of using screenshots. Can I just do Attach File for any post? If so I'll put materials up from now on. I thought the forum Attached file was only for pictures. If I can post materials and light sets, that would be great. I find people trying out my materials don't get what I do because the lights they use are very different.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


TrekkieGrrrl ( ) posted Sat, 01 October 2005 at 4:46 PM

Yeah just save the file as .txt (rename the .MT5 to .txt) and you can post it here :o) All Poser files are plain txt files :) And I did notice the lsight pink :o) AND that the colour ramp was different dark red colours :o)

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You justย can'tย put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
ย  Using Poser since 2002. Currently at Version 11.1 - Win 10.



bagginsbill ( ) posted Sat, 01 October 2005 at 5:42 PM ยท edited Sat, 01 October 2005 at 5:44 PM

file_293482.jpg

Ok here is the material for V3 high res texture.

I looked inside and it mentions the V3 textures twice. Wierd.

In the future, how about I put in a simple color node and label it "PUT YOUR TEXTURE HERE"? Would that be good?

I wish renderosity had something better than the freestuff area. I'd like to see a place where we could post materials+lights+props, etc and you could put the screen shots, explanations, and actual files all together nicely. Then we could compare notes much more easily.

Oh well - here ya go. After downloading just rename and remove the ".txt" part and replace with ".mt5".

Message edited on: 10/01/2005 17:44


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


LostinSpaceman ( ) posted Sat, 01 October 2005 at 7:07 PM

Content Advisory! This message contains nudity

file_293483.jpg

I used TG's first file on Koji with his textures and came up with this first attempt. Any explaination on why his feet are so light?


Saro ( ) posted Sat, 01 October 2005 at 9:19 PM

This is very helpful. How nice of you to share your findings with the all of us! Thank you for your efforts.


bagginsbill ( ) posted Sun, 02 October 2005 at 7:30 AM

file_293484.jpg

Maxxxmodelz -

Of course I have no proof but that photo you posted is, in my opinion, NOT an unmodified photograph. It has obvious photoshopping clues. Somebody was messing around to get a more scary effect.

Look carefully at the RIGHT side of her skin, just along the hairline. See how its red there too? That can't be SSS.
The overall tone (blooming white, to yellow, to red) is a pattern I see in lots of badly edited photos. Its a common artifact of letting the software try to enhance contrast without a human judging the result.

As evidence, I am posting another photo image. The one on the left is, I think, realistic. I made the one on the right by doing a single contrast adjustment in photoshop. Does the coloring there look familiar now?


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Sun, 02 October 2005 at 7:33 AM

By the way - I see a lot of poser renderings that look like this too - white bloom with yellow fringe. Its because the lights are on too high. As I've said before, after you like your lights - turn them all down 10% one more time. Works wonders.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


face_off ( ) posted Sun, 02 October 2005 at 5:28 PM

Bagginsbill : Red shift in film....I agree - there is heaps of redshift (sss) in film - a lot more than in reallife. However that could be explained in that they use very bright studio lights - so lots of light going through peoples skin. That's why I though the "Incidence Effect" was such a great way to simulate it. The colorramp simply applied a redshift to everything, which could give which unrealistic effects. "should add red to shadows right?"....Mmmmm, no - that's not what I think. I agree if you - there should be more redshift in the mid-tones. Shadows and Specular should have no redshift. But you coloramp is adding red to the upper end. The reason a lot of my renders have red shadows is because I'm using th incidence effect from a main light at the camera - so parallel polys will have some red added - which matches most photo's taken with a flash....you'll never see a black shadow on skin, since the bright flashlight creates a lot of sss on those areas. I'm not sure I agree on your logic with the edge-blends. Light penetrates the skin the same way, regardless of the viewers perspective. SSS is red tinted light coming out of the skin from light entering somewhere else. The camera position doesn't impact the sss. It's happening regardless of the camera position. So to add camera position dependant nodes in there just doesn't sound right to me. See http://www.renderosity.com/viewed.ez?galleryid=1007361 - notice the sss is only on parts of her skin that are parallel to the main light (which is off to the right) - very noticeable on her right arm. And the shadows are still black. IMO, the skintones in this render are pretty close to a photo, and I'm just not sure you would get this with edge_blends. If I get time today I'll do a comparison render. Specular on the other hand IS camera dependent - so should have lots of edge_blends (I think there is 3 in the Realism Kit node setup). Max's photo - the right side of her hair is red because it's light coming from just left of the shadow into the shadow. This is excellent research - keep coming with it. Would be good to see some more renders using the clay technique using different lighting - 1 render isn't enough to really get a full assessment.

Creator of PoserPhysics
Creator of OctaneRender for Poser
Blog
Facebook


Robo2010 ( ) posted Sun, 02 October 2005 at 6:18 PM

file_293485.jpg

I was finally able to do this. (Image) This is my result, although before rendering this is what I get (inner pic). The rendered result is awesome.


face_off ( ) posted Sun, 02 October 2005 at 6:27 PM

file_293486.jpg

Apologies in advance Baggins for posting a comparison render. I used the node setup in post #35 and rerendered the scene from my post 40 to see how they compared. I swapped in the original texturemaps - so everything except the nodes is identical. I think the clay method was let down a little in that there is no warming off of the shadow-to-light transition, and also, the highlight have yellowed off (maybe due to the colorramp). Anyway, interesting to see the comparion.

Creator of PoserPhysics
Creator of OctaneRender for Poser
Blog
Facebook


starmage ( ) posted Sun, 02 October 2005 at 6:29 PM

file_293487.jpg

This was Steph Petite with Blackhearted's Irina texture.... Standard 3 light setup in Poser6 with Firefly render.

Only your mind limits yourImagination. Let it free.


starmage ( ) posted Sun, 02 October 2005 at 7:29 PM ยท edited Sun, 02 October 2005 at 7:31 PM

file_293488.jpg

This ones V3 with Fashion Maps

I originally tried this with an IBL light setup but got white dots all over the place..... Weird.

Settled on the Winter Queen Light setup edited to add : Didn't realise this looks so blotchy :( Maybe I did something wrong on this one....

Message edited on: 10/02/2005 19:31

Only your mind limits yourImagination. Let it free.


Spanki ( ) posted Sun, 09 October 2005 at 9:28 AM

Bookmarking for future reference.. thanks for the discussion.

Cinema4D Plugins (Home of Riptide, Riptide Pro, Undertow, Morph Mill, KyamaSlide and I/Ogre plugins) Poser products Freelance Modelling, Poser Rigging, UV-mapping work for hire.


Niles ( ) posted Wed, 19 October 2005 at 9:26 PM

marker


n3k0 ( ) posted Thu, 20 October 2005 at 12:24 AM

bookmarking :-)


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.