Jump to content

chrisdunham95

Members
  • Content count

    162
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

14 Good

About chrisdunham95

  • Rank
    Initiate

Contact Methods

  • Website URL
    http://www.chrisdunham.co.uk

Personal Information

  • Name
    Chris
  • Location
    Nottingham
  • Interests
    VFX, Games, RealtimeVFX, FX

Recent Profile Visitors

1,343 profile views
  1. Curves/Shape From Points Help

    Ahhh I see I totally forgot about the ends sop! Thanks a lot man, From this point I'm still struggling to then create clean geometry between the points (polyfill/cap) does the job to an extent but not nicely - and the polypath node also somewhat works, perhaps is what I'm after but doesn't take into consideration edge loops inside of others and thus creates one giant polygon rather than one with holes inside if that makes sense
  2. Curves/Shape From Points Help

    So I kind of fixed my issue - by grouping edges of a certain length (long unwanted edges) and then using the dissolve sop and assigning that group that gets me to a better stage - cleaning up the lines atleast
  3. Curves/Shape From Points Help

    Hey guys, so I'm taking some geo - - deleting away everything but the boundary points - in order to then create an edge using the ADD sop - take this and create polygons inbetween Currently I cant get the winding order/connecting order of my points right on more complex shapes with holes inside as such, heres my hip file any ideas or suggestions would be great! Thanks, C HoudiniHelpAddSop.hip
  4. Environment Variables - Houdini

    Thanks Ben really appreciate the advice and insight really helpful!
  5. Python in Houdini Question

    Hmmmm, I just tested my tool again to check and still no new created nodes or connections made/disconnected go back to the defaults using my buttons. - Is it perhaps because my tool is working at a obj level? (soo I have my tool > multiple geo networks > inside geo networks is the geometry) (the buttons create new geo networks/nulls and connect/disconnect them to other geo networks at that level - no sop changes) - which means that definition of the function will turn the sop's inside the geo networks back to default but not the geometry networks themselves?
  6. Python in Houdini Question

    Hmmmmmm, right that kind of makes sense. What kind of node changes? As ive tested it a few times and my new geo nodes being created remain fine, and the nodes I disconnect also remain fine (that's the only functionality my buttons require the unlock for) Ahhh okay ill take a look at that node see if that can replace it! Thanks man
  7. Python in Houdini Question

    Ahhh fantastic thankyou once again man! Really really appreciated I have another small question, So I have a button which adds extra nodes inside my OTL. It also unlocks the OTL to allow it to create new nodes as my line below shows. - hou.node('../CD_Tool).allowEditingOfContents() I then want to add another line which re-locks the OTL - I tried using the end brackets of allowEditingofContents with true and false, but to no luck, the documentation doesn't seem to specify but I could be me making a simple mistake? Theirs the match current definition way but that resets the network inside the OTL also which I don't want to doo. So the Answer was hou.node("obj/CD_Tool").matchCurrentDefinition() - Which Locks my otl for me, but doesn't seem to revert any nodes or values particularly which was my concern from the way it was explained via the documentation
  8. Hello all, So ive been customing the Houdini env variables within the Houdini docs folder. All working correctly with my job and hip file paths set as I wish. I was wondering is it possible to reference a system environment variable within the Houdini env variables script? (So set a environment variable called HOME to a certain path in the systems env variables) (Then call HOME within the Houdini env variables to set JOB or whatever). Any guidance or help appreciated as always Thanks C.
  9. Create Heightfield from Input Geometry

    hey man, yeahhh it was kind of the latter I was attempting to do. Take some normal geo > turn into heightfield > apply heightfield erosion But I think your right I'm gonna probably spent some time with vdbs see if I can rebuild some of the height field erosion tools functionality using various vdb functions Thanks a lot for the advice!:)
  10. Python in Houdini Question

    I have another python question, So I have a button which takes the user into the compositing network, to pair with that I'm trying to change the 'scene view' to 'compositor view' but cant seem to find much on this type of stuff done via python in buttons? anyone who could point me in any direction would be super useful :)!
  11. - Hello all, So I know you can project objects onto heightfields etc. But want to make use of the heightfield erode node and a few others BUT not on the default heightfields; On a separate imported model. Ive tried converting my model into a volume and adding a height attribute which gets me so far but not the results that I would say are working at all. Was wondering if anyone had any ideas or thoughts or even reference/documents they could point me in the direction of?:) [I also tried unlocking the heightfield otl and inputting my geo into the volumes directly but I get a flat plane currently - but this flat plane is affected by heightfield nodes so I guess I just need to re-engineer the volume conversion to not just work as a flat plane but that could be a problem as I guess heightfields were made to work on a plane basis and extrude later on? - So heightfields work as a 2d volume and I imagine I'm going to need a 3d volume in order to convert my mesh into a heightfield ] - After looking inside the default heightfield nodes I'm pretty sure my process should be something like. - Import geo for heightfield - Convert geo to volume and give scalar height attribute, (and no doubt some other stuff I'm currently missing) - Use volume creation to make use of heightfield sops. Thanks C
  12. How to make Ghost effect?

    Create a simple smoke simulation in the shape of what you like. (Perhaps custom velocity fields or using particles as the movement source may help) then id personally use the smoke simulation to drive a particle simulation (advect particles using velocity/position from smoke sim) - then render lots and lots of particles and do some simple post/compositing work.
  13. Python in Houdini Question

    So another quick question - I have a much larger script but keep getting errors on this one line which says; z = hou.evalParm('obj/Subnet1/number_parm') - Getting the parameter value The script including this line works fine in the shell once again. But inside Type Properties > Scripts - then pressing the button its connected too gives me this error; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "opdef:/Object/CD_GameDev_Export?PythonModule", line 31, in removegeo File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.439/houdini/python2.7libs\hou.py", line 57496, in evalParm return _hou.evalParm(*args) OperationFailed: The attempted operation failed. - If I change my script from hou.evalParm to houd.parm it works perfectly, but I wanted the evaluated value of my parm rather than the parm string, can anyone lead me to where I'm going wrong? - Please ignore the above, I found the issue my hou.evalParm line was missing a ' - which every other line had, silly me least I found the issue!
  14. Python in Houdini Question

    Yeah that makes sense for sure! Ahhhh yeah that's exactly what I thought you could do! just wasn't sure how to go about it, but ive got it working based off your example huge thanks man!
  15. Python in Houdini Question

    Another Question - I keep managing to successfully write scripts in python that work in the shell - but then converting them into working buttons I'm not always understanding the logic. Does anyone know of any particular tutorials that follow this method or show you how one converts such script into buttons (OR I believe you can store scripts in your otl and call them into a button? ) Or any documentation, I'm just finding chunks within the Houdini docs but it doesn't always correlate together in a way I'm properly understanding. [ I guess I'm trying to work out the correct and best workflow for python > buttons etc.] Thanks Guys C
×