SU Podium Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Adriank

Registered:
Posts: 9
Reply with quote  #1 

I’m new to SU Podium (and this forum) having been shipwrecked by Shaderlight when their boat sank at Christmas!

I have a few big projects coming up so I needed to upgrade my computer to something faster (that’s how I found out Shaderlight had sunk, couldn’t get a new activation key!).

The new machine is a 2021 spec Asus Zephyrus G14.

AMD Ryzen 9 5900HS CPU, GeForce RTX 3060 (laptop) GPU (6Gb), 32Gb ram, 1Tb SSD

SKP V17.2.2555

 After playing with the trial version for one day I went ahead and bought V2.6 – which I’m loving so-far.

I do have a project that I need to get finished so I rather dived in the deep end with my learning of it, but I did watch many of the tutorials and they really helped.

The Podium Browser is absolutely brilliant, but addictive to use so I have slightly over-populated my model – hence my first question to you.

 What would be the maximum size file I should hope to be able to render on my new machine?

I started getting some flakey behavior, while assigning LEMs and rendering, and when I checked the filesize it was just over 500Mb.

After purging it the file is still around 300Mb. (other threads on this subject seem to be very old, from around 2010 to 2012)

 I was getting a strange issue when I tried to assign a LEM and the material kept changing to 100% transparent. When I tried to change it back it lost the lighting properties.

I’m also getting A LOT of errors when rendering – it seems to be able to render one or two views happily, but then it throws out grossly over-exposed images, or fails to turn on some lights, or lights seem to be misplaced, or the program freezes during the pre-render phase.

The freezes don’t seem to be resource related, at the time the CPU is running at around 35% and RAM at 35~40%.

If I close SKP after an issue like that I usually get a bugsplat, but on re-loading it all works fine for a couple more renders then it starts playing up again.

I'm hoping someone can offer me some advice.
Adrian

bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #2 
Quite a bit to unpack here!

1. There is no maximum file size. This makes no difference, it's the polygon count that is far more important, and that's not necessarily linked to file size. If say you model a Greek temple, you can model all your columns as component instances, or you can model them as groups or loose geometry. Groups and loose geometry are essentially the same in terms of file size. The model is in effect a big database holding all the geometry and its properties. When you model a column and make it a component, that container contains all the geometry and its properties, like layer, edges, colour, texture visibility etc.. When you duplicate the component, the database does something like adding another entry telling SU "Put another one of those, over here, and on this layer". Much, much less information in the file, but the polygon count is exactly the same. Render time will be the same, but SU will be more responsive with a componentised model.

2. Even polygon count is not necessarily a good indicator of how well a model will render. It's the complexity of the calculations that is more important. For example, say you have a scene with a million polygons - Podium can handle that easily enough with the right hardware. Add say 50 light fittings, with multiple overlapping transparent and reflective surfaces with alpha maps and your render time will hit the roof.

3. LEMs are for simulating light sources. If a material emits light, it can't reflect it either. If you want a hidden LEM, it becomes 100% transparent. This means no reflective LEMs.

4. The single most important determinant of render speed, once your model configuration has been optimised - is resolution. Most people seem to have big high resolution monitors, and set Podium to render to screen resolution. This is a big mistake. Think about the ultimate purpose for the rendered image. If it's to insert into an A4 document at a small size, something like 1400x900 is easily enough. If you have a 4K monitor, and are maximising your SU window, your Podium renders will be 3840x2160, which is more than twice as big as you need. If you think about the actual number of pixels to be rendered, 1400 x 900 resolution is 1,260,000 pixels. 

A 4K resolution on the other hand equates to 8,294,400 pixels. You have increased your resolution by 270%, but increased the number of pixels by 660%! Render time is roughly based on the number of pixels rendered which means that you could be looking at that kind of increase in render time! Do not render bigger than you need. For preview renders, render at a much lower resolution than for a final image. Think about how the required resolution of your output image, and don't render bigger than you need.

You can insert a really high resolution image into an A4 document, but it will make the file size huge, and you won't benefit from the increased resolution image. If you convert that to PDF, it will make your PDF file huge as well.

5. The render process involves converting the geometry into a structured format that a render engine can process, this gets loaded into memory, and the render engine performs lots of complex calculations to process the scene data, and generates an output image. Imagine how much RAM you need if you want to process a 500mb model with multiple overlapping transparent and reflective surfaces with multiple light sources. You need a lot of RAM to hold your scene data for processing. If you habitually run SU and Podium concurrently with a web browser, an e-mail client, perhaps an image editor and a PDF reader open, your operating system is going to be using a lot of RAM you need for rendering, for other stuff. While your system is processing the calculations, it's hogging your system RAM, which can make a system unresponsive.

6. Render time is highly dependent on the choice of preset. Over the years we have seen lots of new Podium users try to render with the high or fine AA presets because they think that they will get a better image. In over 90% of cases, they won't. The high presets have a second final gathering pass to refine the first, which means that the shadows are more accurate. Unfortunately you only really notice this accuracy where you have complex shadows. Imagine an ornate cast iron balustrade, the shadows from the patterns of the metal will benefit from the high presets, but almost nothing else will show any significant improvement in quality. Render time may double though. The fine AA presets are identical to the default ones, but have an much more accurate antialiasing settings for edge smoothing. You only need this if you have fine features like cables or small shadowgaps, but the render time again can easily double.

7. Lots of people try to over-illuminate their images. The more light you have in an image, the longer the render time. The more light fittings you have the more the issues are compounded. What we perceive is not real. You will undoubtedly be familiar with the situation where you take a photo indoors where the lighting looks fine, but the photo is too dark. The photo is accurate, your perception isn't. Your eyes do a constant realtime photoshopping of what you see, adjusting the lighting balance and stitching bright and dark areas together so the overall lighting levels look consistent everywhere. Therefore interiors are almost always darker than we think they are. Our render engine is physically accurate, which means you'll get darker images than you want to see. Instinctively you will increase the lighting levels to compensate. This is unrealistic however, and you often get overexposed images. It's much better to start with a darker render and post-process to improve the lighting. THat's what your brain does, and it's the best way to get more realistic images. Professional photographers always post-process their images, which means that everyone ought to post-process their renders.

The interior brighter presets are intended for use in environments where there isn't a lot of natural light, and the power of the photons has been multiplied by 200%. It's not accurate, but it can be a quick and dirty 'get out of jail free' card. Most scenes shouldn't use this preset.

The chances are that your scenes are not optimally configured. All render engines work in a similar way, but the way that certain elements are processed can have significant differences. If you are setting up scenes to render in Podium the way you did in Shaderlight, I suspect you will be doing things wrong!

We have created a diagnostic tool to help customers when things don't seem to be working as expected. I would recommend using this (it's the spanner/wrench icon in the toolbar) for any scene that doesn't render as quickly, predictably or efficiently as you would like.

Start with the diagnostic tool and scrutinise the output carefully. It will identify problems in your model that really ought to be fixed.

If you have issues, the easiest way for us to help is if you post a screenshot and a render, with the infobar turned on. If you also post the output of the analysis tool it will be even better!



__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

Adriank

Registered:
Posts: 9
Reply with quote  #3 
Thank you Bigstick for taking the time to give me such  detailed response - I really appreciate it.
For me, the render times are not a problem. (I've just arrived form Shaderlight where I had to set a render going before I went to bed & 'sometimes' it was finished in the morning!)
On a couple of jobs coming up I will need to produce images capable of putting on bill-boards for advertising so I need to know what quality I can expect even if it takes 24 hours to generate it.
To that end I just experimented with a night-time exterior shot on my errant model (I needed to use HDRI lighting with exposure set to '0' to achieve that) using the 'Interior Bright High 2.1' setting and an image size of 3200 x 1800.
It took 4 hours to render, but that didn't slow my computer down much so I could let it goon in the background. (result attached)

My issues with rendering continue, but at the moment it does only seem to be on that one model - I have opened a few older models (albeit set up for shaderlight) and I've managed to generate multiple views without any problems.

I did as you suggested and ran the analysis tool - it seems I can't post the result on the forum in the HTML format it saved in, nor in TXT format either! I zipped the txt file if you'd like to see it.
There are 4 errors as follows:

Alerts Details:
These materials will not render:
  Wrong format texture:
    "Material35.tif"
    "Material36.tif"

DTR problems:
   "PDM_Chilean_Mesquite_Leaf_01" has less than 50% DTR value.
   "PDM_Chilean_Mesquite_Seeds_01" has less than 50% DTR value.

I have no idea where those materials are hiding, is there a way to get Sketchup or Podium to identify where they are? They didn't come from my library, so downloaded in a model. It may have been a 3DW file but actually there are very few of them now, I kept deleting them when I found better models in your browser.
The DTR issues are in a tree I got from the browser, and when I go to change the DTR levels they are already set on 100% diffuse. (the origin file also produces the same error message)

I'll post more detail on my errors and crashes in another message.

Adrian


Adriank

Registered:
Posts: 9
Reply with quote  #4 
Further info on the errors I'm getting.
As I mentioned in my first post, I can get one or two good renders completed before it starts to play up.
As an example, I generated this image:
plan 3d-010322 2022-03-02 10041000000.jpg  but decided the wall-washing light above the picture was too close to the wall, so I moved it further away (without having to move my viewpoint at all) and when I re-rendered it I got this:
plan 3d-010322 2022-03-02 10114700000.jpg  Sometimes it does not get that far - it either freezes during the processing phase or Sketchup terminates.
I'm not sure, but I think if it manages to get to the pre-rendering phase I can just close Sketchup and re-open it, but if it crashes I have to re-start the computer to get it working again.

Adrian

bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #5 
You should be able to select the text from the console window and paste it without the html formatting.

Any .tif textures will not render. They need to be removed or replaced.

Lots of items in your scene from the Browser are unfortunately not particularly well-configured. 

The quality of some of these is variable. Refraction for example should only be used on transparent glass. Fresnel is not fully implemented, so any materials that have refraction configured (metals typically have fresnel reflections which is based on the refractive index) which are non-transparent, are potentially problematic.

We have something called PDM_Cheeseburger_Materials_07 with refraction. That is from a Browser component. Unless the Cheeseburger component has a glass object in it, it shouldn't be configured like that.

The Chilean Mesquite textures should be 100% diffuse with no transparency or reflection - so D100/T0/R0. That is just badly-configured.

To save you trying to find materials with the Podium materials editor eyedropper, if you create a face anywhere, find the problematic material by name in the SU material editor and apply it to the new face you created. You can then sample it with the Podium eyedropper and change the properties.

There are lots of LEMs in your scene. Some are from light fittings, but others aren't.

LEMs need to be used carefully.

You can use them to simulate daylight. You can place them outside windows and behind the camera or out of shot to simulate indirect light in connected spaces.

The golden rule is not to make the power too high. People like bright scenes, which means they crank up the lighting level, which washes out the indirect light and looks unrealistic. Podium Image Editor has some neat options for adjusting contrast and brightness. It's better to test these first before you crank your light up.

LEMs behind the camera simulate a camera flash. you need to make these hidden (100% transparent) to stop them appearing in reflections.

Try this as well with the default preset before you resort to the interior brighter preset. That should be a last resort. Use the sun and external light (shadows on in SU) with a physical sky or IBL background, and turn other lights on when you really need to.

The last image is weird, because it looks like you have used clay render mode, except you haven't because the transparent materials aren't rendering as transparent.

What this means is that the errors in the model configuration are making their way into the render script. If you get an error parsing the script, there is the potential to break the render, which it looks like what has happened here.

Fix the errors and it should render properly.



__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

Adriank

Registered:
Posts: 9
Reply with quote  #6 
I can tell from very early in the pre-render phase when it's gone wrong because the monochrome image developing is bright yellow-to-white instead of a muted brownish color. I just let that run to it's conclusion so I could show you but normally I cancel the render, close SKP & re-start it.
If the error is in some object I imported, then how come it renders ok the first time? (In addition to having done a previous render, any SKP activity seems to increase the risk of a failed render.)
I have to say I was surprised to see things like steel, aluminium and ceramic appear in the refraction drop-down menu. If I understand your explanation, I should only use it on materials that bend light (glass, plastic, water etc.) then.
I certainly have not changed the properties on any of the models I imported, but in future I guess I should check them when I import them.
The Chilean Mesquite is a weird one, because I have so few trees in the model it was easy to find. When I check the properties with the material editor it is already 100% diffuse, as it also is on a newly imported tree in a new empty SKP drawing - but that new drawing also picks up the error with the the checker tool.

I have a high lofted ceiling in the kitchen/stairwell portion of the house, which is actually inside the roof space (it's a renovation job). I want it to feel like highlight windows so I'm using an opaque semi-translucent material (probably resin) and back-lighting it to give it a soft glow. That's the only LEM I've applied which is not in a light fitting.

That leads neatly on to another bizarre thing that happened.
In the stairwell I have cantilevered glass rails but they were looking really feint and hard to see on renders:

4.jpg   So I tried the trick I'd read about on the forum by importing a glass bowl (it's on the shelves in the image) and copying and pasting the inner and outer surface materials onto the  glass rail.
This is what happened:
Corruption.jpg  The glass rail turned into mirror and a disco-ball appeared in the middle of the render.
I could not get rid of it - deleting the material properties got rid of the mirror look on the glass but that disco ball would not go away.
In the end I had to revert to an older copy of the model and start again.
My quick solution for the glass was to make the edges 0 transparency, 80% reflecting & 20% a dark green colour (as glass is actually green, not clear)
Result was this:
Stairwell 2.jpg 


bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #7 
Something weird is happening in that scene with the monochrome render. That doesn't happen if everything configured correctly. I don't think I've ever seen that before in over a decade with Podium.

Refraction doesn't need to be used at all most of the time. We started to implement 'thick glass' a few years ago which did configure fresnel and refraction properly. It was working for glass (I built the bowl in your scene that has been used for transferring all the glass settings) but when applied to metals it created weird effects and was taking a disproportionate period of time to resolve, so we basically dropped the feature.

However we found that materials previously configured with the Fresnel refraction build - worked fine! When materials with that configuration are imported (or the imported settings applied) they render as expected, but we can't configure new materials in the same way.

You only really notice refraction with thick glass, or when you have objects that bound or penetrate large areas where the material has refraction. It's the archetypal straw in the glass situation. In Podium however it's generally anything that is visible above and below the surface of water - even the vertical edges of pools. Otherwise the effect is so subtle as not to be an issue. The more calculations that are performed, the more time renders take, so it's easier to ignore it.

This is why I don't recommend refraction except for specific situations where you know the effect will be visually prominent.

For translucent glass, use the translucency option and don't make surfaces light-emitting. You can then play with the colour and the DTR balance. If you set the diffuse to maybe 20%, transparency to 80% and reflection to 0 with translucency enabled that's a good starting point. The translucency feature also works nicely with fabric as well.

Your glass balustrade ought to be straightforward. Start with a base charcoal colour (not all glass is green by any means) and start with D0/T90/R10. No refraction and no complex glass settings.
It should 'just work' although you might need to tweak the settings until you get the results you like. You can increase diffuse to 2% and that sometimes works nicely.

Complex (thick) glass needs to be configured in a particular way to work properly. The external (front) face and the internal (back) face need to configured with different materials. 

We are simulating a solid transparent material with two single planes enclosing space. The outward faces are configured with refraction, because the light bends as it passes through the outer face of the glass. Glass doesn't have internal reflections, so those need to be disabled for the inner/back face.

The other thing you might notice is that there are 2 types of basic material presets - normal and metallic.

The difference between those is probably best illustrated by real copper vs a copper paint. Generally materials have a specular (reflected) colour which matches the light colour. Uncoated metals however behave differently, and the specular colour is the same as the base metal colour. It gets more complicated than this (fresnel reflection in particular as mentioned earlier) but there is always a balance to be struck between allowing more configurability which maximises flexibility and allows more realistic results, or allowing less configurability but more consistent results.

Podium always emphasizes speed, intuitiveness and simplicity, so we don't expose all the configuration options available.

I hope this helps!



__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

Adriank

Registered:
Posts: 9
Reply with quote  #8 
If you haven't seen this in 10 years, I figure you have some catching-up to do so I'm posting the latest crash!
I did manage to find and remove the tif files (I had to download a material browser plugin to do that - they were well hidden as the back covers of 2 books from the Podium Browser collection), I also hunted down many metal surfaces that were assigned refraction and changed them - mainly kitchen models (frig, rangehood sink etc.)
One of the first materials I put into the model was the 'shoji screen' infill which I made a little transparent but also assigned 'plexiglass' refraction to - as you pointed out, that would be pointless so I removed it hoping it might fix things.
When I rebooted, I managed to do 3 renders without mishap, this was the third one... 
3d 040322 2022-03-05 00102000000.jpg  and the fourth.
3d 040322 2022-03-05 00173800000.jpgNote that it turned off the ceiling lights but the spotlight under the tree remained on.
 
Do you think I should think about uninstalling and reinstalling Podium?
If I do that, will my activation key still be valid?

bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #9 
Right - so the monchrome image isn't a final render, it's the prerender stage?

There is nothing wrong with that at all. It's how global illumination works.

If you have lots of brown surfaces, when light bounces, brown tinged light is bouncing. If you have your walls yellow, the bounced light will be tinted yellow.

You didn't say it wasn't a final render - unless it is. For diagnostic purposes, please turn the render info bar on. It makes identifying issues much easier.

As for catching up - I have been working on Podium continuously for over 10 years and have never seen a final render like that, so it's unique...
So many issues with so many different things is very, very rare indeed, and I've only ever seen them with bad models. 

Are you getting monochrome final renders, or is that the prerender stage you have screen captured in an attempt to show a problem you think exists?

I honestly don't understand all your current issues. 

We have gone from freezing, to over-exposed images, to reflections and material configuration, lights and licensing.

I don't know what you are doing between renders.

You have a single large complex model with a ton of stuff in it, and I suspect some of it is very messy. Most people don't model cleanly and in a well-structured manner 😉

I also notice that you have chamfered the edges of those timber boards. I wouldn't recommend that because they won't be rounded in reality, and all it does is add to the polygon count for no benefit. It's an example of wasted polygons. You might want to do this on the edges of your stone walls, and things like worktops, but on cut edges of timber planks definitely not.

I don't actually think there are any inherent issues with Podium here, I think the model is likely to be problematic in terms of how your model is set up.

Large complex models can be problematic and need managing for rendering. Professionals separate their model into scenes for each view. It's more time-consuming, but you get much better control this way.

It looks like you have a single, fully detailed model complete with all the entourage. It works, but needs more care because the machine is having to process a lot more data, and if any of it is configured sub-optimally there is a very great potential for causing unexpected issues.

Try simpler models first, and when you get the kind of results you expect, then move on to larger more complex ones.

You need to unlearn a lot of the stuff you learned from Shaderlight. 

Don't reinstall Podium, it's unlikely to help. If you uninstall, deactivate your licence first.

__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

Adriank

Registered:
Posts: 9
Reply with quote  #10 
All the images I've posted up are of finished renders - while I can see if a render is going wrong really early (as I said, it shows up fright yellow-to-white in the pre-render phase) I always let it finish if I aim to send it to you.
As for what I do between renders, not much.
The first example I posted I never moved my viewing position, I just moved one ceiling light about 500mm, then set it to render again without changing any settings.
That latest one, I noticed in the previous render that I had a surface over the glass ceiling that should not be there so I moved outside the building, deleted it and moved back to (nearly) the same position.
I didn't change any settings.
Again, that's the final result.
I know I seem to have a multitude of problems rendering this model but really just 2 and they are related. It either freezes before the prerender phase or it produces the above 'clay' look. Either way Sketchup crashes afterwards if I try to do anything more.
As for the other issue with materials, I'm sure that's unrelated and I won't try to mess with my glass in the same way again - I just thought you should know it happened.
I don't have any issue with lighting. I believe you thought LEMs might have caused the first issue.

I thought that he use of HDRIs for lighting may have caused it, so this morning I changed to sketchup lighting. I did get 4 renders out before it happened again, but it did happen again.

I know the model is big, and I should have divided it up, but the problem is that the layout is quite open-plan and the renders rely on being able to see into adjoining rooms.
I also know I should have started small, but as I explained I had a deadline to get this to a client & putting them off while I played around wasn't an option.

I aplogise for the 'catching up' comment, I was trying to be light-hearted and introduce some humor into things to relieve my own stress. That backfired!
I've now managed to produce about 20 renders for my client by constantly closing and re-opening Sketchup. It took way longer than I'd allowed for but the pressure is off now.

I agree it must be a bad model, but I was hoping you could tell me what about it is bad so I don't let it happen again.

I do really appreciate that you are trying to help me with this - hopefully the next model I do will be better!

Adrian
bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #11 
I don't like leaving problems unresolved, I prefer to try and fix stuff, because that's how I learn most effectively 😉

In the past I have fixed some truly awful models. They weren't particularly big, but one had a 3DW component in it that looked like it had originated from a modeller which wasn't SketchUp) and it basically broke the render process.
The camera location was pointing at a completely different place to the SU display. There is no logical reason this might happen, but when I managed to isolate the problem component after an hour or so, suddenly everything worked fine!

In another model the geometry was just terrible. Broken geometry and hidden polygons all over the place. It looks like a beginner has started modelling but not been at all critical about the process. Superficially it looked okay, but it took me well over an hour to basically clean it up. It rendered okay in the end, but probably needed another hour of cleaning and optimisation. The model was basically incompetent, although it looked kind of okay, most of the scenes just wouldn't render at all.

I'm not suggesting your model is remotely as bad as this, but these anecdotes indicates how sometimes a problem model just won't render, and can cause very unpredictable behaviour.

What works best, is if you model your structure with closed volumes. You can use a basic grouped (solid) cube for walls, ceilings and floors, and stretch it to scale. When the structure is fixed, you can use the solid tools to join things. I wouldn't merge everything, but getting the structure as a single group containing other groups should give you a clean, simple, efficient basis for the rest of your model.

Stray edges ought to be removed, and everything should ideally be layered consistently. This allows you to turn geometry on and off when necessary to improve performance.

__________________


Aut viam inveniam aut faciam
Hannibal Barca


______________________________________

This is what I do in my day job

Adriank

Registered:
Posts: 9
Reply with quote  #12 
Thanks for persevering with me, I guess I'm mainly trying to work out what caused this so it does not happen again.
I'm absolutely guilty of building messy models, and that is partially down to the way my Sketchup skills have evolved - I say evolved, I mean 'festered'.
I build the model with CAD software and when I get  the raw geometry built I export it to Sketchup - that in itself is problematic because all my elements are assigned to layers, and when it's imported the geometry is also in those layers.
The first thing I do is go through layer by layer and group what needs to be, and then I can run the 'Default Layer Geometry' plugin to move the geometry to layer 0 - I was getting all sorts of mixed groupings on models before I did that.

It did cross my mind that it may be an incompatibility with Windows 11 & my Ryzen CPU? I know there is an issue with Audio between those 2.  (I have the stuttering issue too, which also affects the mouse)

Since that model with the issue I've been working on another, also well over 100Mb, all built the same way. I did 20 or more renders off that one this morning with no issues at all so I'm thinking something came in with a pasted-in model that I've been unable to identify - probably from the 3D warehouse.

I think we should shelve the issue for now and I'll be extra careful to keep my models clean.
I'll try not to use 3DW as I know some of those models are dreadful.

Related to that - the model I'm on is for a marina, so I need models of yachts, and 3DW is the only resource I know of to find them. You don't have any other suggestions for sources by chance, do you?

Adrian


bigstick

Moderator
Registered:
Posts: 11,604
Reply with quote  #13 
Afraid not, sorry - never dealt with boats!
__________________


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.