SU Podium Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
lkatelier

Registered:
Posts: 61
Reply with quote  #1 
Hello, I have found that often my corners for the interiors I do have inconsistent values or blemishes   and do not know what the reason could be. I use wall and floor thicknesses so that there is no light "bleed" from the exterior. Any ideas? Thank you! Living Room Render.png  Living Room Corner Blemishes.png
JustinSlick

Avatar / Picture

Moderator
Registered:
Posts: 785
Reply with quote  #2 
What preset is this?

Blemishes like that are relatively common with interior_default when there are artificial lights turned on. I've found it gets worse as the number of artificial lights increases.

What resolution are you rendering at? Rendering larger than you need does seem to help when you have time.  And interior_high should definitely improve the image if you're not using it.


__________________
What's New in SU Podium?
What's New in Podium Browser?
lkatelier

Registered:
Posts: 61
Reply with quote  #3 
Thank you Justin, for time savings I use the interior default preset (3 _1.0.5). If I have many mouldings I will sometimes use the high preset but I will try it and see if that makes a difference with this model. The resolution is high for printing at 11x17.

Also, any thoughts as to why there is no circle of light washing on the ceiling for the closer sconce as there is for the farther one? The sconces are the same.
bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #4 
It's caused by the same issue - sampling. 

If you look at the image below, you will see the scene divided into a series of 'cells'.

Screenshot 2019-09-06 at 19.42.14 1.png 

The lighting in each cell is the same. Instead of sampling every single pixel in the image (which is what the QMC preset does) the scene is divided into a much smaller number of regions. You will notice that the size of the cells varies across the image. There are smaller (and more) cells in areas where there is more contrast.

This is a multi-stage approach. The first pass stage doesn't have any visible output, it calculates where the cells are to be located and how big they are. It ignores colours and textures and just concentrates on light distribution. The second stage renders those cells, and that is what you can see above.

The high presets take this initial irradiance map and divides it into the same number of cells a second time, refining the result, like this:

Screenshot 2019-09-06 at 19.07.23.png 

The illumination in these cells is blended together to give the impression of smooth lighting across the surface. It simulates the effect you would get by sampling every single pixel in the image - but much faster.

The next stages in the render are to blend the cells together and calculate the effect of the colours/textures, reflections etc.

These stages break down the render process into a series of faster, simpler distinct steps. The resulting images are less accurate, but much, much faster to create. As you have seen, because the algorithms dealing with all these stages have been massively optimised over the past 10-15 years, the quality of the results can be fantastic without taking hours.

Where you get blotches, it's because you have too many samples picking up tiny areas of shade/light or contrast, but not enough samples to get a really smooth even light distribution. In the case of your image, the irradiance map is picking up the distribution of the light on the ceiling and wall of the furthest light because there will be more and smaller cells in that part of the room, because there is more shadow and more contrast.

The wall light which is closest doesn't have enough samples to pick up the subtle light patches on the wall and ceiling.

When you have greater numbers of artificial lights, you get more patches of light, but if you don't have enough samples, you'll get blotches and strange (or missing) patches of light.

The other thing to bear in mind is that each preset fires a fixed number of rays into the scene randomly to generate render cells. The more stuff you have in your scene, and the more complex the lighting, the greater the likelihood of blotches.

When you get issues like this you have 3 choices:

1. Rerender the scene. Because samples are fired randomly, you won't get exactly the same render twice. The lighting will always be different, and you may have blotches, you may not, or you may get different blotches.
2. Turn lights off. 
3. Render using a higher quality preset. Use either an 'high' or a QMC preset. The latter should always be the most reliable and least problematic, but take longer to render.

The image below shows how the QMC preset works. It uses a different way of calculating the render. You can see an even graininess across the image. The dark areas are where photons haven't been fired yet. Every light spot is a photon sample. The render develops slowly. The following screenshots show how the image gradually develops:

Screenshot 2019-09-06 at 19.23.38.png 
Screenshot 2019-09-06 at 19.24.51.png 

Screenshot 2019-09-06 at 19.26.51.png 
Screenshot 2019-09-06 at 19.29.40.png 
We still fire a fixed number of photons into the scene, but we fire far more photons, and the distribution is entirely even.

The reason QMC renders are slightly grainy, is because there aren't enough photons fired for a completely smooth image. We can increase the number of photons, but it will significantly increase render time. You get to a point of diminishing returns in terms of time vs quality, so we fixed the number of photons at their current level.

As you can see, it's just a single stage in the actual render process. There is still the edge smoothing and pixel filtering to be done at the end.

The final renders can be compared below:

1. Exterior Default preset - render time 19 seconds
Materials_preview_300x300_02 2019-09-06 20030600000.png 

2. Exterior High with an additional sampling pass - render time 4 minutes 53 seconds
Materials_preview_300x300_02 2019-09-06 20042500000.png 

3. Exterior QMC - render time 18 minutes 41 seconds

Materials_preview_300x300_02 2019-09-06 20051500000.png 

You can see the graininess in the dark grey squares. There are denoising algorithms we have been testing to improve this.

On this really simple scene you can see that there is a big difference in render time, but not nearly as much difference in the appearance. 

Both of these are much more pronounced with more complex scenes.

These are rendered on my 2013 i7 MacBook Air. Not the fastest machine by any stretch of the imagination, but easily good enough if I organise my scenes better and optimise them for the default presets.

More information on presets here, here and here.
 





__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

lkatelier

Registered:
Posts: 61
Reply with quote  #5 
Thank you Bigstick, this is fantastic information! Thank you for taking the time to explain it. It leads me to another example that I wonder about that I have noticed in areas of my renders where there are large areas of solid colour like the green cabinets in the attached image. The scalloping effect of value variation you see - is that controlled by the choice of preset? Value variation.png 
bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #6 
No, that is caused by one of two things. It's either bracketing caused by jpeg compression, or too much post-processing.

People use jpegs because generally you get good quality with small file sizes. The efficiency of file size is cause by 'compression'.

What this means is that every image file of any resolution has a certain colour depth. Let's say it's the standard 16.7 million colour number you may have heard of. Storing this information in an image file makes it quite large.

Logically, not every image contains 16.7 million colours, but as lighting changes across an image, you get thousands of subtle graduations of different colours and shades across the surface.
If you want to make the image smaller, but preserve the same information, you can say encode an image file like a zip file where say you might get a pixel pattern of red, red, red, green, blue, blue, blue, blue. A compression algorithm can identify these sequences and maybe replace them with a symbol like, say ~. This means that you can reduce the number of data elements in your file to reduce the size. You will need a set of decoding instructions in the file, but depending on the number of duplicated sequences, you may get either a better or worse compression ratio.

Let's say for example that you can list the number of individual colours in your image, omit every 5th colour, and swap it for the closest match. Immediately you will get a 20% reduction in your file size. This is called 'reducing the colour depth'.

Add in the compression that we can also do, and you can see that your image can be made even smaller. 

When we reduce the colour depth, this is called 'lossy compression' because we have lost information in the original image to achieve the compression rate. 

If you look at the image above, it's easy to understand if you think about the image format as omitting every 5th shade which means that if you are swapping to the nearest shade, you get banding, because you have stripped out the more accurate shades in between the stripes.

Png files don't suffer from this quite as badly, so as a rule they can be better quality.

When you post-process an image, your original might not look like it has any banding at all because the colour optimisation process might have been really good. When you start to change the brightness, contrast, exposure or colour balance however, and you apply the effects to an original image which may have imperceptible banding, suddenly you might start to see banding which didn't seem to be there before.

The best way to avoid this is to use the HDR format.

This has 2 benefits. 

First of all we need to think about how cameras work. They can only capture a limited number of brightness levels. This is a physical limitation. Imagine that in any particular environment, there is (say) 50,000 levels of brightness, traditional methods of capturing the images can only accommodate a limited range of these. This is called the standard dynamic range. It kind of works something like this:

Screenshot 2019-09-09 at 16.22.43.png 
It's called bracketing. You can't get the brightest and darkest tones at the same time, you can slide up or down the scale but you will miss a big chunk of the tonal range.

It means that if you take a photograph in a fairly dark room looking towards a window, you will end up with either looking at the detail in the room with the window and outside being over-exposed, or you can see what is outside the window, but the whole room looks dark.

The way modern photography (on your phone for example) overcomes this is to take a number of identical photographs, but at different exposures, and combines them to get the full range of tones. This is called high dynamic range imaging.

Actually this is kind of how our eyes work. We cannot simultaneously look at both the bright and dark areas of a room because our pupils expand and contract to take in more or less light. Our brains do the equivalent of a 'equalisation process' which makes us think we can see a much brighter range of brightness than we actually can.

In rendering, HDR images capture a much larger range of bright and dark areas in an image without these tricks. Because there is a much larger dynamic range, HDR images have a greater colour depth, because shadow is not simply grey, it has colour.

So the first benefit is you have much more subtle realistic lighting in your images.

THe second benefit is because you have a greater colour depth, you have larger (in terms of file size) more accurate images, with a lot more information in them, which means that when you post-process, you don't get the banding in the images. 


So - use HDR and you get a greater colour depth and much more subtle and realistic lighting, and no banding!


__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

lkatelier

Registered:
Posts: 61
Reply with quote  #7 
Thank you for another amazingly informative post BigStick. This entire post is a course! I have noticed the banding occurs more with colour. In my instance the file is a .png as I understood that .png files were better than .jpegs for rendered images. I do not know much about saving or forwarding HDR files so I will do that for my next image however SketchUp does not offer HDR as an export and I use other editing software than Photoshop that also does not have HDR as an export option. Is there a way to use Podium to save as an HDR file? 
bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #8 
You mean like this?

Screenshot 2019-09-11 at 14.46.59.png 

Although the screenshot is from Podium 2.6, the same options are available in V2.5.

Podium Image editor supports editing HDR images.


__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #9 
It's probably also worth mentioning that if you have a phone that takes HDR images, it uses the process outlined above where 'under the hood' the camera combines all the different exposures with different brightness ranges.
If you have an iPhone and you take an HDR image, when you look through your photos, you will see duplicates marked as HDR, but appearing to be slightly more insipid than the non HDR photos. This is because they capture a lot more tonal depth. They will allow you to produce much better results in post-processing.

Apple in particular seems to apply a level of post-processing to SDR images automatically to make them appear more 'contrasty'. This actually often makes them look better, so in many cases you may prefer to use SDR not HDR for most of your photography but it does limit the flexibility.

For challenging lighting conditions, HDR is definitely the way to go though.

Interesting the new iPhone 11 has a feature called 'super HDR'.



__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

lkatelier

Registered:
Posts: 61
Reply with quote  #10 
Thank you very much for all this wonderful and useful info! 😉
bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #11 
You're very welcome.

Although Podium is designed to be as simple and fast as possible to get excellent results, understanding how it works, and how light behaves will actually help you to get the best results in the shortest time.

If we had told you this stuff when you first started using Podium, unless you were pretty experienced at photorealistic rendering, it would probably have baffled you a bit 😉

Anything that helps customers produce better renders is good for us!


__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.