
Rob Pieké
robp_sidefx
About Me
Senior Software Developer - Solaris
Connect
LOCATION
United Kingdom
WEBSITE
Houdini Skills
Availability
Not Specified
My Badges
SideFX Staff
Since Jun 2020
Recent Forum Posts
Use SOP Path I can't see my Geo May 1, 2025, 5:08 a.m.
Can you share your hip file?
Primvar attributes with copytopoints (First Input's Points) April 28, 2025, 3:55 a.m.
It's a current limitation that we don't support copying primvars from USD points/prims, only from SOPs points. There isn't a fundamental reason this can't be made to work, we just haven't gotten to addressing this yet - but it is an open and known RFE on my plate for the future

Help with implementing custom 'BackgroundRenderer' March 14, 2025, 5:10 a.m.
It's on the near-term to-do list - RFE137495
Let me first say "while there perhaps isn't an easy better way, using a background renderer is risky" (I suspect ownership of the files transfers to the Render Gallery, so if you delete an imported file, you'll actually delete the file).
But to answer your query regardless....
I'm not sure why this isn't triggering thumbnail generation, but the image *is* importing (i.e., if you double-click on a thumbnail, the Render Gallery will display the right image)
Let me first say "while there perhaps isn't an easy better way, using a background renderer is risky" (I suspect ownership of the files transfers to the Render Gallery, so if you delete an imported file, you'll actually delete the file).
But to answer your query regardless....
from husd.backgroundrenderer import BackgroundRenderer
import hou
class LoadImageToGallery(BackgroundRenderer):
def pollFrequency(self):
return 0.01
def isRenderFinished(self):
inputpath = hou.ui.selectFile()
if inputpath:
self.updateImagePath(inputpath)
return True
def registerBackgroundRenderers(manager):
manager.registerBackgroundRenderer('Load an image', LoadImageToGallery)
I'm not sure why this isn't triggering thumbnail generation, but the image *is* importing (i.e., if you double-click on a thumbnail, the Render Gallery will display the right image)