Jump to content

Search the Community

Showing results for tags 'parameters'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
  • 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

Found 11 results

  1. Hi everyone, I need to be able to change a value inside my otl based on any parameter change of the otl. Is there a method to check that? Cheers, Kim
  2. Hey guys and girls I'm very new to python and Houdini tool creation.This might turn out to be incredibly simple for you,I have a button that when click dives into my current digital asset my objective is to before diving to pin/lock/focuses the parameter pane that I clicked the button on(so the current node).I cant figure out how to use the classes Desktop,Pane,PantTab to do this to save my life. Am I simply approaching the problem wrong?I would greatly appreciate any help on this, Thanks in advance.Cheers!
  3. Hi everyone, I need to be able to change a value inside my otl based on any parameter change of the otl. Is there a method to check that? Cheers, Kim
  4. Hey. I have a problem with overwriting values from wire object in SOP Solver. If klinear parameter (Linear Spring Constant) is set to 300 in wire object and then I'm writing inside sopsolver in point wrangle @klinear = 300; just for test, then my simulation looks different, less stabile (?). Why is that happening? This is the same value so it should be the same sim. I was trying to put sopsolver before and after the wire solver and there was the same situation.
  5. Hi Everyone, We're having a major problem at work. A couple of our artists have OBJ-level digital assets that they've created, with lots of custom parameters. These digital assets are installed in their current hip files. When we use the Operator Type Manager to copy or duplicate the asset to another directory/version up, the new asset loses all its custom parameters, even after using Save Node Type and Match Current Definition. We've tried everything we can think of, but once we try to copy or duplicate the asset, all the parameters get deleted. Has anyone else run into this? And what's the solution? Thanks, ~Chris
  6. I'm trying to build a list of all the parameters of a certain type from a node in python. For instance for a geo node, I want to build a list of all the toggle parameters on it. Comparing hou.node('/obj/geo1').asCode() and hou.node('/obj/geo1').parms() was going down a very messy road. I was hoping there was a way to use just the .parms() and check if each parameter is a toggle type? *Edit I feel like this may have something to do with it, https://www.sidefx.com/docs/houdini15.5/hom/hou/ToggleParmTemplate However only when I add a spare parameter and run .asCode() does it seem to reference this, and I can compare against .parms(), but it doesn't work on regular parameters.
  7. when I link some parameters some of the main node get crazy wire messing up the node. example Node A has some parameters link between them. example nodeA.parm("bla") and nodeA.parm("ble") is set as reference link to nodeA.parm("bla") nothing crazy one parameter looking at another one in the same node. now I want to create a new node and link all the parameters to this new node I want nodeB parameters to look at nodeA, after running the code witch is a regular stuff just setting parameters, some of the paramters in nodeA that were just a integer now have an expression poiting to another parameter =( should I create something like if its an expression use "setExpression" if is not an expression use the regular set? def linkParmsTo(source_node, target_node): """ Link the parms of the source node to those of the target node if a parameter with the same name exists. # Produced by: # Graham Thompson # captainhammy@gmail.com # www.captainhammy.com """ for parm_to_link in source_node.parms(): # Skip folder parms. if isinstance(parm_to_link.parmTemplate(), hou.FolderSetParmTemplate): continue parm_to_link_to = target_node.parm(parm_to_link.name()) # If the target parm exists if parm_to_link_to is not None: parm_to_link.set(parm_to_link_to)
  8. Hi I want to ask a simple question, how to unscope parameter that is scoped using the shift + LMB shortcut? I can't unscope by clicking elsewhere, I figured out if I click other object in the network it will scope that object, then I can deselect by clicking elsewhere. So is there any other way?
  9. Hey! I'm trying to add the pyro shader image planes (fire_color,fire_mask,smoke_color,smoke_mask) to the list of check box image planes introduced in H14 to quickly turn them on when I'm rendering pyro stuff. Just copying the ones that are already there in the parameter editor and replacing the image plane names with those ones didn't work, though. Does anyone know if it's possible to edit the Mantra node in this way? Thanks!
  10. Hello, guys. While developing some complex operators in HDK I realized that defining lots of parameters becomes a bit tedious and routine task. So I decided to simplify this using C++ templates, and that's what I want to share. All you need is to define these parameters inside newSopOperator() function. Here's how it looks like: void newSopOperator(OP_OperatorTable *table) { PRM_LIST_START(myTemplateList); PRM_FLT(flt, "FLT", 0.01); PRM_INT(integer, "INT", 3); PRM_TOGGLE(toggle, "TOGGLE", ON); PRM_STRING(string, "STRING", "Hello, World!"); PRM_FLT2(flt2, "FLT2", 0.01, 0.02); PRM_FLT3(flt3, "FLT3", 0.01, 0.02, 0.03); PRM_XYZ(xyz, "XYZ", 0.01, 0.02, 0.03); PRM_RGB(rgb, "RGB", 0.3, 0.15, 0.85); PRM_UVW(uvw, "UVW", 1, 0.5, 0); PRM_BUTTON(btn, "Button", callback); PRM_LIST_END(); table->addOperator( new OP_Operator("hdkParmsDemo", "HDK Parms Demo", SOP_HDKParmsDemo::myConstructor, myTemplateList, 0, // Min # of sources 0, // Max # of sources 0) ); } The same easy thing is about reading: // Automatically create variables with parameter names READ_FLT(flt); // double flt; READ_INT(integer); // int integer; READ_TOGGLE(toggle); // bool toggle; READ_STRING(string); // UT_String string; READ_VEC2(flt2); // UT_Vector2 flt2; READ_VEC3(flt3); // UT_Vector3 flt3; Header and sample SOP are attached in the archive. Would appreciate your feedback HDK_Parms.zip
  11. Hi. I like to decorate my assets in some common style. Is there a way to generate some default template for digital asset when it's created? For example when I press Create Digital Asset... I would like to have separator/label/separator trio added by default. Can it be done? Thanks!
×