SU Podium Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
BillW

Registered:
Posts: 8
Reply with quote  #1 

I'm pretty new to Podium, and I've been amazed (and frustrated!) during the learning process. There's a lot I could use help with, and this forum, which I recently discovered, is a source of inspiration and tips.

I have two current frustrations: so-called "light leaks" and wood grain direction. I've attached pics that demo both issues: 1 of my SU viewport and 1 of the Podium render (interior bright default, but it doesn't seem to matter which preset I use). OK, not so great, but it illustrates my problems.

I found some information on the light leaks, and I'll continue to read about how to resolve this, other than post-processing (however, any help will definitely be welcome).

The wood grain direction issue (see the side of the nightstand) is consistent, no matter which of my two Windows machines I use (Win10-i5 & Win11-i9) and no matter what variations I try (e.g, different wood grains; different parts in different groups). I spend time sizing and orienting the grain textures, but Podium seems to do whatever it wants. Clearly, I'm missing something.

I'm grateful for any help.

Bill
16M-BR_Podium.png  16M-BR_SU.png 


bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #2 
Texture orientation is really easy to resolve.

1. Make sure you have all your faces orientated consistently. If you know about back and front faces, you'll know that they need to face outward. If not, have a look here: https://www.youtube.com/watch?v=Y3kJlaXiNcA

2. Assign all your textures directly to the front face. Leave the back face the default texture or make it match the front.

3. Make sure that any groups or components do not have textures assigned to them. You can assign textures to faces or groups and components. Don't mix them within a group/component. Conflicts create problems.

Fix those and textures will work faultlessly every time.

The bright presets are for spaces with little or no natural, direct sunlight - turn SU shadows on. Don't use them for any other situations. The reason they are brighter is because the photon power is doubled, which is not physically accurate and you sometimes get weird lighting effects. It's better to use the default preset and brighten in post-processing. That's kind of how our vision works.

Resist the temptation to over-illuminate your scenes because that's how you think the world really is. It creates unrealistic images and washes out shadows from bounced light. If you have ever taken a photograph indoors and found that it'l a lot darker than you 'see' it, it's proof that the camera has captured and accurate view, and your brain is compensating for the lack of light. Simulate that and you'll simulate 'reality'. Brighten your image in post-processing afterwards. Adjust the curves in Podium Image Editor or something.

Always model your structure with extruded geometry. This means walls, floors and ceilings. If you model with single planes, you get weird lighting effecs along the corner junctions. It happens with other render engines too but it's an easy fix.

__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

BillW

Registered:
Posts: 8
Reply with quote  #3 
Thanks for the speedy response! I have to say, it made me feel dumb. Not because I had a Duh! moment, but because I feel like I may not be understanding what you're telling me! I watched Justin's vid, and, while I've always hated having reversed faces, now I understand why!

I checked my nightstand component that I imported into the room model, and none of the faces are reversed. I believe all the parts are extruded 'solids' with 3/4" thickness, and I'm pretty sure I added grain individually to each. Your item #3 - not sure I understand. Are you referring to my nightstand or to the entire room? Almost every piece of my nightstand is a group with texture added to each face. But if, as is possible, I had applied texture to the nightstand top as a group instead of to its individual faces, could that have screwed up the grain direction on the nightstand side?

Lighting: I was experimenting with Podium HDMI backgrounds, so that's the lighting outside the windows. Inside are only the globe and the bedside light from the Podium Browser. SU Shadows is turned on. I'll try again without the 'bright' option. I always start with my walls as extruded structures, but if, in this case, I had edited a wall using single planes, could that be the (or, a) culprit?

I'll try to absorb all your guidance and try again. And, thanks again.
BillW

Registered:
Posts: 8
Reply with quote  #4 
Oops. Of course, I meant 'HDRI'.
bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #5 
You can assign textures to groups, components and individual faces.

Experiment with creating say a cube. Duplicate it 3 times. For copy 2, group it and apply your texture to the group. For copy 3, make it a component and apply the texture to the group. On the original 'loose' geometry, apply your texture individually to each face. 

Each cube has a different texture assignment, and all should render fine. When Podium renders, geometry is converted to the format the render engine uses. In all these examples, there is just one set of information to tell it how to deal with texturing, so they will all render correctly. 

If you now make a copy of your textured loose geometry, and make it a group, you can also paint the group with a texture. This gives it a double texture assignment that is difficult to interpret.

What I think is happening, is that when individual faces are textured, SU ignores the texture applied to the group, and displays the texture assignment for the faces, and that Podium does the reverse. Because SU has ignored the texture definition of the group, you can't see what that would be like if it were displayed as if the faces were untextured.

I hope this makes sense!

__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

BillW

Registered:
Posts: 8
Reply with quote  #6 
It made sense, and it worked! What you thought was happening seems to be exactly what was happening. My nightstand now has woodgrain running in the correct direction. Thank you.

Now, to tackle the mysterious glowing molding. 16M-NEWn-v2022-IvoryBR 2022-04-01 10130500000.png 

bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #7 
Do you have any light emitting materials (LEMs) in your scene by any chance?

Are any of your wall surfaces reflective?

The way Podium works, is that all except our QMC presets are 'biased' render algorithms.

This means that not every pixel is calculated for illuminance.

To gain speed, the scene is divided into cells where the lighting is likely to be similar. For example large patches of walls tend to have very similar illuminance, so the cells are larger. Typically corners have far more cells because the light distribution varies a lot more. The illuminance value is calculated for each cell and blended to the next cell. This is why it is called 'biased'. It produces smoothly-distributed lighting which looks realistic, but is a lot faster to calculate than if it were done on a per-pixel basis.

What often happens is that you can get little speckles of light reflected onto surfaces, and because they are divided into cells, the entire cell can have crude blended lighting which isn't realistic.

This is what typically happens with 'light leaks'. The other thing is single plane geometry. Eliminate that where you can.

To combat this, I created the 'Interior high' presets. It is higher quality and has an additional final gathering path, where having calculated the lighting and created the cells first time, a second pass is calculated which further refines the cells, producing a more accurate light distribution pattern.

Because of the additional pass, render time can be quite a bit longer. However it only makes a difference where you have fine or complex shadows. It should work better here.

The QMC presets are 'unbiased'.

You set a number of iterations, and the algorithm renders a random distribution of pixels across the image, and keeps adding more and more pixels every time to refine the render.

The more iterations configured, the better quality the image - but it's slow. In the preset, I have configured as few iterations as I think are necessary to get a decent image in a reasonable amount of time.

Obviously, the higher the resolution, the slower the render. Consequently, this render preset can produce slightly grainy images. It can be configured for more passes, but it will hit render time hard. It will be interesting to see how the new high end Apple Silicon machines do with this...

I notice that you have used the interior fine preset. This is exactly the same quality as the default preset, it just has much higher antialiasing (edge smoothing) settings. It's only for where you have very fine edges, like thin cables and shadow gaps.

Because it smoothes edges, it also has the effect of smoothing textures.

It works by analysing the contrast between pixels, and if it's over a certain threshold, it smooths the transition.

This is why it's useful for scenes which use IBL (image based lighting - the background option that uses hdr background images to light the scene) which tend to produce slightly grainy images.

So - sometimes very simple questions can have rather complex explanations. But if you have kids, you will already know this 😃


__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

BillW

Registered:
Posts: 8
Reply with quote  #8 
Thanks again for your time and responses. Good to know about the main difference between interior default preset and interior fine. I'm pretty sure I had read that before, but your explanation made it sink in.

To answer your questions:

The hanging light globe is the only LEM in this setting. I applied a light power of 20 to the globe itself and liked the light it produced in the render. I considered trying to use Podium's Light System to add a light source within the globe, but the LEM produced the look and the light of the actual globe. The bedside light is from the Podium Browser.

The walls where the "light leaks" occur are all extruded from the floor plan. Different walls are different SU groups, so they can be easily removed to get the Scene I want. None are reflective (although there are mirrored storage units along the wall at the foot of the bed), and none are pure white (I had read one of your responses some time ago recommending this). There were light leaks at the upper molding whether the lower walls and molding were a light color or dark. The profile of the molding in the model is much simpler than the actual molding and the molding is in separate groups.

Rendering with the 'interior high' preset seemed to reduce the light leak glow but didn't remove it (neither did QMC). However, I just discovered that removing the molding from the offending wall eliminates the light leaks on that wall!! I don't know what to take away from that, but I'll bet you do.

With molding:
16M-NEWn-v2022-IvoryBR 2022-04-02 10423500000.png Molding removed:  16M-NEWn-v2022-IvoryBR 2022-04-02 12100300000.png No post processing.

bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #9 
Hmm - weird...

Could you possibly try rebuilding the corner mouldings from scratch and rendering again please?

A note on the lighting though, that scene looks too dark, but if we were taking a photograph of an environment like that, this is probably a pretty accurate idea of what it would look like. 
We would perceive it to be brighter, because our brains process the raw data and make what we 'see' appear brighter.

This is why for the best results, you should post-process that and adjust the levels.

__________________


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  #10 
You should not make physical materials emit light!

LEM's are to simulate light sources, they should sit behind transparent materials. For physical materials to emit light is very rare, and normally only happens when they get hot, which is obviously how lamps/bulbs work.

When geometry is translated for the render engine, it is triangulated, and with that globe you have added hundreds of tiny triangulated light sources.

It's very inefficient and unrealistic. What you ought to do instead is use something like this to simulate a light source inside a bulb:

Screenshot 2022-04-04 at 10.30.40.png    


If you make the surface of the globe translucent, you will simulate how the actual fitting looks, and you shouldn't need geometry for the lamp/bulb (although the common term is bulb, the correct term is lamp, my electrical engineer colleagues tell me that "bulbs go in the ground" 😉) itself.

Coincidentally, this is what Podium's omni lights effectively are, so you may as well use one...

Other render engines use things called 'point lights' which don't exist in reality, they are simple theoretical constructs for expediency, and many of them don't have accurate falloff, so produce unrealistic results.

Try using a more accurate simulation for a light and see if this fixes the issue.

If you try to simulate physical things in an unrealistic way, a 'physically accurate' render engine will produce unpredictable results!

Configuring lights in Podium is not difficult, but requires a bit of understanding and a lot of trial and error, and patience.

We have added 'primitive' lamps (bulbs) in the Browser to assist with creation of light fittings.

You don't have to use them, but they should be easier than starting from scratch.



__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

BillW

Registered:
Posts: 8
Reply with quote  #11 
I rebuilt the corner moldings, and it fixed the light leak! Wonderful. But why?

16M-NEWn-v2022-IvoryBR 2022-04-03 16041000000.png 
Does this mean I should rebuild everything that has a light leak? Like this door?
16M-NEWn-v2022-IvoryBR 2022-04-03 16112400000.png 
I will also try your suggestion to use a different light source inside the globe (the actual fixture is white glass, and the LEM, while 'cheating' does provide the real-life look). I'll make the glass translucent and install a lamp. 

Thanks for sticking with me!



bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #12 
Worth a try! It eliminates the possibility of random modelling errors.
__________________


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.