Jump to content

dgani

Members
  • Content count

    16
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

2 Neutral

About dgani

  • Rank
    Peon

Personal Information

  • Name
    Dylan G
  • Location
    United States
  1. In this case, your particles most likely have a velocity attribute. When velocity is present, copy to points prioritizes that value over the normal. You can try promoting your normal value to the orient attribute in a wrangle. Something like @orient = dihedral({0,1,0}, @N)
  2. implicit cast

    abs(@v.xyz) < ch('vthreshold') Did you want to compare each component of your vector individually? There's no good way to do that in one line. This code compares the absolute value of @v.x to the threshold. The abs() function returns a vector with the absolute values of x, y, and z in it. So, you could do something like distance(abs(@v), {0,0,0}) to find the vector distance to 0 if you wanted a one line comparison. However, if I wanted to compare each of those components I would usually write it out like this: float t = chf("threshold"); vector abs = abs(@v); if(abs.x < t || abs.y < t || abs.z < t){ // code } Hope this helps!
  3. Star Wars like Hyperjump

    You might try using the wireframe node instead of the poly wire node. That can create rounded edges. http://www.sidefx.com/docs/houdini/nodes/sop/wire.html
  4. Instead of using copy to points, use the volume stamp sop. volume_stamp.hipnc
  5. I'm trying to create a shelf tool that needs to select a single primitive in the scene. If I activate my shelf tool while I'm already in primitive selection mode, it works, but I'd like to force the selection method to use primitive selection. I've tried looking at the documentation for sceneViewer: http://www.sidefx.com/docs/houdini/hom/hou/SceneViewer.html I think the key might be the setPickGeometryType function, but the documentation doesn't have a good indication of what I should feed it. Has anyone worked with these view options before? Any help is much appreciated
  6. I would also like to know where to start dealing with cameras. Has anyone gotten anywhere with this? Any functions or documentation to look at?
  7. Ahhh I see. That works much better, thanks! Just FYI, here is where I found the info about paths in the documentation: http://www.sidefx.com/ja/docs/hdk/_h_d_k__intro__creating_plugins.html#HDK_Intro_CreatingPlugins_HOUDINI_DSO_PATH
  8. I figured out a solution. I exported the HOUDINI_DSO_PATH again, but this time with a target equal to all the default paths. The command looked like this: export HOUDINI_DSO_PATH="./dso:$HOME/houdini16.0/dso:$HOME/Library/Preferences/houdini/16.0/dso:/Users/Shared/houdini/16.0/dso:$HSITE/houdini16.0/dso:$HFS/houdini/dso" I'm sure there's a better solution out there, but this works for now.
  9. Hi all, I tried to edit my DSO path as shown in the HDK guide, but it didn't work properly. Worse, now when I launch Houdini, all my plugins are broken! I've realized I don't need to move my DSO path yet, is there any way to reset the DSO path? This is on Mac OS X. Here is my output from hconfig: hconfig HFS := '/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources' HOME := '/Users/gfx03' HOUDINI_DESKTOP_DIR := '/Users/gfx03/Desktop' HOUDINI_DSO_ERROR := 2 HOUDINI_DSO_PATH := '/Users/gfx03/HDK/custom' HOUDINI_MENU_PATH := '/Users/gfx03/Library/Application Support/Thinkbox/Deadline10/submitters/HoudiniSubmitter;&' HOUDINI_NO_SPLASH := 1 HOUDINI_OS := 'MacOS' HOUDINI_OTLSCAN_PATH := '/Volumes/tools/houdini/hda;&' HOUDINI_PATH := '/Users/gfx03/Library/Application Support/Thinkbox/Deadline10/submitters/HoudiniSubmitter;&' HOUDINI_TEMP_DIR := '/tmp/houdini_temp' HOUDINI_USER_PREF_DIR := '/Users/gfx03/Library/Preferences/houdini/16.0' SHELL := '/bin/bash' USER := 'gfx03' and here is my output from hconfig -ap: HOUDINI_DSO_PATH := "/Users/gfx03/HDK/custom" The search path for loading custom plug-ins (Dynamic Shared Objects or Dynamic Link Libraries). Default path: '@/dso_^;@/dso' Where @ is replaced with HOUDINI_PATH and ^ is replaced with macos Directories searched (in order) are: 1) "$HOME/HDK/custom" Any help is much appreciated. Edit: Here is the error output I get on launch from terminal: Houdini DSO error on 'IMG_IPlay.dylib' No matching files found in path Houdini DSO error on 'IMG_MDisplay.dylib' No matching files found in path Houdini DSO error on 'IMG_JPEG.dylib' No matching files found in path Houdini DSO error on 'IMG_Cineon.dylib' No matching files found in path Houdini DSO error on 'IMG_Wave.dylib' No matching files found in path Houdini DSO error on 'IMG_Alias.dylib' No matching files found in path Houdini DSO error on 'IMG_Bitmap.dylib' No matching files found in path Houdini DSO error on 'IMG_SoftImage.dylib' No matching files found in path Houdini DSO error on 'IMG_Targa.dylib' No matching files found in path Houdini DSO error on 'IMG_Vertigo.dylib' No matching files found in path Houdini DSO error on 'IMG_RADIANCE.dylib' No matching files found in path Houdini DSO error on 'IMG_OpenEXR.dylib' No matching files found in path Houdini DSO error on 'IMG_PNG.dylib' No matching files found in path Houdini DSO error on 'IMG_ptex.dylib' No matching files found in path Houdini DSO error on 'IMG_ImageIO.dylib' No matching files found in path Houdini DSO error on 'IMG_IOTable.dylib' No matching files found in path Error "/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/houdini/FBoptions"[65]: Unknown file format "JPEG" Warning: Bad operator type when binding handles: Sop/filament_advect_pos Warning: Bad operator type when binding handles: Sop/findshortestpath Warning: Bad operator type when binding handles: Sop/shrinkwrap::2.0
  10. That worked! I am successfully able to compile and load plugins after downgrading my Xcode version to 7.3. Thanks again!
  11. Thank you! I think the issue is that I'm using XCode 9 instead of XCode 8. Testing it now...
  12. I've tried looking for what version of Clang Houdini was compiled with, but I can't find anything. The only HDK documentation for determining version is for Linux. I've looked at the details of the application, but I can't find anything about the Clang compiling version.
  13. Thanks! Any idea how I can do that? I'm just using the hcompile that is included with Houdini. Is there somewhere I can find the hcompile makefile or something?
  14. Hi All, I'm getting started with HDK, and while trying to build geoisosurface.C I encounter the error: clang: error: unknown argument: '-fobjc-gc' I'm compiling with hcustom -s geoisosurface.C on Mac OS Sierra 10.12.6. I am in the Houdini console, and I've successfully launched Houdini from it. I also have the most updated version of XCode, v9.1. Right before encountering the error, the console prints out: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ geoisosurface.o -o ./geoisosurface -Wl,-rpath,/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Libraries -L/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Libraries /Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Houdini -Wl,-rpath,/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../../../.. -arch x86_64 -fobjc-gc -framework OpenGL -framework Cocoa I've done some digging already. Read, write, and execute have been enabled with chmod. Here are the other threads I looked at: https://sidefx.com/forum/topic/18773/?page=1#post-88181 https://www.sidefx.com/forum/topic/31784/?page=1#post-147988 Any help is much appreciated!
  15. Hi All, I'm getting started with HDK, and while trying to build geoisosurface.C I encounter the error: clang: error: unknown argument: '-fobjc-gc' I'm compiling with hcustom -s geoisosurface.C on Mac OS Sierra 10.12.6. I am in the Houdini console, and I've successfully launched Houdini from it. I also have the most updated version of XCode, v9.1. Right before encountering the error, the console prints out: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ geoisosurface.o -o ./geoisosurface -Wl,-rpath,/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Libraries -L/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Libraries /Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../Houdini -Wl,-rpath,/Applications/Houdini/Houdini16.0.671/Frameworks/Houdini.framework/Versions/Current/Resources/../../../.. -arch x86_64 -fobjc-gc -framework OpenGL -framework Cocoa I've done some digging already. Read, write, and execute have been enabled with chmod. Here are the other threads I looked at: https://sidefx.com/forum/topic/18773/?page=1#post-88181 https://www.sidefx.com/forum/topic/31784/?page=1#post-147988 Any help is much appreciated!
×