you need to force bullet to rebuild the collision geometry by setting the ‘id’ parameter to -1 in your sop solver.
see attached.
-G
Found 31 posts.
Search results Show results as topic list.
Technical Discussion » Deforming Packed Geometry
- ranxerox
- 35 posts
- Offline
Houdini Engine for Maya » unloading Houdini Engine
- ranxerox
- 35 posts
- Offline
Houdini Engine for Maya » unloading Houdini Engine
- ranxerox
- 35 posts
- Offline
Houdini Engine for Maya » unloading Houdini Engine
- ranxerox
- 35 posts
- Offline
thanks. It does indeed work, but I am noticing that it is not relinquishing the license. Is this the expected behaviour ?
-G
-G
Houdini Engine for Maya » unloading Houdini Engine
- ranxerox
- 35 posts
- Offline
Houdini Engine for Maya » unloading Houdini Engine
- ranxerox
- 35 posts
- Offline
hey all,
is there a way to unload the houdini engine plugin once it has been used in a scene ? I've tried deleting all nodes of type “houdiniAsset”, deleting the UI etc. When I try to unload the plugin (either from mel or from the interface) I still get the error message “cannot unload the plugin because it is still in use”.
any ideas ? Is this possible ? Currently the only way seems to be to call scene->new.
thanks
-G
is there a way to unload the houdini engine plugin once it has been used in a scene ? I've tried deleting all nodes of type “houdiniAsset”, deleting the UI etc. When I try to unload the plugin (either from mel or from the interface) I still get the error message “cannot unload the plugin because it is still in use”.
any ideas ? Is this possible ? Currently the only way seems to be to call scene->new.
thanks
-G
Technical Discussion » give parked obj a custom spin
- ranxerox
- 35 posts
- Offline
try using a vopforce dop to apply torque. To apply torque to only colliding objects, group them.
-G
-G
Technical Discussion » How to send commands to an open Houdini from Terminal ?
- ranxerox
- 35 posts
- Offline
you can also use something like “ps -aux | grep houdini” which will give you the command line used to launch houdini, so if you had opened it with the name of the hipfile (eg. houdini -n myhipfile.hip" you would be able to tell that way.
-G
-G
Technical Discussion » Field3D: Compiling on Windows
- ranxerox
- 35 posts
- Offline
you should probably send sidefx support a mail directly regarding your issue. I think you will find they are quite good.
-G
-G
Technical Discussion » Duplicating geometry during a RBD simulation
- ranxerox
- 35 posts
- Offline
here's your file with some slight changes .. it seems to work here. Your “max_piece_number” code wasn't doing what you thought it was .. that's only executed once (detail).
-G
-G
Technical Discussion » Duplicating geometry during a RBD simulation
- ranxerox
- 35 posts
- Offline
turn off “use deforming geometry” on your node “new_cell” in the autodopnetwork ..
also bypass “create_fractured_groups1” and “connectivity2” in /obj/box_object1.
and I changed the assign_name code somewhat.. change to the line:
@name = “piece” + itoa(@Frame);
-G
also bypass “create_fractured_groups1” and “connectivity2” in /obj/box_object1.
and I changed the assign_name code somewhat.. change to the line:
@name = “piece” + itoa(@Frame);
-G
Technical Discussion » houdini command line .. python
- ranxerox
- 35 posts
- Offline
(1) HFS == “Houdini File System” .. it is created by (2) “houdini_setup_bash”, which is a specific script for the bash shell. Bash is the bourne again shell which is popular. Csh is another shell. On windows I'm not sure how it works .. there is probably a link to a specific houdini shell which probably starts dos or whatever with all of the houdini variables set. Or maybe you need to set an environment variable “HFS” which points to “C:\Program Files\Side Effects Software\Houdini 13.0.198.21”. This is getting more into windows specific issues which I'm not the person to answer.
-G
-G
deadalvsranxerox
Source your houdini_setup_bash (or csh or whatever shell you are using) so that “HFS” gets defined..
This is the part that confuses me ..
1] What does ‘HFS’ stand for ?
2] Is ‘houdini_setup_bash’ a script ? a shell ? an exe ?
If I have C:\Python27\python.exe open ( the shell ) and Houdini installed under C:\Program Files\Side Effects Software\Houdini 13.0.198.21, what would be the the steps to do what I quoted of your text ?
I did a lot of scripting before, but this is new territory .. Thanks for the help so far ..
m.
Technical Discussion » houdini command line .. python
- ranxerox
- 35 posts
- Offline
all I've done here is copy the code from the above mentioned documentation page, followed by the code I entered above. Source your houdini_setup_bash (or csh or whatever shell you are using) so that “HFS” gets defined.. and run the code below. This will create a sphere and save a hipfile “test.hip” into the current directory.
-G
#!/usr/bin/python2.7
def enableHouModule():
‘'’Set up the environment so that “import hou” works.'''
import sys, os
# Importing hou will load in Houdini's libraries and initialize Houdini.
# In turn, Houdini will load any HDK extensions written in C++. These
# extensions need to link against Houdini's libraries, so we need to
# make sure that the symbols from Houdini's libraries are visible to
# other libraries that Houdini loads. So, we adjust Python's dlopen
# flags before importing hou.
if hasattr(sys, “setdlopenflags”):
old_dlopen_flags = sys.getdlopenflags()
import DLFCN
sys.setdlopenflags(old_dlopen_flags | DLFCN.RTLD_GLOBAL)
try:
import hou
except ImportError:
# Add $HFS/houdini/python2.6libs to sys.path so Python can find the
# hou module.
sys.path.append(os.environ + “/houdini/python%d.%dlibs” % sys.version_info)
import hou
finally:
if hasattr(sys, “setdlopenflags”):
sys.setdlopenflags(old_dlopen_flags)
def makeSphere():
obj = hou.node(“/obj”)
s = obj.createNode('geo', ‘Sphere01’, run_init_scripts=False)
s.createNode('sphere','sphere');
enableHouModule()
import hou
makeSphere()
hou.hipFile.save(“test.hip”)
-G
#!/usr/bin/python2.7
def enableHouModule():
‘'’Set up the environment so that “import hou” works.'''
import sys, os
# Importing hou will load in Houdini's libraries and initialize Houdini.
# In turn, Houdini will load any HDK extensions written in C++. These
# extensions need to link against Houdini's libraries, so we need to
# make sure that the symbols from Houdini's libraries are visible to
# other libraries that Houdini loads. So, we adjust Python's dlopen
# flags before importing hou.
if hasattr(sys, “setdlopenflags”):
old_dlopen_flags = sys.getdlopenflags()
import DLFCN
sys.setdlopenflags(old_dlopen_flags | DLFCN.RTLD_GLOBAL)
try:
import hou
except ImportError:
# Add $HFS/houdini/python2.6libs to sys.path so Python can find the
# hou module.
sys.path.append(os.environ + “/houdini/python%d.%dlibs” % sys.version_info)
import hou
finally:
if hasattr(sys, “setdlopenflags”):
sys.setdlopenflags(old_dlopen_flags)
def makeSphere():
obj = hou.node(“/obj”)
s = obj.createNode('geo', ‘Sphere01’, run_init_scripts=False)
s.createNode('sphere','sphere');
enableHouModule()
import hou
makeSphere()
hou.hipFile.save(“test.hip”)
Technical Discussion » DOP particle group issues
- ranxerox
- 35 posts
- Offline
Technical Discussion » houdini command line .. python
- ranxerox
- 35 posts
- Offline
look here:
http://www.sidefx.com/docs/houdini13.0/hom/commandline#idm47503603268592 [sidefx.com]
soo .. source your houdini_setup_bash or whatever first so you have HFS set .. then run python .. import that script “enableHou” from that documentation page .. and go to town in hou:
def makeSphere():
obj = hou.node(“/obj”)
s = obj.createNode('geo', ‘Sphere01’, run_init_scripts=False)
s.createNode('sphere','sphere');
makeSphere()
good luck
-G
ps. almost forgot the save part:
hou.hipFile.save(“test.hip”)
http://www.sidefx.com/docs/houdini13.0/hom/commandline#idm47503603268592 [sidefx.com]
soo .. source your houdini_setup_bash or whatever first so you have HFS set .. then run python .. import that script “enableHou” from that documentation page .. and go to town in hou:
def makeSphere():
obj = hou.node(“/obj”)
s = obj.createNode('geo', ‘Sphere01’, run_init_scripts=False)
s.createNode('sphere','sphere');
makeSphere()
good luck
-G
ps. almost forgot the save part:
hou.hipFile.save(“test.hip”)
Technical Discussion » How to find brightest or darkest pixel in image?
- ranxerox
- 35 posts
- Offline
Houdini Lounge » access to old h12 beta forum ?
- ranxerox
- 35 posts
- Offline
hello, now that h12 has gone gold, is it possible to access the old H12 beta forum anywhere ?
thanks
-G
thanks
-G
Houdini Lounge » Houdini 12 GPU acceleration details
- ranxerox
- 35 posts
- Offline
I would be very interested to know the answer to this question as well.
cheers
-G
cheers
-G
patar
how about gtx 590?
it has dual gpu and memory of 3 gb (1.5 gb each) will it use all 3 gb or it will only use 1.5 gb? and will it use both gpu?
best regards
Patar
Technical Discussion » How to make a particle move along a ellipse orbit?
- ranxerox
- 35 posts
- Offline
this looks more like a curve flow, which is cool, but I don't see an elliptical orbit. I am curious how you could get a real elliptical orbit, without doing a spherical orbit in pops and scaling the whole thing.
-ranxx
-ranxx
probbins
Here's one way using an Attractor pop and point forces, the trick here is that you must have a Drag pop as well.
Technical Discussion » How to make a particle move along a ellipse orbit?
- ranxerox
- 35 posts
- Offline
I had to deal with this problem a few months ago. As far as I remember the orbit pop doesn't do elliptical orbits. My solution isn't relevant here, as the design direction changed, but I would be curious to know other people's solutions. It would be nice if the orbit pop had the facilities to do this.
-ranxx
-ranxx
edward
Try the Orbit POP.
-
- Quick Links