Object Visibility MaxScript

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
User avatar
oguzbir
Licensed Customer
Posts: 715
Joined: Fri Jun 25, 2010 12:30 am
Contact:

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 346 times
My Portfolio
windows 10 Pro. |1070 + 1070 + 1070 + 1070 | i7 @4.5Ghz
User avatar
glimpse
Licensed Customer
Posts: 3740
Joined: Wed Jan 26, 2011 2:17 pm
Contact:

thanks =) this one is usable =) I'll try it this night!
User avatar
acc24ex
Licensed Customer
Posts: 1481
Joined: Fri Mar 19, 2010 10:58 pm
Location: Croatia
Contact:

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
User avatar
oguzbir
Licensed Customer
Posts: 715
Joined: Fri Jun 25, 2010 12:30 am
Contact:

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.
My Portfolio
windows 10 Pro. |1070 + 1070 + 1070 + 1070 | i7 @4.5Ghz
User avatar
acc24ex
Licensed Customer
Posts: 1481
Joined: Fri Mar 19, 2010 10:58 pm
Location: Croatia
Contact:

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
User avatar
oguzbir
Licensed Customer
Posts: 715
Joined: Fri Jun 25, 2010 12:30 am
Contact:

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.
My Portfolio
windows 10 Pro. |1070 + 1070 + 1070 + 1070 | i7 @4.5Ghz
User avatar
acc24ex
Licensed Customer
Posts: 1481
Joined: Fri Mar 19, 2010 10:58 pm
Location: Croatia
Contact:

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
matttrebor
Licensed Customer
Posts: 38
Joined: Fri May 03, 2013 10:07 am

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.
Post Reply

Return to “Autodesk 3Ds Max”