Posting this for future reference and so others won’t walk my foolish path “`c // Vertex Wrangle vector quad[] = {{0,0,0}, {0,1,0}, {1,1,0}, {1,0,0}}; vector tri[] = {{0,0,0}, {1,0,0}, {0,1,0}};
int vtx = vertexprimindex(0, i@vtxnum); int vtxcount = primvertexcount(0, i@primnum);
if(vtxcount == 3) v@__intrinsic_uv = tri[vtx]; else if(vtxcount == 4) v@__intrinsic_uv = quad[vtx]; else // Probably should do NGons at some point v@__intrinsic_uv = -1.0; “`
Archived post by mattiasmalmer
Did you guys see this neat SHARD Noise function that @ENDESGA posted on twitter? x.com/ENDESGA/status/1725827957061759092?s=20
I did a quick houdini variant. Also extended it to 4D so that we can phase it.
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20233711/21/23/SHARDNOISE.hiplc
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20233711/21/23/image.png
Archived post by ogvfx
I’ve done some of that custom surface tension calculating adhesion and cohesion on surfaces when I was working for Pixar on elemental.
I pretty much used these for references and incorporated it into flip.
https://vimeo.com/203706350 https://vimeo.com/299769390
One other thing I did was an example I’m trying to find again from odforce that does a sdf calculation on a point cloud and I used that essentially as an airfield mask and used velocity and vorticity also to mask areas for reseeding and maintaining the points to be uniform distance and turned off regular reseeding on the flip solver.
This was the end result on the first shot here: https://vimeo.com/854754642
It ended up being two separate sims when his head explodes and all the splashing on the shelfs. I even used @jake rice 😮 optimal transport example and built a guided splash setup that directed and shaped all the splashes from the sources so the final resolution was predictable. The reseeding for the flip was a pain sometimes on turning it around but I ended up making sure it only resampled if it was deep within the sdf calculation and the flip wasn’t calm. I remember Alejandro had a very early example I kept around and built all this stuff inside a sop solver and just calculated the point cloud sdf in a wrangle before it processed the sop solver.
Archived post by lewis.taylor.
some slides from last weeks SYD HUG, about the volume stuffs
hip has voxel resolution calculator, and the frustum rasterizer
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20233011/19/23/sydhug2.pdf
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20233011/19/23/sydhug_examples_v02_clean.hiplc
Archived post by mattiasmalmer
Updated the isoline builder to work better with fuse and polypath. I think it might be a tiny bit faster too.
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20233111/16/23/image.png
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20233111/16/23/outline_height_w_fuse.hiplc
Archived post by mattiasmalmer
MarchSquare should be faster. since the foorloop is much closer to the data.
damn i found a smol typo in my last post. fixed in this one:
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20235111/15/23/outline_height.hiplc
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20235111/15/23/image.png
Archived post by felixschuch
single frame works
oh nice! you are right, just op: works op:../../../geo1/cop2net1/OUT/[$F] …and now the frame expression is also updating ❤️
Archived post by midgaard78
Small bit of info for you, which doesn’t help I don’t think, but might save you sometime in the future: Catmull-Clark subdiv (the default for the “treat geometry as subdiv surface”) doesn’t work on triangluated meshes. Change it to Loop.
Archived post by paqwak
(would be nice if this could be run on GPU tho)
[hou-tops] Archived post by waffleboytom
create a float3 attribute and input its name in the `Task Graph Work Item Color Attribute` to add custom colour : )
another trick Magnus and I discovered : you can add a nice descriptive label to your work items 😮
Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20232811/10/23/image.png
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20232811/10/23/2023-11-10_17-24-03.mov