Jump to content

jamesr

Members
  • Content count

    124
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    2

jamesr last won the day on October 31

jamesr had the most liked content!

Community Reputation

30 Excellent

About jamesr

  • Rank
    Initiate

Personal Information

  • Name
    James
  • Location
    Los Angeles
  1. HOM from shell in macOS

    The problem is that I'd like to run HOM functions in a standalone python application among some other more generic python code.
  2. HOM from shell in macOS

    Hi there, Has anyone had any success with importing the hou module from python in a shell on macOS? I am currently running Mojave 10.14.1 with stock python 2.7.10 (fresh OS install) on my laptop, and have not been able to get it up and running. I found a couple of threads related to it from a few years ago suggesting it's not possible, but I sort of figured it would be mentioned in the docs that it's incompatible on macOS. So maybe I'm missing something? Python 2.7.10 (default, Aug 17 2018, 17:41:52) [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.0.42)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import hou dyld: warning, LC_RPATH $ORIGIN/. in /Applications/Houdini/Houdini17.0.352/Frameworks/Houdini.framework/Versions/Current/Libraries/libopenvdb_sesi.dylib being ignored in restricted program because it is a relative path dyld: warning, LC_RPATH $ORIGIN/. in /Applications/Houdini/Houdini17.0.352/Frameworks/Houdini.framework/Versions/Current/Libraries/libopenvdb_sesi.dylib being ignored in restricted program because it is a relative path dyld: warning, LC_RPATH $ORIGIN/. in /Applications/Houdini/Houdini17.0.352/Frameworks/Houdini.framework/Versions/Current/Libraries/libopenvdb_sesi.dylib being ignored in restricted program because it is a relative path dyld: warning, LC_RPATH $ORIGIN/. in /Applications/Houdini/Houdini17.0.352/Frameworks/Houdini.framework/Versions/Current/Libraries/libopenvdb_sesi.dylib being ignored in restricted program because it is a relative path dyld: warning, LC_RPATH $ORIGIN/. in /Applications/Houdini/Houdini17.0.352/Frameworks/Houdini.framework/Versions/Current/Libraries/libopenvdb_sesi.dylib being ignored in restricted program because it is a relative path dyld: warning, LC_RPATH $ORIGIN in /Applications/Houdini/Houdini17.0.352/Frameworks/Houdini.framework/Versions/Current/Libraries/./libblosc.1.dylib being ignored in restricted program because it is a relative path dyld: warning, LC_RPATH $ORIGIN in /Applications/Houdini/Houdini17.0.352/Frameworks/Houdini.framework/Versions/Current/Libraries/libblosc.dylib being ignored in restricted program because it is a relative path Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Applications/Houdini/Current/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/python2.7libs/hou.py", line 19, in <module> import _hou ImportError: dlopen(/Applications/Houdini/Current/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/python2.7libs/_hou.so, 2): Library not loaded: /Users/prisms/builder-new/WeeklyDevToolsHEAD/dev_tools/local/lib/libz.1.dylib Referenced from: /Applications/Houdini/Houdini17.0.352/Frameworks/Houdini.framework/Versions/Current/Libraries/libAlembic_sidefx.1.7.9.dylib Reason: image not found According to the docs, you need to import DLFCN sys.setdlopenflags(old_dlopen_flags | DLFCN.RTLD_GLOBAL) But there is no DLFCN module for macOS. Python docs suggest generating DLFCN if it's not available, though /usr/include does not exist. I'm not really familiar with these dl related commands. I found this link and tried to just manually replace DLFCN.RTLD_GLOBAL to -1, which got rid of a lot of errors except Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Applications/Houdini/Current/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/python2.7libs/hou.py", line 19, in <module> import _hou ImportError: image not already loaded I also tried the otool steps here which did not seem to change anything. Not really sure where to go from here. Thanks!!
  3. Lava in Houdini 17

    You never converted the VDB SDF to polygons after the vdbfromparticlefluid, so the point vop won't work since there's no points to run over, only voxels. You could consider using the particlefluid surface SOP, too. It has all the stuff you want inside of it. I also took the size of your FLIP container down a bit, as it was pretty large. My changes in red. Lava_changed.hipnc
  4. Animated Mesh on Vellum

    If possible, it might be easier to sim the whole thing first, then carve it away later. I didn't change much from the default sim parameters but it gets what I mean across. My nodes are in red. You could do some neat stuff w/find shortest path sop, too. RnD_Embroidering_v202_odforce_jr.hip
  5. How to see pyro field values

    In the dop i/o sop, you can check out "Compute Min/Max Values", which will create a couple of extra primitive attributes. Alternatively, you can see the same values in the intrinsics of each field. volumeavgvalue, volumemaxvalue, volumeminvalue are all good ones.
  6. Grouping points from array

    Ohh yeah this is much better, thanks!
  7. Grouping points from array

    Here's a solution: the left side does it one wrangle, the right side groups, colors and deletes raycollisionTest_jr.hip
  8. Tools --> Show Grid --> Grid Lines
  9. If you MMB on the IsoOffset, you'll see the number of voxel on each axis, as well as "size".
  10. object node name

    `opname("..")`
  11. create pod exhaust wash

    In sphere_object1, you should check your collision source. Since you are deleting the faces at the bottom and leaving a hole, the VDB is not being created correctly. You can bypass the file cache sop and check it out. This will help keep your fluid from pushing through the top. Also, try giving your fluid source a little bump of velocity in -Y edit: I also think you would benefit from splitting this into two separate sims - one for the downward thrusters with fast velocity and a lot of dissipation, and another for the wash on the ground. @eetu has a fantastic wash example on his site.
  12. relative reference without value return

    What paths are you trying to change? You're just trying to put parameters into the slots on a wedge ROP right? But you don't want to write them each manually? I guess you could try `opfullpath("/path/to/pyrosolver") + "/parameter"` and swap "parameter" with the name of the part you wanna change. Is this what you mean?
  13. Expression removes the points ?

    @CinnamonMetal I just picked an arbitrary range as an example Edit: whoops you were replying to the other
  14. Expression removes the points ?

    To expand up Noobini's reply, you should put the result of the rand() into a fit01() function and you'll get results that range between your desired amounts. Can throw a floor() on there to force an integer while you're at it too, but not really necessary in this case (but maybe others in the future....) floor(fit01(rand(detail("../m", "iteration", 0)), 2, 10))
  15. Access NodeA-Paramter in NodeB

    I think I have an idea of what you're trying to do, but having sort of a hard time understanding your terminology. Could you post quick hip with an example of what you're trying to do ? Otherwise, if you're trying to link parameters 1:1, you want to right click the parameter, and select "copy parameter". then in the destination parameter right click and again do "paste relative references". This will make the parameter drive the other one.
×