Small Lag in viewport when Setup Window is opened

Foundry Modo (Developed by stenson, Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

User avatar
face_off
Octane Plugin Developer
Posts: 15696
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

It looks like Modo is checking the "enabled" status of all the buttons in the Setup window when you change navigation modes. When the Setup window is closed, the "enabled" status on those button do not need to be checked. And some of the "enabled" states are complex to determine - for example the "Convert to Diffuse" button need to check if an Octane Override is selected, and if it is it needs to track down the octane nodes to pick up the material type. So all this takes time - so you are seeing a small delay (on my PC it's about 1/4 of a second).

The fix for this would be to remove all those material buttons and put them in a popup submenu (so the enabled state only gets determined when you press the popup button). People may see this as a step backwards - but it's easy to do, so let me know...

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
diegomaricato
Licensed Customer
Posts: 11
Joined: Mon Mar 03, 2014 4:05 am

Looks like it is exactly what's happening Paul.

I just pressed "0" to maximize the Setup Windows, hiding the buttons and the lag was gone. I don't know about the other users, but to me it is enough to solve the issue.

Thank you for you time and congrats for the incredible work with the plugin!
lightboy
Licensed Customer
Posts: 88
Joined: Mon Mar 10, 2014 4:08 pm
Location: Ontario, Canada

Hi Paul
Why would there be no delay if you move, rotate and zoom around the scene with the on screen icons?
Now that I know what is causing the delay I can close the setup window down when I need to, not ideal but it does work.
I don't know if changing that would be worth it, I think other users should chime in to see what the consensus is.
Windows 10 | 1950x threadripper |64gb Ram | EVGA GTX1080 ti x3 |
Modo 13 64bit
Lightwave 2018
Nvidia driver 419.67
Octane modo plugin version 4.04.0.145
Octane lightwave plugin version 4.04
User avatar
funk
Licensed Customer
Posts: 1206
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

Hey Paul I noticed this too and it may be because all your icons are in separate files. You can avoid this by putting all your icons into a single image file (in a grid).

This method was introduced in 701 to prevent kits with lots of icons/buttons from causing stutters in modo. See the SDK wiki: http://sdk.luxology.com/wiki/Icon_Resources
Win10 Pro / Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
face_off
Octane Plugin Developer
Posts: 15696
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Hey Paul I noticed this too and it may be because all your icons are in separate files. You can avoid this by putting all your icons into a single image file (in a grid).
I don't think it's the icons (since they will all be cached in memory) - it's the calls to the plugin to determine if each button is enabled or not (which for some buttons requires walking the shader tree or analysing the Octane node setup). So having fewer buttons visible is the solutions (but obviously has a workflow impact).

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
funk
Licensed Customer
Posts: 1206
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia

face_off wrote:I don't think it's the icons (since they will all be cached in memory)
Apparently modo doesnt cache the icons.

The ACS Kit had exactly the same problem and it was fixed by putting all icon resources in a single file.
Win10 Pro / Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
Post Reply

Return to “Foundry Modo”