Adam Swaab


About Me

Technical Director
United States


My Tutorials

obj-image Intermediate
Falloff Controllers in Houdini
obj-image Intermediate
Custom F-Curves
obj-image Beginner
Houdini Jumpstart Vol 8 - Intro to Lighting and Rendering with Mantra
obj-image Intermediate
LearnSquared - Houdini Particles

Recent Forum Posts

Python Panel UI not scaling when using pixel dimensions Oct. 19, 2019, 6:04 p.m.

Guessing I need to use hou.ui.scaledSize() everywhere I need to use pixel dimensions.

Python Panel UI not scaling when using pixel dimensions Oct. 19, 2019, 5:52 p.m.


I have some elements in my python panel that need to be defined in pixels (I have a QGraphicSceneView with QGraphicScene and QGraphicsItems in it). On my regular monitor, all is good. On a high DPI monitor, everything is too small. Also, doesn't respond to changes in the global UI scale. I have tried setting QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True), but that doesn't seem to have an effect.

Any ideas?


LearnSquared Houdini Particles - 4 part series Dec. 22, 2017, 5:23 p.m.

We just released a 4-part particle series I did for LearnSquared: []

We cover everything from building our own particle solver from scratch, using the built-in Houdini particle POPS, showing how to choreograph and art-direct particle motion, and working through various rendering and instancing strategies.