Make Your Most Realistic Renders – Ever!

PhilWPhilW Posts: 5,145
edited December 1969 in Carrara Discussion

First let me say “Sorry” for a long post, about what is basically a very short message, but I genuinely think it deserves it.

Have you ever wished that your Carrara renders looked more realistic? That despite using all the tricks – IBL, full indirect lighting, sub-surface scattering and the rest, that your renders don’t look REAL? OK, they may be good renders, but they are still clearly renders.

I know that I have felt like that, and maybe like me you looked at other renderers like Luxrender and Octane. I know that when Luxus for Carrara was launched, I jumped at it and have been using it a lot, getting used to how to get the best out of it.

Last week, I tried rendering the same scene, with the same HDRI lighting in both Luxus/Luxrender and Carrara’s native renderer. I was astonished at how different they looked. It was just a figure – OK, I expected some differences, but this was way different! The shadows in the Carrara render were too dark, the colours were garish, and yet the Luxrender version looked good. How could the same subject with the same lighting look SO different?

And then I tried something which has changed the way I render with Carrara - forever. With ONE simple change, my Carrara render looked very much like the Luxrender! I tried other subjects, and one after another, they looked so much better, so much more REAL!

I couldn’t quite believe the results I was getting. My first thought – I’ll be honest here – was “How can I make some money from this?”! How can I build this into some training or some product? After all, Carrara users have been crying out for some “magic” which will make their renders look this good.

But the change is something so simple that I can explain it in one sentence. AND (and this is really frustrating!) it has been there in Carrara for YEARS! Surely someone else must know this stuff – but then, wouldn’t everyone know?

So, enough of the hype, I simply decided that the only thing to do was just to tell people, and let everyone make great Realistic renders with Carrara, natively.

All you have to do is – turn on Gamma Correction in render properties and set it to 2.2.

WHAT???!!!! That’s it?

Actually, it doesn’t even have to be 2.2, but that is acknowledged as the best typical value. What do I mean, typical value, I thought you just said no-one knew this stuff?

Let me explain a little. I previously thought, as you probably thought, that Gamma Correction simply lightened up the image, the same that you can do in postwork with Photoshop or other such applications. And if that is the case, I’d prefer to do it in postwork where I have more interactive control.

So last week, when I used Gamma Correction in Carrara and got such a dramatic quality improvement, I started to do some research. There is a lot on the internet about using something called Linear Workflow in 3D rendering. In a nutshell, traditional renderers do all their calculations in linear colour-space and then Gamma Correction can be applied to convert that to show properly on a monitor. But when you select colours and use textures in your surfaces, they are already gamma corrected – they already look right on your monitor! If you just apply gamma correction, the colours and textures look washed out. So they need to have a reverse gamma correction applied, for all materials, then the program does all its calculations, and then the correct gamma is applied to show the resultant image. You can read more by starting with this link if you are interested (and apologies if my explanation is too simplistic or too garbled):

http://www.vfxwizard.com/tutorials/gamma-correction-for-linear-workflow.html

But essentially what this means is that Carrara and other “traditional” renderers have historically been calculating and displaying results in the “wrong” (ie not matching the real world) colour-space. Which is why renders look like renders, and why we have developed a whole range of techniques and strategies to try to get more realistic results, such as adding more (and more) lights.

Now here is the clever bit – when you turn on Gamma Correction in Carrara, it not only adjusts for your monitor’s colour response, it implements a Linear Workflow solution! Under the hood, it does all that “apply the reverse gamma” stuff, so that your renders come out looking more realistic. How do I know? Well, it’s actually in the Carrara 7 Manual! Yes, it was available years ago. Yes, I have read the manual, probably more times than most as I needed to in order to produce the training videos. It is on Page 812 (of 853) and it says:

“Carrara allows you to "gamma correct" your image so that it matches the luminance of your monitor. This allows you to view much more realistic images. With Global Illumination the gamma correction performs more than to correct the image. It also assures that the textures are correctly taken into account in the lighting calculations. Note that an image that is gamma corrected will tend to be much brighter than one that is not.”

This is ALL it says – and it sounds more like a warning not to use it. It is cryptic at best, but the key phrase is the second one, which leads me to believe that a Linear Workflow is what it is doing. No wonder people didn’t know about it, it should have been shouted from the rooftops – which is now what I am trying to do!

A few things to note. While it works to an extent with any render, it seems to work best with Indirect lighting turned on. And it works terrifically well with HDRI lighting, in fact you should probably not use HDRI lighting without it. I have many HDRIs on my hard drive and some of them used to give pretty poor results – too dark, too bright, overexposed highlights, garish colours,etc. With Gamma Correction turned on, they all look fabulous – and realistic.

For maximum realism, you still need great models, great textures, etc. Also, the core lights in Carrara (and others) such as the bulb and spot lights are not physically correct in that the intensity does not fall off according to an inverse square law as it does in nature – because it looked wrong (with a traditional renderer)! With Gamma Correction, lights with proper falloff now look right, so for maximum realism, avoid those lights and use something like an object with a glow shader set to 10000%.

The other great thing is – this is still the Carrara renderer that you know and love. You can still use all the same tricks that you have developed over the years – although you may find that you just don’t need to as much. Everything in Carrara is still supported, such as replicators and dynamic hair – although you will find that dynamic hair renders too light so you will need to add a multiplier into the shader to darken them.

Actually, and particularly for existing scenes, you may need to adjust the lighting and shaders, but hey, we are Carrara users so we are well used to doing that!

And just to say that Luxus for Carrara is still very much worth getting. Luxrender can produce great results where Carrara will struggle, I’m thinking interior lighting particularly.

So what I want you to do, having read all this, is to prove it to yourself. Load up your favourite figure, apply a good shader set, add clothes, pose and hair to suit. Frame the figure in the camera, an upper body shot can look good. Turn off the default light. Go into Scene properties and turn off Ambient Light and add an HDRI image into the background, if it is high res, so much the better, but it will work with any. Go to the render page and turn on Gamma Correction and set it to 2.2. Turn on both GI options – Sky Light and Indirect Light – and ensure that light through transparency (in the GI section) is on. If you have a more powerful machine (or are more patient) you could set Object Accuracy to 0.5 and turn Lighting Quality from Fast to Good or better.

Then hit render and make your most realistic Carrara render ever!

And then share it here.

You will notice that with using just indirect lighting, there are no specular highlights, and the eyes may therefore look a little lifeless. I have some thoughts on this too, but that will have to be a separate post!

Thanks for reading – I hope that this makes you as excited as I have been this last week!

AmySeasideFinal2.jpg
1200 x 1200 - 256K
«13456720

Comments

  • PhilWPhilW Posts: 5,145
    edited July 2013

    Another example... Just to give you an idea, I think both of these rendered in less than 30 mins.

    BeastalkCloseFullFinal.jpg
    1200 x 1200 - 473K
    Post edited by PhilW on
  • PhilWPhilW Posts: 5,145
    edited July 2013

    ...and another done today with Dartanbeck's wonderful Woodlands set, which you should get if you haven't already! This took less than an hour to render, I compromised a little on the indirect lighting to just use the Ambient Occlusion option for speed.

    BrachiosaurFinal.jpg
    1600 x 900 - 338K
    Post edited by PhilW on
  • evilproducerevilproducer Posts: 9,050
    edited December 1969

    Leaves me out. I avoid IL like the plague. I use Skylight sometimes. Never both together. Takes w-a-a-a-y to long to render.

  • evilproducerevilproducer Posts: 9,050
    edited December 1969

    I forgot to add that you've posted some nice images, and some good info. for those that care to use full GI.

  • PhilWPhilW Posts: 5,145
    edited December 1969

    Please don't write it off before you've tried it. I've had great results in a 15 mins render. Heck, with a little optimisation, I think you could render an animation with this! And it is WAY quicker than the Luxrender equivalent.

  • evilproducerevilproducer Posts: 9,050
    edited December 1969

    It's good to know where to set it to begin with, and that it has some use other than being some cryptic setting. I just don't think it has a use for me, since I don't use GI or really have a desire to. I may try it out with the standard renderer to see how it does, but if the best results are reserved for GI, then I don't see much use for it in my personal workflow. I also don't see a need for Luxrender for myself either, but that's just for me.

  • PhilWPhilW Posts: 5,145
    edited July 2013

    It is my personal goal to achieve as realistic renders as possible, and I know that many others share this, but equally I accept that others have different aims and that there is art to be found in all forms of rendering. But Linear Workflow is at the heart of renderers such as Luxrender and Octane and is increasingly being adopted in some form as an option in most high level 3D renderers. So I would recommend at least trying it out, even if you find it does not fit what you want. It is worth giving it a whirl, and it may just knock your eyes out in the same way that it has for me. It is almost too easy to produce consistently great results!

    Post edited by PhilW on
  • DartanbeckDartanbeck Posts: 21,550
    edited December 1969

    Okay, so what about not using HDRI, or is that part of the whole magic? Don't get me wrong. I'm doing as you've asked as we speak. It is taking a quite a bit longer than what I'm used to - being an animation kind of guy. But I'm just wondering about your thoughts of using this idea for more than just HDRI based lighting - say, sunlight and realistic sky?

  • evilproducerevilproducer Posts: 9,050
    edited December 1969

    I'm currently giving it a whirl using the standard renderer. I'll do one render with it and one without.


    I would like to point out that really nice, near photoreal renders can be achieved without GI or Luxrender. I myself have done a couple. ;-)


    No postwork on this one except to paint out some poke through. No levels, gamma or color adjustments period.

    Jousting_copy.jpg
    2000 x 1500 - 2M
  • PhilWPhilW Posts: 5,145
    edited December 1969

    Okay, so what about not using HDRI, or is that part of the whole magic? Don't get me wrong. I'm doing as you've asked as we speak. It is taking a quite a bit longer than what I'm used to - being an animation kind of guy. But I'm just wondering about your thoughts of using this idea for more than just HDRI based lighting - say, sunlight and realistic sky?

    Try it! If you are using any form of indirect lighting, I think it will yield good results. If you are using a lightdome so as not to use Indirect Lighting, the results may not be as dramatic but still worth a try. What have you got to lose!

  • tsaristtsarist Posts: 1,614
    edited December 1969

    Thanks Phil!

  • DartanbeckDartanbeck Posts: 21,550
    edited December 1969

    PhilW said:
    It is my personal goal to achieve as realistic renders as possible, and I know that many others share this, but equally I accept that others have different aims and that there is art to be found in all forms of rendering. But Linear Workflow is at the heart of renderers such as Luxrender and Octane and is increasingly being adopted in some form as an option in most high level 3D renderers. So I would recommend at least trying it out, even if you find it does not fit what you want. It is worth giving it a whirl, and it may just knock your eyes out in the same way that it has for me. It is almost too easy to produce consistently great results!
    Well there's that... but I just love having an experiment asked of me - and this really is as simple to set up as you say it is. I started taxing my brain on where I might have an HDR image. Well... you sent at least one with the Advanced Carrara Techniques set, but I opted to try Dimension Theory's Skies of Terra. His presets, I've just discovered, come set up nearly as you've instructed, but with a light or two, and the Gamma (in my example) set at 1.6 - I'm using a night scene. So I am just using the HDRI, No lights in the scene, Sunlight on, Gamma 2.2, Full Indirect, AA = Good, Lighting = Good
    Linear_1.jpg
    640 x 720 - 284K
  • scottidog2scottidog2 Posts: 319
    edited December 1969

    Thanks PhilW for your wonderful contribution to the Carrara community.

  • DartanbeckDartanbeck Posts: 21,550
    edited December 1969

    Thanks PhilW for your wonderful contribution to the Carrara community.
    Yes. If I somehow forgot to thank you... Count me in on what Scottidog2 said! Oh... and Phil,
    You R O C K !!!
  • WendyLuvsCatzWendyLuvsCatz Posts: 38,201
    edited July 2013

    mmmm even ordinary renders one bulb no IBL it is interesting

    fs000.png
    1920 x 1080 - 2M
    forest_superior000.png
    1920 x 1080 - 2M
    Post edited by WendyLuvsCatz on
  • HeadwaxHeadwax Posts: 9,987
    edited December 1969

    thanks for sharing Phil, looking forward to using this idea !

    Wendy, if you go out in the woods today, you're sure of a big suprize :)


    so be careful!

  • PhilWPhilW Posts: 5,145
    edited July 2013

    Just an extra thought for those who are finding the render times a bit long - try using a Carrara dynamic hair rather than a traditional transmapped hair. Not only will it look better (IMHO) but it renders faster, as it is the transparency which is slow to render, and dynamic hair doesn't use transparency. Just watch out for it rendering too light as stated earlier. Here's another example.

    RebyPaigeHairFinal.jpg
    1600 x 1600 - 427K
    Post edited by PhilW on
  • WendyLuvsCatzWendyLuvsCatz Posts: 38,201
    edited December 1969

    That looks good!

  • PhilWPhilW Posts: 5,145
    edited July 2013

    I have done a number of simple tests comparing Carrara and Luxrender outputs - here is an example.

    TestRoomCmparison.jpg
    640 x 1440 - 111K
    Post edited by PhilW on
  • 3drendero3drendero Posts: 2,024
    edited December 1969

    PhilW said:
    I have done a number of simple tests comparing Carrara and Luxrender outputs - here is an example.

    Thank you Phil, that explains sooooo much.
    Always wondered why Carrara renders were "flat" and bright.

  • EleleElele Posts: 1,097
    edited December 1969

    I ran into a huge problem a while ago when changing the gamma for my car renders: It caused banding in textures with gradients (possibly only for gradients to black) :(

  • PhilWPhilW Posts: 5,145
    edited December 1969

    Elele said:
    I ran into a huge problem a while ago when changing the gamma for my car renders: It caused banding in textures with gradients (possibly only for gradients to black) :(

    I obviously haven't tried every combination so that is useful feedback. I would be tempted to try setting the gradient minimum to a "not quite pure black" to see if that helps?

  • LordGhoulLordGhoul Posts: 43
    edited December 1969

    Phil, this was the single most useful Carrara tip I've ever read!

    Like you I often noticed, but overlooked the gamma correction setting. Now I can't believe that the default setting is unselected!

    I've tested some renders without GI or HDRI maps, just a dome used with environment (anything glows) light and I still see a significant improvement!

    Thanks for sharing this "discovery".

  • scottidog2scottidog2 Posts: 319
    edited December 1969

    No Gamma

    1-V4.2-Hi-Res-No_Gamma_.jpg
    1200 x 1450 - 107K
  • scottidog2scottidog2 Posts: 319
    edited December 1969

    With Gamma 2.2

    2-V4.2-Hi-Res-Gamma-2_.2-TEST_.jpg
    1200 x 1450 - 110K
  • scottidog2scottidog2 Posts: 319
    edited December 1969

    Little Contrast and color correction added

    3-V4.2-Hi-Res-Gamma-2_.2-TEST_Photoshopped_.jpg
    1200 x 1450 - 127K
  • DartanbeckDartanbeck Posts: 21,550
    edited December 1969

    One thing about "default" settings. If you want them to be good for all users - never ever leave them with settings that are super-hard on the computer - as some people haven't yet (possibly never will) built a dedicated workstation.
    I have - but mine is fairly modest: 8 cores @ 3.2 GHz each, 16GB Pro grade, cooled RAM, High-throughput, military class motherboard, blah blah...
    ...and still, I prefer my default settings to be the faster options - I can always increase the quality. If the default is too high, you may have to restart the app before a save - simply by attempting a spot render. Okay... enough on that.

    For this I used Dimension Theory's Carraracter - Delphinia (just one of the HDRI that comes with it), a set that I strongly suggest to anyone interested in digging deeper into super high quality results. He includes some more video tutorial - perspectives that can only be acquired through the creative mind of Jeffrey Felt (Dimension Theory), who I'm sure Phil will also recommend. Perhaps if I have some time later tonight, I'll load one of his shader sets and repeat the experiment. I don't want to give away any of his secrets. But he uses several global shaders you can apply ranging from Basic (which is excellent) through Advanced, Extreme, and finally - Superior. This will give you results closer to what Phil is showing us in his first example - which I can tell has an incredible shader setup!
    My girl, Rosie, is set up for my fast and furious animation renders. I've even taken to reducing her texture maps down to 2000 x 2000 at the highest end of resolution. That is where you'll see my character break down under this sort of experiment - as she is not intended for ultra-realism.

    Using DT's HDRI, I've otherwise followed Phil's instructions. The results really are stunning. The top picture is the experiment as per instructed. The lower is how I normally fake the effect using the highlighting light rig attached to Rosie - so she always has it available - using the defaults I have for her lights - and added in a single distant light at a brightness of 60 casting a slightly yellow-green hue due to what I would do according to seeing the image in the HDR. For that one, the HDRI is not being used as such - but only as a spherical background - no GI or IL - just Rosie's light rig and a single distant light.

    Like I've mentioned above, I think that the blotchiness of Rosie's appearance in the HDRI experiment comes from her lowered resolution. But you can really begin to see that I have successfully optimized her shaders to work with my fast and furious style of rendering and lighting. Well... lighting and rendering. Notice how her eyes sparkle in my fast render. But her hair, I think, looks better in the HDRI version.

    So for this method - I would simply adopt a new method of going for a much more superior set of shaders - to make the image worthy of the much longer render times. I forgot to check the log before starting my next render - but this method definitely makes me have to walk away - as it takes a long time to render the subject. The second image was done as I sat and watched for about four minutes.

    Again: Top Image - HDRI experiment using 2.2 Gamma
    Bottom Image - my usual method of hand placing lights to fake the result

    NonLinear_3.jpg
    1280 x 720 - 472K
    Linear_3.jpg
    1280 x 720 - 507K
  • DartanbeckDartanbeck Posts: 21,550
    edited December 1969

    After seeing them here, I now remember that one of the lights in Rosie's rig which should be casting soft shadows is not - which adds to the speed. Once I turn that soft shadow to where it needs to be, it will take a minute or two longer - but still only a fraction of the time.

    Still - the GI method certainly turns out amazing results with little to no fuss. To do it my way - you have to have experimented for a few years - or already know how to light your scene - which likely took a few years... because there is nothing automatic about it.

    With this HDRI, GI, IL, Gamma 2.2 method, there is no such setup required - which is a huge boon to the method! You can always add some subtle source light somewhere if you feel your scene needs one - say, for the eyes. Rosie has her own special light in her rig with the sole purpose of adding shine to her eyes that took months or longer to tweak to where I really like it.

  • DartanbeckDartanbeck Posts: 21,550
    edited December 1969

    Thank you, Phil...
    This is awesome knowledge! Now I'll be messing around with ways to optimize such a method - see if I can speed it up some... try various other experiments using Gamma Correction!

  • PhilWPhilW Posts: 5,145
    edited December 1969

    Yeah, the suggestion of only using an HDRI is really just a starting point. I usually add a low level "normal" light to pick up some highlights, although another way to add highlights is to add a small amount of reflection to any shiny surfaces - 1 or 2% should be enough to get highlights, but keep the surface looking shiny rather than reflective.

Sign In or Register to comment.