Jump to content

galagast

Members
  • Content count

    264
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    15

galagast last won the day on November 14 2021

galagast had the most liked content!

Community Reputation

173 Excellent

3 Followers

About galagast

  • Rank
    Illusionist

Contact Methods

  • Website URL
    http://limjeff.wordpress.com

Personal Information

  • Name
    Jeff Lim
  • Location
    Philippines

Recent Profile Visitors

6,532 profile views
  1. How to set Tags parameter using python

    hello, thank you for this! I can't seem to find a ".get" function, is there a way to get the tags of a parm? found it~ hou.parm("/path/to/parm").parmTemplate().tags()
  2. Hi, i have a FLIP simulation set up to only emit from a circle, going outwards. It also collides with a mesh to slide upwards (sort of like a small basin). Here's the top view of the sim in progress. Perspective view Notice that on the lower left quadrant (-X, +Z), i seem to be getting some sort of noise. My setup does not contain any other velocity source, except for velocity pushing the particles from the center of the circle emitter, going outwards. The scene is at the origin. I tried moving the whole scene away from the origin, but i get the same weird noise on the same quadrant. My hunch is that maybe the FLIP solver has some noise function inside it that needs to have an offset. (I'm in the process of trying to find it inside the solver XD) Anyone knows or have encountered something similar? I'm aiming to have all sides to be roughly smooth/circular. Then from there, i'll add in my custom velocities to sculpt the flow. I'll try and post a simple scene later if i can.. currently i cannot post the actual file XD
  3. Convert Packed Bounding Box to Polygon?

    So far, this one worked create_attributes (run over points) matrix ident = ident(); addpointattrib(0, "transform", ident, "matrix"); get_intrinsic_attributes (run over points) int pt = addpoint(0, {0,0,0}); // get bound size float bounds[] = primintrinsic(0, "packedbounds", @ptnum); float size_x = abs(bounds[0]-bounds[1]); float size_y = abs(bounds[2]-bounds[3]); float size_z = abs(bounds[4]-bounds[5]); vector scale = set(size_x, size_y, size_z); // set transform matrix tm = primintrinsic(0, "packedfulltransform", @ptnum); vector pos = primintrinsic(0, "pivot", @ptnum); pretranslate(tm, pos); prescale(tm, scale); setpointattrib(0, "transform", pt, tm); removeprim(0, @primnum, 1);
  4. Convert Packed Bounding Box to Polygon?

    heya Atom! yeah, i actually tried that.. i should have also mentioned that i wanted it to also be correctly oriented based on the packed prim orientation >__<
  5. Hello~ Anyone knows of a quick way to convert the Bounding Box display of a Packed Primitive Geometry into Polygon? Currently, i'm looking into just building a box based the packed intrinsics (transform and bounds) XD
  6. AMD Ryzen 5950X

    cool, bookmarked the page! thank you! it's something that i'll look into for the extra boost~
  7. AMD Ryzen 5950X

    awesome~ thank you for the tips regarding the ram, i'll definitely consider this while checking the options i'll also check out the discord~ cheers!
  8. AMD Ryzen 5950X

    Hey guys, I'm looking into setting up a new workstation. So far, Threadrippers seems to be out of my range >_< So I opted for the 5950X. I'm mainly aiming to utilize the threads for simulations. Here's what i'm looking at: CPU: 5950X Memory: 128gb Board: Asus TUF X570 Any recommendations based on your experience using 5950X? Should I choose a different board? Is there noticeable difference in choosing particular memory speeds?
  9. Getting Houdini Global Vars With Python

    Hi, apologies for resurrecting this. The current functions does allow me to grab the Houdini Global Variables. But is there a way to get a list of these? os.environ works, but I'm only after the Houdini Global Variables currently in my scene >_<
  10. Is this something close to what you are after? I used the xyzdist vex function to read in closest point data, which was then fed in to an Attribute Interpolate to attach the points even on an animated geometry. H16.5.438 Apprentice move_along_surface.hipnc
  11. Hi, I've attached a file where I added a point attribute called "angle", the computation is based on a forward direction. Is this what you were after? H16.5.438 Apprentice angle_v2.hipnc
  12. Freeze Transformations ?

    Have you tried the "Clean Transform" option of a geometry at the Object Level? (You'll need to move your geometry first at the object level) After selecting that, the parameters will be zeroed out. The pre-transform information is now stored.
  13. setting the dop io preset

    That 'presets' parameter is calling a callback python script. You could try this: theGeo = hou.node('/obj/geo1/dopio1') # Keyword argument needed by the internal invokePresetMenu function myArgs = {'node': theGeo, 'script_value0': 'pyro'} # The internal python function called by the presets parameter. theGeo.hm().invokePresetMenu(myArgs)
  14. Detection of open and closed surfaces

    Always glad to be of help! Cheers!
  15. Add Name Attribute Via Python

    The documentation is the first thing I look through. But I agree, it does kinda lack in the way of examples. Next I also google stuff, where the results are usually from this forum, or at Sidefx. For general python syntax and functions, I still use google. Lastly, if I have an issue and all of the above is still lacking.. I would try and post a thread to hopefully get some answers. As for examples, I try and check out built-in HDA's and peek inside the Scripts tab, sometimes it contains python code. Also if you explore the Shelf Tools, most of those uses a module in the form of 'tools' that you can find at $HFS\houdini\python2.7libs They have lots of functions there with descriptions. I'm also still just learning as I go with my day to day Houdini adventure. Wishing you the best of luck!
×