Alex Majewski

alexmajewski

About Me

専門知識
Developer
業界:
Advertising / Motion Graphics

Connect

LOCATION
Poznan, Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Using opdef: SVG image embedded in HDA in a PySide6 dialog? 2026年1月16日7:15

@tamte I was able to do this:

from PySide6.QtSvgWidgets import QSvgWidget
from PySide6.QtCore import QByteArray

icon_data = hou.readFile("opdef:/Driver/at_deadline?IconSVG")
icon_widget = QSvgWidget()
icon_widget.load(QByteArray(icon_data))
icon_widget.setFixedSize(32, 32)

And it seems to work! Many thanks

Using opdef: SVG image embedded in HDA in a PySide6 dialog? 2026年1月16日4:24

I programmed a custom pyside dialog for my HDA and used QSvgWidget to display an icon (as a widget).
QSvgWidget("path/to/image_on_my_hard_drive.svg")

I was wondering if it's possible to achieve the same result with an SVG embedded in my HDA? Alternatively, a regular pixmap or something would be okay too.

Polysplit Node Nonsense 2026年1月14日4:53

I see. So there still is some risk, just small. On a funny note, one time we encountered different results on two Windows machines (same Houdini version), where one machine's UV Texture SOP would always unwrap the same Grid SOP upside down. It would even do that on a fresh new scene.

In the context of a render farm, we render by first exporting scenes to .rs/.usd and then rendering as a separate job, so I'm just going to limit Houdini export jobs to the platform that submitted the scene. Linux machines will do the final rendering with Husk/RedshiftCMD and not scene cooking.

Thank you very much.