# dgani

Members

16

1. ## Geometry on points not orientated to surface

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. ## Combine multiple densities from a copy

Instead of using copy to points, use the volume stamp sop. volume_stamp.hipnc
5. ## clang: error: unknown argument: '-fobjc-gc'

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!
6. ## Scene viewer - set pick style primitives

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
7. ## Custom camera projections

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?
8. ## How to reset HOUDINI_DSO_PATH

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

10. ## How to reset HOUDINI_DSO_PATH

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.
11. ## clang: error: unknown argument: '-fobjc-gc'

That worked! I am successfully able to compile and load plugins after downgrading my Xcode version to 7.3. Thanks again!
12. ## clang: error: unknown argument: '-fobjc-gc'

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!
13. ## clang: error: unknown argument: '-fobjc-gc'

Thank you! I think the issue is that I'm using XCode 9 instead of XCode 8. Testing it now...
14. ## clang: error: unknown argument: '-fobjc-gc'

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.
15. ## clang: error: unknown argument: '-fobjc-gc'

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?
×
• Donations