What's the "proper" way to reload a Scene Import?
3170 14 4- raincole
- Member
- 444 posts
- Joined: Aug. 2019
- Offline
I use a Scene Import LOP to import my /obj to /stage. But when I edit the geometry in SOP, the Solaris scene is not updated at all. Refresh the viewport doesn't update the scene either. I have to press the debug flag on Scene Import node to force it to reload my /obj.
I found it unbelievably tedious and error-prone. Is it the expected behavior? If so, is it possible to make Scene Import reload the changed objects?
I found it unbelievably tedious and error-prone. Is it the expected behavior? If so, is it possible to make Scene Import reload the changed objects?
Edited by raincole - Nov. 22, 2021 10:50:11
- raincole
- Member
- 444 posts
- Joined: Aug. 2019
- Offline
- mtucker
- Staff
- 4438 posts
- Joined: July 2005
- Offline
It is not intentional: the Scene Import should update automatically. If you can submit bugs with any hip files demonstrating cases where it is not updating automatically that would be appreciated! In my very simple test with a torus in /obj, the Scene Import updates properly when directly modifying parameters on the torus, or when the parameters are animated, so I presume there is something at least a little more complicated going on in your hip files... Thanks!
- raincole
- Member
- 444 posts
- Joined: Aug. 2019
- Offline
mtucker
It is not intentional: the Scene Import should update automatically. If you can submit bugs with any hip files demonstrating cases where it is not updating automatically that would be appreciated! In my very simple test with a torus in /obj, the Scene Import updates properly when directly modifying parameters on the torus, or when the parameters are animated, so I presume there is something at least a little more complicated going on in your hip files... Thanks!
Thank you very much for the reply. I actually just was just following the official tutorial ("Houdini Foundations") so my scene isn't particularly complicated. I'll try to make a minimum reproducible example that can reproduce this problem.
- raincole
- Member
- 444 posts
- Joined: Aug. 2019
- Offline
- jerry7
- Member
- 621 posts
- Joined: Nov. 2013
- Offline
- robp_sidefx
- Staff
- 451 posts
- Joined: June 2020
- Offline
raincole
Here it is. This .hip has only one single node in /obj and one single Scene Import in /stage. When I move the display flag between "sphere1" and "box1", the viewport (pinned to /stage) isn't updated.
Thanks. I can reproduce this with Scene Import (and, as you note, it doesn't happen with SOP Import). Taking a closer look, the issue only occurs when setting "Force Objects" (rather than "Objects") to "*".
I've committed a fix which should show up in tomorrow's Houdini 19 daily build.
- Rob
Edited by robp_sidefx - Nov. 23, 2021 06:19:04
- raincole
- Member
- 444 posts
- Joined: Aug. 2019
- Offline
- AnsonSavage
- Member
- 129 posts
- Joined: Sept. 2021
- Offline
- jsmack
- Member
- 7771 posts
- Joined: Sept. 2011
- Offline
AnsonSavage
Hey! I can't find where the "Reset Viewport" Button is, does it still exist?
There's no such button that ships with Houdini. There's a plugin that adds it called 'labs' for Houdini that also includes a number of tools. However, if you close the viewport and then 'undo close pane tab' it should have a similar effect.
- eikonoklastes
- Member
- 331 posts
- Joined: April 2018
- Offline
- BabaJ
- Member
- 2041 posts
- Joined: Sept. 2015
- Offline
- jsmack
- Member
- 7771 posts
- Joined: Sept. 2011
- Offline
- AnsonSavage
- Member
- 129 posts
- Joined: Sept. 2021
- Offline
jsmackAnsonSavage
Hey! I can't find where the "Reset Viewport" Button is, does it still exist?
There's no such button that ships with Houdini. There's a plugin that adds it called 'labs' for Houdini that also includes a number of tools. However, if you close the viewport and then 'undo close pane tab' it should have a similar effect.
Okay, cool. This will be something that will need to be done fairly often on my team, so it would be nice to have a button for it. Is this where the button should be showing up?
- jsmack
- Member
- 7771 posts
- Joined: Sept. 2011
- Offline
AnsonSavage
Okay, cool. This will be something that will need to be done fairly often on my team, so it would be nice to have a button for it. Is this where the button should be showing up?
You really shouldn't ever need to do this. It doesn't help reloading in solaris at all. It's mostly for clearing stuck geo that appears sometimes when diving into sop solvers.
-
- Quick Links