Modo crash with dynamic parenting setup

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

Moderator: face_off

Post Reply
User avatar
MrFurious
Licensed Customer
Posts: 529
Joined: Wed Oct 23, 2013 5:46 pm
Location: Melbourne, Australia

Hi Paul I've noticed an issue with a very simple scene of mine with a single object, a few cameras and a few nulls. The mesh item is set to dynamically parent to one of 3 nulls depending on which camera is selected. The first thing I noticed is that if you change the render camera, octane doesn't update the position of the mesh item until a full scene reload, although modo does update. Secondly if you move one of the parent nulls (which moves the child mesh item), Modo crashes every time. Same results with the latest 2x build and the new 3x build.

Cheers,
Dino.

p.s. here's the scene file.
dynamic sky background.zip
(12.73 KiB) Downloaded 244 times
Dino Inglese
CG Artist
Melbourne Australia


Intel Core i7-4820K, 3x GTX 980ti
Windows 7 64bit, Modo 12.2v2 for PC
Octane build 4.04.0.145
User avatar
face_off
Octane Plugin Developer
Posts: 15716
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Hi Paul I've noticed an issue with a very simple scene of mine with a single object, a few cameras and a few nulls. The mesh item is set to dynamically parent to one of 3 nulls depending on which camera is selected. The first thing I noticed is that if you change the render camera, octane doesn't update the position of the mesh item until a full scene reload, although modo does update. Secondly if you move one of the parent nulls (which moves the child mesh item), Modo crashes every time. Same results with the latest 2x build and the new 3x build.
Hi Dino. I will fix the render camera change update problem. Regarding the crash, I cannot replicate this. Which Modo item do I need to move to get the crash pls?

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
MrFurious
Licensed Customer
Posts: 529
Joined: Wed Oct 23, 2013 5:46 pm
Location: Melbourne, Australia

[/quote]Hi Dino. I will fix the render camera change update problem. Regarding the crash, I cannot replicate this. Which Modo item do I need to move to get the crash pls?l[/quote]

Many thanks.

Upon opening the scene select the 'Sky Backdrop 2' locator item and move it along the XZ off into the distance and back again. On my system anyway this crashes modo every time (modo 901). Even without octane active it crashes but when I uninstall octane it doesn't crash. Please let me know if you can replicate this.

EDIT: I've been playing around with this a bit more and I think I've narrowed it down to the Nodal Workspace window when 'Display Mesh/Material Previews' is checked. In my attached screenshot, If I move the Sky Backdrop 2 locator when this screen is open, the cog (circled in red) briefly updates with a thumbnail preview then followed by a crash. You can work around this by disabling 'Display Mesh/Material Previews' then moving the locator then enabling 'Display Mesh/Material Previews'. Seems to be finicky in what order things are done.
workspace.jpg
Cheers,
Dino,
Dino Inglese
CG Artist
Melbourne Australia


Intel Core i7-4820K, 3x GTX 980ti
Windows 7 64bit, Modo 12.2v2 for PC
Octane build 4.04.0.145
User avatar
face_off
Octane Plugin Developer
Posts: 15716
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Hi Dino - I still cannot get the crash. I am on a fairly old build of Modo (SP1 - build 87775) - is that the same build that you are using? Have you tried deleting your Modo901.cfg file?

Paul
Attachments
modo preview.png
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
Posts: 15716
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

I will fix the render camera change update problem.
Further investigation reveals that the camera is actually being updated - it's the background which is not being updated. It's not trivial for a mesh transform change to be detected when the source of the change is a Schematic channel modifier and coding the plugin to handle this situation would introduce lag. Ideally, the Render Cache API would address this (but it too is not detecting the background mesh transform has changed. Also - the background mesh is totally corrupted when rendering via the Render Cache. I will report these two issues to TheFoundry.

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
MrFurious
Licensed Customer
Posts: 529
Joined: Wed Oct 23, 2013 5:46 pm
Location: Melbourne, Australia

face_off wrote:Hi Dino - I still cannot get the crash. I am on a fairly old build of Modo (SP1 - build 87775) - is that the same build that you are using? Have you tried deleting your Modo901.cfg file?
EDIT: MY APOLOGIES PAUL, I'VE FOUND THIS TO BE AN ISSUE WITH MODO, NOT OCTANE. IT STILL CRASHES WITH OCTANE UNINSTALLED. SORRY FOR NOT TESTING THIS PROPERLY BEFORE SUBMITTING THE REPORT.

I'm on Modo 901 SP3 (build 95275 )and I've tried going back to factory settings Modo901.cfg file with the default Octane layout. Still crashes for me.

Is the OctaneRender setup window open when you launch modo, or did you open it after the scene loaded. I can reproduce this crash every time but...only if the OctaneRender setup window is open upon launch, and the sky backdrop node is a 'cog' and not yet refreshed to a thumbnail. Would you be able to check this again with Modo901 sp3 and with the default Octane Layout open on launch (as per my screenshot)
layout.jpg
My exact procedure:
- Open sample scene
- Use default OctaneRender layout (with the node workflow window open by default)
- Check the sky backdrop node is a cog image
- In the 3d viewport select the sky backdrop 2 locator and move it.
- Notice the cog image refreshes and is replaced with a thumbnail
- Modo crashes on mouse release

If you open the node workspace window after the scene is open and the thumbnail is there already, it will not crash. It seems to crash when this window is open while the thumbnail is being generated.

Cheers,
Dino.
Dino Inglese
CG Artist
Melbourne Australia


Intel Core i7-4820K, 3x GTX 980ti
Windows 7 64bit, Modo 12.2v2 for PC
Octane build 4.04.0.145
User avatar
face_off
Octane Plugin Developer
Posts: 15716
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

EDIT: MY APOLOGIES PAUL, I'VE FOUND THIS TO BE AN ISSUE WITH MODO, NOT OCTANE. IT STILL CRASHES WITH OCTANE UNINSTALLED. SORRY FOR NOT TESTING THIS PROPERLY BEFORE SUBMITTING THE REPORT.
OK, thanks. I take it I can drop this issue now? You will report the crash to TheFoundry?
Ideally, the Render Cache API would address this (but it too is not detecting the background mesh transform has changed. Also - the background mesh is totally corrupted when rendering via the Render Cache.
Edit to this....I tried on the latest release of Modo, and the Render Cache corrupting the mesh is resolved.

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

Return to “Foundry Modo”