Mr. Frosty Nugget

FrostyNugget

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Parameter expressions lookup for a ptyhon shelf tool Jan. 13, 2022, 10:05 a.m.

Hi everyone!
I'm making a tool in which i need to get all the dependent and referenced nodes from a desired node, for the sake of simplicity, lets call my desired node to track all the correlations from, "myNode", to get all his linked parameters (integrers, toggles, floats, strings, etc.).

I was wondering if there's a more elegant way than brute-forcing it by checking all the myNode dependents and references with
hou.node(myNode.path()).dependents()
and
hou.node(myNode.path()).references()
respectively, appending them to, let's say a list called "myList" and later on excluding some nodes from "myList" by some rules.
As far as I understand it can work "properly" for simple scenes but once you got large scenes it gets tediously topsy-turvy and slow.

So I think that the way to go is with inlinecpp code inside python, and I'd like to know about some hints or advices to lead me the way around the tool, nothing too concrete nor elaborated, but a general organized brainstorming overview and some possible handicaps, like: useful HDK Libraries and how to work with them, etc.


Thanks in advance! <3

PolyExtrude attributes problem Jan. 14, 2021, 4:27 p.m.

Sorry for not being clear enough, the 0 were the prim attribute “piece”, not the actual primitive number, the two colored-type faces are assigned from that attribute (visualization pruposes), my goal is to extrude unwrapping uvs while preserving my primitve attributes, (looks like it only work when you aren't generating unwapped uvs for the sides on the extrude node).
Thanks

PolyExtrude attributes problem Jan. 12, 2021, 10:30 a.m.

Hi Everyone,
Please, correct me if i'm wrong or point me in the right direction if it's not a bug, but it seems that when a gemoetry with vertex and primitive attributes gets extruded, if you generate unwrapped texture cordinates for the sides,( the method of transfer/promote primitive attributes changes?) it deletes the sides primitve attributes.
(Houdini18.0.597)


Here the file and some images.