Archived post by kiran_irugalbandara

Before buying this I went through the free pdf sample he released. It was really nice and even though I rarely use game engines or do shader work the theory in it was very nice.

Essential math for game devs by the same author is also great

This is the free sample I was talking about

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20243401/28/24/ENG-VE-VOL2-FREE-SAMPLE.pdf

Archived post by jimm9567

Talking of COPs… (shameless plug)
T-Gen … texture generation tools for Houdini. jmtools.gumroad.com/ Free version available for anyone who is having bank issues.
Some nice things in here… wrangle, instancer, sample generator, a Karma Preview from COPs. And loads of help files. …

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20243301/22/24/Screenshot_2024-01-21_221657.png

Archived post by reinholdr

“`c float radius = chf(“radius”);
float dia = volumevoxeldiameter(0, “height”) / sqrt(3);
int voxel_rad = ceil(radius / dia);
float height_max = f@height;
for(int i = i@ix-voxel_rad; i <= i@ix+voxel_rad; i++) {     for(int j = i@iy-voxel_rad; j <= i@iy+voxel_rad; j++)     {         if(length2(set(i-i@ix, j-i@iy)) < voxel_rad*voxel_rad)         {             float height = volumeindex(0, "height", set(i, j, 0));             height_max = max(height, height_max);         }     } } f@height = height_max; “`