I can use $ID at POP NETWORK. but, The POP OBJECT(pop solver) in DOP NETWORK is create just 1 pop object. It's not particles. And I can't use $PT or $ID at DOP NETWORK.
I want to apply wind nosie each particles randomly at DOP NETWORK.
How can I control individual particle in DOP?
Found 7 posts.
Search results Show results as topic list.
Houdini Indie and Apprentice » How can I control individual particles in DOP?
- syfake
- 7 posts
- Offline
Houdini Indie and Apprentice » What is wrong with this python codes?
- syfake
- 7 posts
- Offline
I want to make python node for acumulative color from attrib transfer SOP(Cd) to some object.
I don't know what is problem.
——————————————————
thisnode = hou.pwd()
inputs = thisnode.inputs()
first_input_geo = inputs.geometry()
first_input_points = first_input_geo.points()
second_input_geo = inputs.geometry()
second_input_points = second_input_geo.points()
this_geo=thisnode.geometry()
this_points=this_geo.points()
fi_cr = first_input_points.attribValue('Cd')
si_cr = second_input_points.attribValue('Cd')
this_cr = this_points.attribValue('Cd')
impulse_flag_attrib = this_points.addAttrib(hou.attribType.Point,“impulse_flag”,0)
if si_cr != fi_cr:
this_points.setAttribValue(impulse_flag_attrib, 1)
this_points.setAttribValue(this_cr, si_cr)
else:
this_points.setAttribValue(impulse_flag_attrib, impulse_flag_attrib)
if impulse_flag_attrib == 1:
this_points.setAttribValue(this_cr, this_cr)
——————————————
I don't know what is problem.
——————————————————
thisnode = hou.pwd()
inputs = thisnode.inputs()
first_input_geo = inputs.geometry()
first_input_points = first_input_geo.points()
second_input_geo = inputs.geometry()
second_input_points = second_input_geo.points()
this_geo=thisnode.geometry()
this_points=this_geo.points()
fi_cr = first_input_points.attribValue('Cd')
si_cr = second_input_points.attribValue('Cd')
this_cr = this_points.attribValue('Cd')
impulse_flag_attrib = this_points.addAttrib(hou.attribType.Point,“impulse_flag”,0)
if si_cr != fi_cr:
this_points.setAttribValue(impulse_flag_attrib, 1)
this_points.setAttribValue(this_cr, si_cr)
else:
this_points.setAttribValue(impulse_flag_attrib, impulse_flag_attrib)
if impulse_flag_attrib == 1:
this_points.setAttribValue(this_cr, this_cr)
——————————————
Technical Discussion » Where is the near/far clipping option of default view?
- syfake
- 7 posts
- Offline
graham
The clipping planes are now controlled in the Display Options under the Optimization tab then under then the Culling Tab. You can now specify which planes automatically adjust and which ones are manual and the corresponding values.
Thanks graham!
Technical Discussion » Where is the near/far clipping option of default view?
- syfake
- 7 posts
- Offline
Houdini Indie and Apprentice » how to group pyro collided to static object volume
- syfake
- 7 posts
- Offline
I have a static object volume in the autodopnetwork of pyro.
And I want to group pyro collided to volume. on this, I would apply wind force only to this group.
The pyro smoke pass through static object. but, it have collision data(?).
there are two questions.
1. how to make pyro smoke pass through static object volume(but it have collision data)?
2.how to group them(collided to static object)?
And I want to group pyro collided to volume. on this, I would apply wind force only to this group.
The pyro smoke pass through static object. but, it have collision data(?).
there are two questions.
1. how to make pyro smoke pass through static object volume(but it have collision data)?
2.how to group them(collided to static object)?
Houdini Indie and Apprentice » about if expression.
- syfake
- 7 posts
- Offline
tamte
you can imagine it like this
if(
then first argument:
$DATACT == $ST,
second argument:
0,
third argument(everything in angvel() expression):
angvel(
vector3($rx, $ry, $rz),
vector3( ch(“rx”), ch(“ry”), ch(“rz”) ),
$TIMESTEP
)
the end of if
)
thanks for your help!
Houdini Indie and Apprentice » about if expression.
- syfake
- 7 posts
- Offline
The houdini help said “Returns the value of the second or third argument depending on the truth of the first argument.”.
so, this function's structure is ‘if(expression, true_value, false_value)’
but default value of angular velocity of motion dop parameter has arguments more than 3.
if($DATACT == $ST, 0, angvel(vector3($rx, $ry, $rz), vector3(ch(“rx”), ch(“ry”), ch(“rz”)), $TIMESTEP))
i cant understand this structure.
sorry i cant write english well.
so, this function's structure is ‘if(expression, true_value, false_value)’
but default value of angular velocity of motion dop parameter has arguments more than 3.
if($DATACT == $ST, 0, angvel(vector3($rx, $ry, $rz), vector3(ch(“rx”), ch(“ry”), ch(“rz”)), $TIMESTEP))
i cant understand this structure.
sorry i cant write english well.
-
- Quick Links