Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

papsphilip last won the day on May 17 2021

papsphilip had the most liked content!

Community Reputation

9 Neutral

About papsphilip

  • Rank

Personal Information

  • Name
    Filippos Pappas
  • Location
  1. trying to export VAT for an animated geo. The animation in Unity seems exaggerated. its not correct Can someone export the vertex textures to check in Unity? i cant pinpoint the source of the problem, but i think it is related to the original geometry and not the unity settings regular sphere with an animated noise works, but this particular geo for some reason doesnt do well with VAT Any advice will be much appreciated head.abc test.hip
  2. Python - custom ui popup window

    i found a way to use a python library to create a popup window, but i'd like to see if houdini offers any tools for custom popups https://qiita-com.translate.goog/70_cg_art/items/2cf6a4b82b23a0f303ad?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=el
  3. Python - custom ui popup window

    i making a shelf tool and i'd like to have a popup window with a custom interface appear. is this possible? i'd like to have a node selector, a directory selector and a dropdown can't seem to find any info on custom ui from SideFX documentation
  4. i have a walking cycle motionclip and a head turn motionclip. How can i have a walking cycle with the tun head animation applied? I just want to apply the head animation from the 'head turn' to the walking cycle essentially. must be pretty obvious but i am quite new at this and struggling with the basics
  5. Relative Flatness

    curvature would be perfect if there was some kind of threshold. remapping curvature to 0-1 and ramping it doesn't change anything.
  6. Relative Flatness

    here is curvature compared to a custom wrangle solution. Almost there. The wrangle does almost what i want Any other ideas?
  7. Relative Flatness

    Hi, i am trying to make a mask based on the relative flatness of my mesh or relative curvature? i am not sure how to put it. i have a rock with bumps everywhere obviously but you can clearly see areas where in general it is flat although there are small bumps, you can distinguish relatively flat surfaces by eye. i tried generating the curvature map and then blurring it but the results are not that good. They are soft after the blur and not precise. the other thing i tried is clustering by normal -6 clusters- for a box like projection if you will. but the problem with clustering is yuo have to decide the number of clusters. i would prefer a threshold of normal similarity. thats what i will try to do next
  8. Extract transform

    a bit of clean up for anyone interested extract_transform.hip
  9. Extract transform

    thank you! didn't think to use a 3x3.. 4x4 contains the position as well but i guess copy to points uses directly the position of the incoming geo points.
  10. Extract transform

    packinject SOP seems to be applying the transformation correctly first input is a my packed primitive library with name attribute, the second input is for my already placed and named packed primitives. Injection method set to collate packed sources using the name attribute. So at least i know that the intrinsic transform is correct after copy and transform or mirror operations and can be applied to other geo. i haven't figured out how to apply that transform myself yet copy to points output for some reason is not correct 4@transform = primintrinsic(0,"packedfulltransform",@primnum); This is what i used to extract the transform extract_transform.hip
  11. Extract transform

    yeah i am using the "packedfulltransform" intrinsic attribute right now. seems to still be there after the mirror sop or the copy and transform. i want to copy my named primitives to the points with the transform just to verify that it is working but i haven't managed to do that yet. is there a way to use copy to points but instead of pscale and orient use a transform?
  12. Extract transform

    i have a library of packed primitives with a unique name attribute that i import, copy and transform, and mirror. I need to extract these final transforms to export a json. Is there a way to do that? Usually i have the orient attribute that helps me to generate a 3x3 transform but in this case i don't have any other attributes other than the position. extract_transform.hip
  13. VEX get ordered menu Labels

    menu = node.parm('parm') // get the parm index = menu.evalAsInt() // get the current index label = menu.menuLabels()[index] // get the label of the index try this
  14. Random value hold 1 or -1

    thank you very much for the detailed response! will study these asap
  15. Trying to find a little trick to return random selection of two specific values (1 or -1) and hold it for a number of frames or i in a loop so it would be 1,1,1,-1,-1,-1,1,1,1,-1,-1,-1 or even better random ranges 1,1,1,-1,-1,-1,1,1,1,1,-1,-1,-1,-1,1,1,-1,-1 something like this but with better control of the distribution for(int i=0; i<10; i++) { float test = fit(floor(fit01(rand(i),-1,1)),-1,0,-1,1); int np = addpoint(0, pos); setpointattrib(0, "test", np, test, "set"); {