Page 1 of 1

Object Visibility MaxScript

Posted: Sat Dec 21, 2013 8:19 pm
by oguzbir
Guys,

I wrote a new script to help play with the per object visibility properties.
Script updates when you select new object.
And you can see if the selected object is renderable, visible to camera, cast shadows.
It also checks it object is visible to reflection. Mind you! it's not currently supported in Octane. I added this just to use it with other renderers as well.

You can also quickly enable or disable moveable proxy setting of the object.
I have to thank Suvakas letting me know more about that.
Thank you Otoy for the latest update.

It also works with Octane lights as well so you can tell it not to cast shadows or visible to camera.
Tell me if it works allright and I'll try to solve if you come up with any problems.

To install drag'n drop the script to the viewport.
You can find the script located under the category named "Oguz"

Cheers,
snapshot.JPG
ObjVisibility_1.1.zip
(1.16 KiB) Downloaded 345 times

Re: Object Visibility MaxScript

Posted: Sun Dec 22, 2013 5:07 pm
by glimpse
thanks =) this one is usable =) I'll try it this night!

Re: Object Visibility MaxScript

Posted: Mon Dec 23, 2013 10:10 am
by acc24ex
sweet stuff - I have more ideas for this :)
- how about having a button which loads a studio type setup - you know for quick render setup (the c4d guys made this), like have 2 or 3 lights and a backdrop - a lot of the times I'm testing stuff out and I just hit the enviroment settings and change it to white - just to quickly set it up - of course it looks bland with almost no shadows.. like a quick render button.. that would be mega sweet

- anyways, is it possible to modifiy the script - I've been trying to get into maxscripting a few times - I just lack the motivation I guess, I'm thinking this would be a good opportunity to make it like a open source project for whom ever wants to contribute
- I'm thinking siegershaders type of functionality - although that is a plugin ..

- I would also add a "open octane viewport" and a "open live db" button.. like a small toolbar of favourites, maybe a octane preset button to switch the render engine to octane.. it seems kind of basic, I just want to have some of the existing buttons and settings on a toolbar

Re: Object Visibility MaxScript

Posted: Mon Dec 23, 2013 4:26 pm
by oguzbir
acc24ex wrote:sweet stuff - I have more ideas for this :)
- how about having a button which loads a studio type setup - you know for quick render setup (the c4d guys made this), like have 2 or 3 lights and a backdrop - a lot of the times I'm testing stuff out and I just hit the enviroment settings and change it to white - just to quickly set it up - of course it looks bland with almost no shadows.. like a quick render button.. that would be mega sweet

- anyways, is it possible to modifiy the script - I've been trying to get into maxscripting a few times - I just lack the motivation I guess, I'm thinking this would be a good opportunity to make it like a open source project for whom ever wants to contribute
- I'm thinking siegershaders type of functionality - although that is a plugin ..

- I would also add a "open octane viewport" and a "open live db" button.. like a small toolbar of favourites, maybe a octane preset button to switch the render engine to octane.. it seems kind of basic, I just want to have some of the existing buttons and settings on a toolbar
Hi,
Please go ahead and modify this script as you like.
I needed this script to speed up my lighting process. I usually have a busy schedule.

Hope you use it with you projects, too.

Re: Object Visibility MaxScript

Posted: Mon Dec 23, 2013 7:54 pm
by acc24ex
how would you list octane lights? - there should probably be some unique indentifier?

- do you think you can access octane lights, do something about light lister - I'm thinking of a script, that searches for all of the octane lights and displays them, and has an option to turn them on or off ...

..ok its called octanelight :).. now to select all of them in the scene..

..just remembered I don't have the new octane plugin installed.. I still have older scenes to render.. maybe there's a script to load 1.1 or 1.2 plugin version (of any plugin) - so the script copies the files like a windows batch file..

..and I end up doing this rendering, ditching the maxscript.. damnit
1.jpg

Re: Object Visibility MaxScript

Posted: Mon Dec 23, 2013 9:57 pm
by oguzbir
acc24ex wrote:how would you list octane lights? - there should probably be some unique indentifier?
http://render.otoy.com/forum/viewtopic. ... 53#p149753
This is what I did earlier.
I'm not a real maxscripter. Just basic scripting to speed up my workflow.

I tried to mimic and port the good old lightlister script for Octane.
But I couldn't manage to do so.
But my basic script does the job in a simple way.

Re: Object Visibility MaxScript

Posted: Wed Dec 25, 2013 12:35 am
by acc24ex
whoa, great stuff oguz, apparently I am not spending enough forum time here - double sweet :)
- I'll try and go through scripts there, might learn some

Re: Object Visibility MaxScript

Posted: Fri Jan 17, 2014 12:00 pm
by matttrebor
With Octane 1.25, visibility to ref and shadow casting properties don't seem to work.
Visibility to ref desn't even refresh the Octane's viewport.
Or maybe I missed something ?

By the way, I didn't find these properties whithout the script, if someone could enlighten me.

Thanks.