Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

garf last won the day on January 20 2020

garf had the most liked content!

Community Reputation

21 Excellent

About garf

  • Rank
    Initiate

Personal Information

  • Name
    Garf

Recent Profile Visitors

3,198 profile views
  1. Has anyone come across this? I have a qt window which I have parented to the houdini session using setParent(hou.qt.mainWindow(), QtCore.Qt.Window) and it does as expected on Windows OS. i.e. it always stays on top of the houdini session whilst the Qt UI is open. On a Linux machine running CentOS 7, the window goes behind the Houdini session if you click elsewhere. I have "Keep floating windows on Top" checked on on both windows and Linux systems. I've also added setWindowFlags(QtCore.Qt.WindowStaysOnTopHint) into the code to see if that would work but it doesn't. As I said, it works fine on Windows so I guess this is an OS thing. Anyone got any ways around this?
  2. Python - custom ui popup window

    Look into PyQt and PySide. You can build completely custom UIs and integrate into Houdini. https://www.sidefx.com/docs/houdini/hom/cb/qt.html
  3. I have a custom pyqt ui with a list widget in it. I'd like that list widget to update if the user changes context in the network view. e.g. from object to SOP to ROP (Driver) etc. I believe I can utilise the ContextEvent handler but I don't know how to initiate it. Can anyone help me out or point me to a script I can dissect? https://www.sidefx.com/docs/houdini/hom/network.html I briefly flirted with the pypanel nodepath hook but ideally I'd like to run this from a toolshelf too. https://www.sidefx.com/docs/houdini/examples/python_panels/nodepath.html
  4. Delete Duplicate Packed Geo

    I've got a lot of geo being imported into my scene and it turns out there are many duplicates. Does anyone have any neat ideas how to whittle them down to a single instance? I've packed them and then I was thinking of building an array of point positions for everything and then removing all but one instance of said position. Any ideas? Cheers
  5. Dive inside the hda and do an attribute transfer from the pop sim. Hip attached. pyrospread_from_pops_001.hip
  6. export Arnold VDB archive ASS

    You dont export from the arnold volume node. Point your ROP to a geo node with the vdb in it. gb_arnold_export_ass.hip
  7. Spars solver rest position?

    Hi @bunker, Where do you insert the compute_rest netbox stuff? I've tried to copy the legacy pyro as closely as possible by wiring it into the FIRST FRAME and gas substep dops. Wired the advect rest into the ADVECTION merge and created rest and rest2 fields in the pyro object. But not having much luck with it.
  8. I've got a stack of grains that will be forced up, the initial Normals are up. How can I get these normals through the sim so that they rotate/orient and work with clumping and such? Think grass on clumps of soil.
  9. RBD Constraint Cymbals

    I'm trying to setup an RBD sim and I need the object to be constrained like a drumkit cymbal would be, i.e. it pivots on a point but is constrained enough not to rotate a lot. Any suggestions as to the best way to go about this? Cheers
  10. Heya, I've got a bunch of particle sims instanced onto points which already have a pscale (to determine the size of the instanced particle sim) - when rendering it uses this pscale to render the points but I would like to use per-point pscale not per-instance pscale. How do I do this? Cheers
  11. creating condensation or water droplets

    might want to credit the original source
  12. Add AOVs to ROP

    I've done it before but can't find my old script. How do I script adding instances/AOVs/imageplanes on a ROP?
  13. UDIM for each geo procedurally

    improvement: transform y on uvtransform32 = (detail("../foreach_begin8_metadata1", "iteration", 0)-detail("../foreach_begin8_metadata1", "iteration", 0)%10)/10
  14. I've got some geo with 120+ leaf geometries and I'd like to procedurally move each geos uvs to it's own separate UDIM. I'm currently using a for-loop and some modulos but it's not quite working right transform x on uvtransform28 = detail("../foreach_begin8_metadata1", "iteration", 0)%10*2 transform y on uvtransform32 detail("../foreach_begin8_metadata1", "iteration", 0)-detail("../foreach_begin8_metadata1", "iteration", 0)%10 Any ideas?
  15. Randomize 'Class'

    promote class as max to detail and then a wrangle on prims does the trick for me - it's not random but it's shifted which is good enough for what i need int max = detail(0, "maxclass", 0); i@class+=chi("shift"); if (i@class>max){ i@class-=max; }
×