Jump to content

Search the Community

Showing results for tags 'string'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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 13 results

  1. Hi @ll, Firstly, enchanted to meet you all. I was testing the VEX function “opfullpath” in a simple way : // Getting the intrinsinc detail “numprim” via the function “detailintrinsinc”. Houdini Version : Nodes : one polygon Mesh(@opinput0) + attrWrangler. Detail intrinsinc signature is : detailintrinsic(string geometry, string intrinsic) Thus #1 : string geometry must be the path to Geometry Thus #2 : the command “in theory” could be : int primCount = detailintrinsinc( “op:`opfullpath(“../myInputedGeo”)`”,”primitivecount”); printf(“prim count : %g \n”, primCount); // to display. Saddly it doesn’t work… But : op:`opfullpath(“../myInputedGeo”)` is NOT a string it generes a string Thus #3 : command could be : string fullpath = `opfullpath(“../myInputedGeo”)`; int primCount = detailintrinsinc( fullpath,”primitivecount”); printf(“prim count : %g \n”, primCount); // to display. Saddly it doesn’t work… So it’s really hard to me to spot the worry…..because if you use the “lazzy” signature : detailintrinsinc(int opinput, string intrinsinc); It works but it has really really less power than using a path as the code will just look a the input0 of the wrangler’s entry rather than all over the scene to get its info. Probably a syntax error from me ? So if any body could help, you will be welcome please !!!. Bests, alr + + + pathtogeo-v004.hipnc
  2. Execute string in Python ?

    Hey guys is there any way to execute string in python ? its my string variable : "hou.parm('/obj/test3_FBX/materials/Google_Hybrid___7/Google_Hybrid___7_surface/map1')" i want to use it to set a parameter , but problem is its a string. im also tried to change it like this : myPath = '/obj/test3_FBX/materials/Google_Hybrid___7/Google_Hybrid___7_surface/map1' hou.parm(myPath) in 3dsmax maxscript you can using a execute syntax before string to do it. is there a similar way in python for that ?
  3. String parsing in Font SOP

    Hi guys I'm relatively new to Houdini, and I've been trying to make this little digital asset. Basically what I need is to set the 'Number Of Copies' integer field of a duplicate SOP to the number of RETURN characters in the text field of a Font SOP. Is this even possible? I can do this easily in C++ but I can't get the syntax right in Houdini and I don't know how to assign it to the current field for which I'm writing the expression. I tried using the foreach() loop on the text field, but I can't figure out how to do the string comparison. Please help. Thanks!
  4. Hey guys, I am trying to figure out how to add this random end strands on a piece of rope proceduraly. I am attaching my solution as to how to create the piece of rope. I wonder if there is a way to add a ramp to control the size of SCALE of the sweep node and also should i use fur to add little bits of fuzz or tiny threads like here? cord_rope_ends.hipnc
  5. Hi guys. I have an array of points with an attribute @mesh_path and @map_path @mesh_path = "/mnt/projects/model/mesh.001.proxy.OBJ" and File SOP connected below I can't read file if I use attribute in a FILE_SOP text Field. `@mesh_path` Is there any possibility to use string variable in FILE SOP text field to read the file?
  6. Hi guys. I have a point with an attribute @mesh_path @mesh_path = "/mnt/projects/model/mesh.001.proxy.OBJ" and File SOP connected below I can't read file if I use attribute in a FILE_SOP text Field. `@mesh_path` Is there any possibility to use string variable in FILE SOP text field to read the file?
  7. Hi guys. I have a point with an attribute @mesh_path @mesh_path = "/mnt/projects/model/mesh.001.proxy.OBJ" and File SOP connected below I can't read file if I use attribute in a FILE_SOP text Field. `@mesh_path` Is there any possibility to use string variable in FILE SOP text field to read the file?
  8. Ok, I have many objects separated into point groups by unique suffixes. I'd like to split the suffix integer value from the array of group names. Then assign that integer to a custom attribute. I'm terrible at VEX so any suggestions would be greatly appreciated.
  9. string/rope breaking tearing

    Hi, I am working on a group project from school which requires me to break a string/rope in a realistic fashion. I have generated the string using a tool I wrote which gives me control on the construction of the string (a.k.a number of threads wrapped around each other). What are the recommendations to create this effect. 1) Do I go the cloth tearing route( I can't seem to find that tool in my version of Houdini) 2) Go the fracturing route 3) Any other recommendations? If you can guide me in the right direction so that I am not shooting in the dark, then it would be much appreciated. Thanks a bunch. Regards, Soumitra Goswami P.S. - My university currently has Houdini 12.5.376 as its latest version.
  10. Hi there, First time poster and fairly recent Houdini convert (half a year). I have a problem that I'm not sure how to tackle. I have a piece of geometry that I would like to wrap in string. Not necessarily overlapping and places where you can see the original geo (so not covered 100%). First I thought I should go the POP route but I can't figure out a way to crawl the object so the lines are somewhat neat. Painting where the lines will go is tedious and not really what I'm looking for. The POPs way would also mean I need to run the sim to get the object covered. I'm not sure if I have a lot of time to finish this look so I would love the quickest way to generate this on say 10 objects. Second I thought of using some sort of DOPs and attract the curves to the geo. This seems even messier and harder to control than the first route. Also I want to stay away from having to do this via a texture map to generate a displacement. I know I could do it fairly easily via a displacement map but at the same time I think this method would be the least accurate and not as procedural. If I can't do it procedurally I might as well hop back on C4D or Modo for the job and do it that way. I want to use the right tool for the job, you know? Any help would be super appreciated. I've fallen in love with Houdini and I am trying to use it in every project I do!
  11. A string of characters

    Hi, Guys. I was stuck by a simple VEX question. How can i get a string attribute, such as "s + @ptnum". s@name = "s + @ptnum" ; not working at all. I was lack of VEX expression experience. : D Thanks!
  12. Generative Arts ver A

    Hi Guys n Gals , This is my first post on this forum i`ve been a silent viewer of this precious forum , using Houdini since 3 yrs its a great piece of software , as i was doing r n d s regarding flips , pyros and vex i decided to work on generative arts too , the inspiration came in after using processing , here sharing a work i did using some useful expressions , i hope u guys will enjoy it ! http://vimeo.com/80090894 ThnX Ammar.
  13. I create a detail attribute of string type with "attribute create". How can I add string data created in vops into this attibute? The "add attribute" vop node doesn't have an option for string type attribute Actually an inconsistency like this exists for "Integer array" as well. You can output "integer array" from the inline node but there is no such option in the add attribute node....Why? Any ideas ? string to attribute.hipnc