Jump to content

fsimerey

Members
  • Content count

    98
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    2

fsimerey last won the day on March 13 2019

fsimerey had the most liked content!

Community Reputation

21 Excellent

About fsimerey

  • Rank
    Peon

Contact Methods

  • Website URL
    http://fsimerey.com

Personal Information

  • Name
    François
  • Location
    Paris
  1. Render Path + AOV Path Expression

    Hello, first of all, I don't understand why you don't use directly $HIP/render/$HIPNAME/$HIPNAME/BumpNormal.$F3.exr ? Then, if you want to use the same name without the extension, like /mypathrender/myrendername_BumpNormal.$F3.exr you can remove a number of chars with this : `substr(chs("RS_outputFileNamePrefix"), 0, strlen(chs("RS_outputFileNamePrefix"))-4)` Here the -4 remove the extension and the dot, if you want remove also the $F3 and the dot, then -8 must be used. substr() > https://www.sidefx.com/docs/houdini/expressions/substr.html
  2. I'd like to get the type of a primitive

    You're welcome
  3. I'd like to get the type of a primitive

    The difference of a polyline and a polygon is the attribute 'intrinsic:closed'. You can get this with: prim(0, "intrinsic:closed", @primnum) or in group with: @intrinsic:closed==1
  4. COP Workflow - $F fails to update

    Try with this: File_$F4_reflections_dark.exr or File_`$F4`_reflections_dark.exr
  5. deleting points

    You can simply use a Clean node
  6. Rotation matrix pivot point

    It's like you translate the points at origin with pivot as center (@P - pivot), then rotate (* matrix) and replace at the pivot position (+ pivot)
  7. rotation matrix to degrees

    I don't know if it's what you are looking for exactly, but the instance function create a transformation matrix. You just need to multiply to @P. https://www.sidefx.com/docs/houdini/vex/functions/instance.html Here a simple vex code to rotate all points with an axis and pivot attributes previously defined. // rotate vector scale, postrotation; vector4 orient; float angle = ch("ang"); matrix3 rotm = ident(); rotate(rotm, radians(angle), v@axis); orient = quaternion(rotm); scale = 1; postrotation = 0; matrix xform; xform = instance(v@pivot, @N, scale, postrotation , orient, v@pivot); @P *= xform; EDIT: You can also take a look with quaternion, eulertoquaternion, qrotate, etc.. for rotation
  8. Mplay Command line compare

    I think the problem is dash symbol. I'm pretty sure that interpreted as a minus sign by mplay. To avoid this kind of problem, I'm never use dash, space or accent in my naming.
  9. Mplay Command line compare

    Linux
  10. Mplay Command line compare

    Do you render frames with $F or $F4 ? I think about each system sort file numbers. 0001, 0002..., 0010 or 1,10,2 etc...
  11. Mplay Command line compare

    I tested your command line and it's works fine. Are you sure is not a problem with your path ? /FolderA/*.jpg why do you start with / ? That means your folder is at the root of your file system.
  12. Convert a group into string using Python

    Ok in that case ask for convert a group in string but not 'Convert a group into string using Python'
  13. Convert a group into string using Python

    Ok, I understand but it's not that difficult, even I can do it: node = hou.pwd() geo = node.geometry() edges = geo.findEdgeGroup("group4").edges() mystring= "" last_pt = "" for i in range(len(edges)) : edgestr = edges[i].edgeId() s = edgestr[1:].split("-") start_pt = s[0] end_pt = s[1] if last_pt == start_pt : mystring += "-" + end_pt else: mystring += " p" + start_pt + "-" + end_pt last_pt = end_pt
  14. Convert a group into string using Python

    In 17.5.360 this kind of string doesn't work in an edge group node in 'Base Group' parameter. The best smart is "p-10-11-12-13 p100-101-102-103" and you can check with a variable if the last computed point was the actual minus 1 to replace the result EdgeId()
  15. Convert a group into string using Python

    I'm not a python specialist, but if your goal is to get a basegroup string, I would do this: geo = hou.node("/obj/geo/geowithgroup").geometry() edges = geo.findEdgeGroup("mygroup").edges() for i in range(len(edges)) : mystring += (edges[i].edgeId()) + " "
×