Make hidden objects hidden in render?

Is there a way (or plugin) to make all objects that is hidden be hidden in render, or render only isolated objects (by isolating via ‘/’ hotkey).

I’m working with large scenes with uncountable amount of objects (+1k objects each scene), and I often need to make pretty renders for client fast, so animating camera placement, animationg rendering property for every single object to be shown on specific frame is not a option at such moments

Hi, i am not an expert in Python scripting but it sounds like this is the job for Python.

Use collections. It’s a shame that view layers can’t be used to change render visibility (hopefully it’ll be added at some point), but in the meantime you can have a top-level collection specifically for one-off renders, if you disable every other top-level collection this is the only one that’ll render.

Example : try separating your entire scene at the root between two main collections like “WORK” and “ONE-OFFS” and you should only have to disable the “WORK” collection to get going

I wrote an addon for problems like that , its quite advanced and handles alot of advanced usecases eg with multiple viewlayers.

Had no time to update it to an extension yet, its still an addon, but that has no negative impact on its functionality, just some work for me in the future.

It causes zero performance impact. Its just updating the visibility when the rendering is triggered.

4 Likes

Is it compatible with blender 4.+ ?

I think it also runs fine in 5.0 but yeah 4.+ definitely works. I use it myself.

I had this Error;

Is that on installation/activation? I must admit I havent installed it in a long time again, I just continue to use the config with each new version… :grin:

1 Like

Yes from download Zip file.

I’ll have a look.

Thanks, if it works it will save a lot of time in searching for object that are not hidden from render. :+1:

1 Like

Did you use the correct zip, theres a release zip, dont use gits packing zip.

Will look again.
Used this one middle:

1 Like

The top one is the right one. Btw I just drag and dropped the downloaded zip to 4.5.1 and it installed and activated itself just fine. If you used another one then retry. It must be “SimpleVisibility1.3.0.zip”

Let me know it it worked.

I should also update the gitpage. It makes it sound outdated.

1 Like

Yes drag and drop works. Thanks again.

1 Like

Ok. The filechooser installation will work aswell. The other zips are generated by git and the filestructure in there doesnt fit to blenders requirements. Thats been the cause then. I will add a note in the readme/displayed page. Thanks for testing.

1 Like

When i grow up i want to be an add on developer, but i don’t think there is enough time left now. :crazy_face:

4 Likes

Careful with such wishes. :grin:

1 Like

Seems like what I need, But I can’t find how to activate it to work

You could also simply just select the objects you want to hide with lasso selection in xray view, select one of them as active, in the object properties under visibility uncheck visibility in renders, then right click and choose copy to selected. To make everything visible again just unhide all, select all and the same procedure.