Jump to content

Search the Community

Showing results for tags 'command line'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering + Solaris!
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Name


Location


Interests

Found 5 results

  1. cat data.csv | houdini script.{hip,hda} > new-data.csv aka HOUNIX It would be great if one could use houdini hips/hdas as general tools for processing datasets. In the above example this might be a csv file. Apologies for the duplicate question. The question is how though? Can houdini.exe -background achieve it, or can hcmd.exe capture stdin and stdout?
  2. 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. Hello. I`m trying to help a friend to setup a command line with redshift and houdini but I havent be able to do it. If I try using mantra, it works like a charm. But if I try with redshift, it dosnt. Looks like the command line is not loading redshift because I receive this errors: "Skipping unrecognized parameter "Redshift_SHOP_parmSwitcher"." " Bad parent found (parent is not a network): shop/rsMat_env_dirt/redshift_material1.init." and more like that. As extra information, if I run the command hconfig in the command line, I receive this: HFS := 'C:/PROGRA~1/SIDEEF~1/HOUDIN~1.425' HOME := 'C:/Users/machine' HOUDINI_DESKTOP_DIR := 'C:/Users/machine/Desktop' HOUDINI_OS := 'Windows' HOUDINI_TEMP_DIR := 'C:/Users/machine/AppData/Local/Temp/houdini_temp' HOUDINI_USER_PREF_DIR := 'C:/Users/machine/houdini17.5' HSITE := 'C:/PROGRA~1/SIDEEF~1/HOUDIN~1.425/site' USER := 'machine' # but if I run hconfig in the shell from houdini, I get this: HFS := 'C:/PROGRA~1/SIDEEF~1/HOUDIN~1.425' HOME := 'C:/Users/machine/Documents;' HOUDINI_DESKTOP_DIR := 'C:/Users/machine/Desktop' HOUDINI_OCL_DEVICENUMBER := 0 HOUDINI_OS := 'Windows' HOUDINI_PATH := 'C:/ProgramData/Redshift/Plugins/Houdini/17.5.425;C:/ProgramData/Redshift/Plugins/Houdini/17.5.425;&;C:/ProgramData/Redshift/Plugins/Houdini/17.5.425;&' HOUDINI_TEMP_DIR := 'C:/Users/machine/AppData/Local/Temp/houdini_temp' HOUDINI_USER_PREF_DIR := 'C:/Users/machine/Documents/houdini17.5' HSITE := 'C:/PROGRA~1/SIDEEF~1/HOUDIN~1.425/site' JOB := 'C:/Users/machine' USER := 'machine' # I suspect that hrender cant load redshift because is not loading the enviromen variables. We tried with royal render, and it works with mantra. But it fails with redshift. Rendering with redshift from houdini works perfectly. any help would be appreciate. Thanks
  4. Hi all, I tried to use commandline to render dop I/O and file cache nodes, but it didn`t work. I typed as following: /-> mread D:/test/g.hip /-> cd /obj/fluidtank_fluid /obj/fluidtank_fluid-> render a -f 1 100 _V -s but it showed me the message: Couldn`t find renderer a Did I do something wrong? g.hip
  5. Hi Everyone, I have bumped into a problem, which I can't seem to figure out unfortunately. Basically I like to render things by splitting up the elements of a scene to be rendered by different Mantra nodes with different settings on them. I simply connect up two mantra nodes, and click render on the bottom render node so that these nodes are set in the render control to render in a "frame by frame" order, which triggers the top render node render frame one, then the bottom one render frame one, then the top one render frame two then the bottom one to render frame two, etc. I attach a file with a very simple test scene so you can see what I want to achieve. daisyChained_basicSetup.hip If You click render on the bottom render node, it will create the frames "frame by frame" switching node instead of rendering all frames of the top node then all frames of the bottom one. When I try to recreate the same type of "frame by frame" chained rendering in the command line, It does it "node by node", which means it does all frames of the top node then all frames of the bottom one, although the file is the same. I tried hbatch and launching the bottom rendere, and tried also using hscript, navigating to my bottom render node and using -c execute to "click" on the render button of the bottom render node from the command line, but unfortunately both gave me the same result with rendering one node fully and I ran out of ideas. Other than this, the render from inside houdini finds the location of the $HIP to render to correctly, whereas the command line render puts the files one folder above the $HIP (like ../). Any help/advice is much appreciated! Thanks, George
×
×
  • Create New...