About Me

Not Specified
Not Specified


Recent Forum Posts

Reset original Houdini nodes (digital assets) Sept. 26, 2021, 11:13 a.m.

I added an extra tab to the bake texture ROP and for some reason some pre-existing tabs disappeared. It wasn't locked i just messed around in the Type Properties because i needed the Limits tab. How can i revert back to the original ROP?
that node is in the file called
every time you save the hda, a backup copy is created in /backup folder

so in your case go to
locate OPlibScripted_bak*.hda file with the lowest date, which will hopefully be the original one
and overwrite the current OPlibScripted.hda with it

Question about changing 'attribute' inside a for loop. Sept. 25, 2021, 11:10 p.m.

your code will create duplicated overlapping points per prim
regardless of the v@Cd problem which has been explained, you can create points at prim centroids in prim wrangle either as additional points:
int pt = addpoint(0, @P);
removeprim(0, @primnum, 0);

or potentially with all previous points removed with their prims (provided there were no isolated points)
int pt = addpoint(0, @P);
removeprim(0, @primnum, 1);

or also using Enumerate SOP + Extract Centroid SOP (using index as piece attribute)

What kind of interpolation is this? Sept. 25, 2021, 1:59 p.m.

What am I missing here?
it's all about internal triangulation as the interpolation happens per triangle
so you need to shift the vertex order to alter that

here is the file with such manual fix to specific corner prims as well as visualization of the triangulation which may make the observed behavior clearer