OctaneRender for Modo SCRIPTS

Forums: OctaneRender for Modo SCRIPTS
Foundry Modo (Developed by stenson, Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Re: OctaneRender for Modo SCRIPTS

Postby rubberchicken » Thu Jan 05, 2023 1:27 am

rubberchicken Thu Jan 05, 2023 1:27 am
The render passes script works great. A couple of questions:
-Could this be implemented in the plugin?
-Can you add a user input for file save location and file type instead of hard coding?
User avatar
rubberchicken
Licensed Customer
Licensed Customer
 
Posts: 45
Joined: Thu Apr 15, 2021 12:58 am
Location: Australia

Re: OctaneRender for Modo SCRIPTS

Postby face_off » Mon Jan 09, 2023 3:47 am

face_off Mon Jan 09, 2023 3:47 am
rubberchicken wrote:The render passes script works great. A couple of questions:
-Could this be implemented in the plugin?
-Can you add a user input for file save location and file type instead of hard coding?
Hi.

> Could this be implemented in the plugin?

It could, although I tend to think it's a script that each user will tweak to meet their specific needs, so I think it's better as something that is run separately. You can add a button to run this script to the OctaneRender layout if you need.

> Can you add a user input for file save location and file type instead of hard coding?

Try this!

Code removed - please see https://render.otoy.com/forum/viewtopic.php?f=34&t=78755&p=421892#p421892 for latest version.

Thanks

Paul
Last edited by face_off on Wed Feb 15, 2023 6:12 am, edited 1 time in total.
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: OctaneRender for Modo SCRIPTS

Postby rubberchicken » Wed Jan 11, 2023 8:33 am

rubberchicken Wed Jan 11, 2023 8:33 am
Sorry I forgot to subscribe to the topic! This works great except it is splitting the name I enter, putting the last character after the pass name. So my entered file name is "Test", my pass is "Colour". What I end up with is "Tes_Colourt.png". I feel this must be an easy fix but I cannot read python. I will make a button for this. I use passes a great deal and this is hugely useful.
User avatar
rubberchicken
Licensed Customer
Licensed Customer
 
Posts: 45
Joined: Thu Apr 15, 2021 12:58 am
Location: Australia

Re: OctaneRender for Modo SCRIPTS

Postby face_off » Thu Jan 12, 2023 4:51 am

face_off Thu Jan 12, 2023 4:51 am
rubberchicken wrote:Sorry I forgot to subscribe to the topic! This works great except it is splitting the name I enter, putting the last character after the pass name. So my entered file name is "Test", my pass is "Colour". What I end up with is "Tes_Colourt.png". I feel this must be an easy fix but I cannot read python. I will make a button for this. I use passes a great deal and this is hugely useful.
I couldn't actually reproduce this error. What is the full path that you are saving to please?

Thanks

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: OctaneRender for Modo SCRIPTS

Postby rubberchicken » Thu Jan 12, 2023 7:21 am

rubberchicken Thu Jan 12, 2023 7:21 am
Just to the desktop, not strange paths. Also tried to a couple of other locations.
User avatar
rubberchicken
Licensed Customer
Licensed Customer
 
Posts: 45
Joined: Thu Apr 15, 2021 12:58 am
Location: Australia

Re: OctaneRender for Modo SCRIPTS

Postby face_off » Thu Jan 12, 2023 10:23 am

face_off Thu Jan 12, 2023 10:23 am
Post removed...

Paul
Last edited by face_off on Fri Jan 20, 2023 12:59 am, edited 1 time in total.
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: OctaneRender for Modo SCRIPTS

Postby rubberchicken » Thu Jan 12, 2023 11:46 pm

rubberchicken Thu Jan 12, 2023 11:46 pm
My bad, the original script works fine. I was not typing in the file suffix as I thought this was being picked up from octane. Thanks again!
User avatar
rubberchicken
Licensed Customer
Licensed Customer
 
Posts: 45
Joined: Thu Apr 15, 2021 12:58 am
Location: Australia

Re: OctaneRender for Modo SCRIPTS

Postby Mr_Uzu » Mon Jan 16, 2023 2:03 pm

Mr_Uzu Mon Jan 16, 2023 2:03 pm
The problem with this method (as with other like create a workspace - was lookign for something similar as usually i have tons of other assemblies and such- for octane materials etc) is that then one cannot easily move/copy node to the other via schematic context commands as those assemblies/workspaces for materials are no longer visible.

I'll be still looking for some way to make scene tidy so if i will find something will share :)
Cheers,
Mat
Mr_Uzu
Licensed Customer
Licensed Customer
 
Posts: 7
Joined: Tue Dec 22, 2015 12:45 pm

Re: OctaneRender for Modo SCRIPTS

Postby face_off » Fri Jan 20, 2023 12:59 am

face_off Fri Jan 20, 2023 12:59 am
rubberchicken wrote:My bad, the original script works fine. I was not typing in the file suffix as I thought this was being picked up from octane. Thanks again!
Thanks - I will remove my potential fix above to avoid confusion.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15471
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: OctaneRender for Modo SCRIPTS

Postby rubberchicken » Sat Feb 04, 2023 12:02 am

rubberchicken Sat Feb 04, 2023 12:02 am
Render passes are ignoring pass visibility. Using Modo native or Vray it is extremely useful to be able to toggle off a pass using the little camera icon in the groups panel. Say you have a dozen passes but three of them you do not need to run, it can save a lot of wasted time. When I run the script for Octane it renders all passes ignoring that state.
User avatar
rubberchicken
Licensed Customer
Licensed Customer
 
Posts: 45
Joined: Thu Apr 15, 2021 12:58 am
Location: Australia
PreviousNext

Return to Foundry Modo


Who is online

Users browsing this forum: Google [Bot] and 4 guests

Thu Mar 28, 2024 10:38 am [ UTC ]