TIPS AND TRICKS
Simulation Settings
Minimal OpenCL: Use for faster simulations.
Sparse: Switch to this for more detail, though it's slower.
Example Node:
billowy_smoke(demonstrates use of different simulation settings).
Quick Bookmarks:
Ctrl + 1
Ctrl + 2
Ctrl + 3
Visualizers: Use for visual debugging and display.

Relative Bound:
Control masks relative to an asset's movement or distortion.
Useful for moving masks or scattering points.
Controlling Points/Particles by Distance:
Lighting with Snaps:
Revert to previous image settings to maintain the same number of points.
Find Closest Point:
Example: Ensure a floating creature has consistent points on a different ground.
PCOpen Node:
Use for simulation interactions with other geometries.
Render Settings Templates:
Use Line to Model:
Sweep Node: Use for sweeping curves to create geometry.
Matchsize Node
Purpose: Useful for repositioning assets and aligning them within your scene.
Steps:
Add Matchsize Node: Place a
Matchsizenode and set it to bring the asset to the center.Stash Transform: Click on "Stash Transform" to save the current transform settings of the asset.
Perform Operation: Make any necessary changes to the asset (e.g., cut it).
Restore Transform: Add another
Matchsizenode and click on "Restore Transform" to revert the asset to its original position.
https://entagma.com/courses/ahtya-2-adding-houdini-to-your-arsenal-2-0/ahtya-2-0-pt-13-under standing-for-loops-in-houdini/
Import Alembic Geometry for Animation:
Import the Alembic file, select all geometry, go to the Modify tab, and combine.
Reference: Udemy Course
Collisions in RBD Solver:
Increase Division size in the RBD solver/volume tab for collisions.
More efficient: Adjust Offset Surface and keep Division size moderate.
Reference: Udemy Course
Easy to see if Velocity is there. Click on the icon and ccheck

Or check if you have "v".
Smooth Node:
You can smooth color by changing the attribute to
Cd.
Frustum Setup to Remove Particles Outside Camera:
You can create a frustum setup to remove particles outside the camera's view, which helps optimize your scene.
Snow Rig Setup:
Resource: Udemy - Master Houdini FX
Great resource for creating a snow rig. Highly recommended!
Attribute Wrangle - Assigning Points to Control Values:
You can create an
attrib wrangleto assign some points to a value (e.g.,0) and create a new branch or path for other points to control their behavior.This gives you flexibility in controlling specific points in your simulation.
Grain/Cloth Simulation Without Polygons:
If your point count doesn't change, there are many options for manipulation.
For example, you can create a grain or cloth simulation without using polygons by using a source grid. Plug the grid at the end of the simulation to retrieve all the necessary information.
Example: Udemy - Master Houdini FX
Intstead of browsing for a path manually, try to always use this
opinputpath("..",0)
Cleaned by chatGPT
QUICK REMINDERS
Use Bookmarks
Shortcuts:
Ctrl+1,Ctrl+2, etc. for faster navigation.
Cache Manager
Shortcut:
Shift+Alt+MManage temporary scenes, especially helpful after a crash.
Template Button
Don’t forget to use the Template button for previewing objects in the viewport.

CUTTING AN ASSET
Cut Asset in Two
Use tools like Clip, Boolean, or Knife to slice assets.
Exploded View
Use the Exploded View tool to separate parts of an asset for better visibility.
FLIP FLUIDS
Convert to Flip Fluid
Use the Flip Object node to create fluid simulations.
Make Viscous
Adjust viscosity in the Flip Solver for thicker fluid effects.
MATH RESOURCES
Pluralsight Math Course
Great resource for techniques and concepts applicable to Houdini workflows.
Source: Pluralsight Math Course
ATTRIBUTE VOPs
Use Attribute VOPs for:
Advanced operations on normals, vectors, and attributes.
REMESH NODE
Faster Alternative
Replace Remesh with VDB from Polygons for faster results and better control.
Tutorial: Watch here

GOOD WORKFLOW PRACTICES
Instead of constantly modifying your setup:
Duplicate nodes and experiment on the copy.
This way, you retain the original settings.

USEFUL NODES
DOPs and SOP Solver: Entagma Course on DOPs

Findshortestpath Node
Useful for creating effects like veins.

Fuse & Polypath
Simplify geometry or optimize points and edges.

Sort Node
Change the order of points for better control over geometry.

Create points floating in tubes:

SIMULATION SETTINGS
Minimal OpenCL
Speeds up simulations.
Sparse Solver
For more detailed simulations (slower).
Example:
billowy_smokeNodeExperiment with this for different simulation setups.
SCATTERING & MASKING
Scatter Points Inside an Asset
Turn the asset into a fog volume to scatter points internally.

Mask by Feature Node
Create masks using rays, occlusion, or shadow features.
DEFORMING OBJECTS
Maintaining Deformations
Use a Timeshift node (set to frame 1) to stabilize geometry.
Apply Point Deform for proper deformation relative to the base mesh.
source

MATCHSIZE NODE
Align and center assets in the scene:
Add a Matchsize Node.
Use Stash Transform to save current settings.
Make modifications, then use another Matchsize Node to restore the original transform.
OPTIMIZATION TIPS
Frustum Setup
Use a frustum to remove particles outside the camera view.
Heavy Caches
Avoid RAM overload by setting cache memory to 0.
Scatter Node
Reduce Relax Iterations for faster results.

MISCELLANEOUS
Motion Blur with Velocity
Add a Trail Node set to "Compute Velocity" (use Central Difference).
Check for velocity (
v) attribute for proper motion blur.
Snow Rig Setup
See: Udemy - Master Houdini FX
Null Node as Controller
Set up custom attributes in a null node to control multiple parameters.
Import Alembic Geometry
Add
/*to the file path to import all geometry.
Keep Objects on the Ground
Use:
ch("sizey")/2
Blast Node
Use commands in the group parameter to manage selections.
ADVANCED TRICKS
Creating Water Ripple Effects
Use the Ripple Solver for realistic water simulations.
Preserve UVs in Simulations
Add a Time Shift Node (set to frame 1) and a UV Quickshade Node to maintain UVs.
Optimizing with Attrib Wrangle
Example: Assign different behaviors to specific points by setting values like
0or1.
Procedural Collision Path
Use
opinputpath("..",0)to dynamically connect collision objects.Resource: Udemy - Master Houdini FX

COMMON NODES & THEIR USES
Sweep Node
Create geometry from curves (e.g., tubes).
Fix jittering with proper UV and geometry settings.
Extract Transform
Copy transformations from one asset to another.
Average Position
Use Attribute Promote or Extract Centroid to find the center of an object.
VDB from Polygons
Convert polygons to volumes for effects like fog or collision geometry.
Visualizers: Use for visual debugging and display.

attrRemapNodePurpose: Adjust attribute values such as
pscaleto correct size issues.Usage: Use the
attrRemapnode to remap attributes likepscaleto new min/max values if they are too small or large.
Using sweep and it jitters?

Accessing Attributes Anywhere in the Network:
You can access attributes from anywhere in the network, even if it's not directly connected. For example, in an
attrib wrangle, you can connect to attributes using expressions like this:point(“../node_name”, point_number, “attribute”, component)Copy code
point(“../node_name”, point_number, “attribute”, component)This allows you to fetch and manipulate data from other nodes without needing a direct connection.

Fixing Simulation Without UVs:
If your simulation ends without UVs, there's a trick to fix it:
Add a
Time Shiftnode and make sure it's set to the first frame, so you don't get any unwanted animation.add a
UV Quickshadenode to complete the setup.
Tutorial link: Udemy - Master Houdini FX

If you do not want to use an attribute wrangle you can plug an attribcopy node. (using uv)

With the blast node in the group, you can use some commands like so:

Keep an eye on the voxel size so it doesn't crash Houdini.

Creating Water Droplet Ripples with Ripple Solver:
To create ripples, like water droplets in a river, you can use the
Ripple Solverin Houdini.Example tutorial: Udemy - Master Houdini FX
Using a Null as a Main Controller:
You can create a
nullnode and set up custom controllers (attributes) within it. These attributes can be linked to various parameters across your node chain, allowing you to control multiple nodes from a single place.This acts as a main controller for your entire setup, eliminating the need to browse through different nodes for adjustments.

Optimizing Heavy Caches:
When working with very heavy caches, it's better to avoid loading them into your RAM. Set your cache memory to zero to prevent Houdini from storing the cache in memory, which can improve performance.

Make plants grow. source: https://entagma.com/courses/particles/particles-part-05-02-plant-growth-with-popreplicate/

To check the scale of particles, click D and change "display particles as Lit Spheres"

To debug: Remember to use the Blast node.

To get the bounding box of here's a good trick. Take the first frame in the last frame and you make a tree.
Timeshift and timeshift 2, One with a $FSTART and the other with the $FEND

Simple trick to merge multiple nodes. source: https://www.youtube.com/watch?v=N8KszusYdh0
Simply create your merge, then select all your nodes and and drag to the merge.
If you are in dop (ex: trying to do a rbd) and you can't add attributes or other nodes, you can do it outside ina geo node. When it's done, create a "sopsolver" node.
Once you have it, you can do a PASTE inside the sopsolver.
When importing alembic, add a /* a the end of the path (?) to import all.
source: at 3:46 https://vimeo.com/1014958349

IF you have issues with objects not following or texture sliding, you normally use the Rest attribute. In some situation, if it not behaving the way you want, you cam use this trick. Freeze one frame, add the rest and copy bac the animation.
Source: https://youtu.be/haIn73MPv4E?list=PLSOZz8ksRllDZ_qdJJUU-4u5emam51Wyy&t=5177

Use an image to create a logo and particles around: Source: https://youtu.be/9Ww2uSGRVww?list=PLSOZz8ksRllDZ_qdJJUU-4u5emam51Wyy&t=843
different ways to find the middle of an object.
1 - pack the asset, then delete the polygon

Use the Average Position of a piece with a Attribute Promote

Use Extract Centroid.

TThis trick here is to take an animation let's see of a meteor falling down and then find the centre of that object, keep the velocity by Nick the objects centred meeting remove the translations when you do your FX you can see what's happening without the having to track with the camera the whole time.
You can also use a Wrangle. Make sure to use the second input to keep only the points. (?) (run over detail)
Source: https://youtu.be/9wv88f1kvoY?list=PL4qBfw9UHDmyggGwCAbaw3mZrCztWcndD&t=727

This node to keep the asset centered. You can then do a simulation without having to check the camera.

OOnce you do all the simulation needed you bring back the translation with the script.

Use a MULT Null to multiple your res. Add the * and paste rel ref.

Camera.
Using this will keep the fustrum visible all the time.

UV Seams:
Overview: Managing UV seams effectively can improve texture mapping and prevent visual artifacts.
Detailed Tutorial
Add Cup at 180: When smoothing normals, you may need to adjust the angle threshold to 180 degrees to avoid hard edges and achieve a smoother appearance.

Improve vdbfrompolygons:
Follow these steps to enhance
vdbfrompolygons.
Create a City:
Use
map,attribRemap,attribNoise,attribRandomize, andpolyextrude.
Reference: Entagma City Model Mini Project
Read and Scatter Files:
Use
EnumerateandCopy to Pointsto read files and control scatter.
Reference: Entagma Swirly Rocks Project
Understanding Vectors:
Learn about vectors.
Reference: Entagma Understanding Vectors
Preserve Velocity Attribute for Motion Blur:
Preserve the velocity attribute for motion blur on moving geometry.
Reference: Entagma Micro Splash Tutorial

Finding Script Information (HScript vs VEX):
If you're searching for script information (HScript) instead of VEX, you won't find it in the normal help section.
Go to Windows > HScript Textport and type the following command for help:
exhelp -k <keyword>Copy code
exhelp -k <keyword>This will help you find the relevant information about HScript commands.
Testing Values with Multipliers:
A handy trick for testing values is to initially set a number and multiply it by 1 for normal tests. If you want to test different values without manually changing them, multiply by 2 or 3. This makes it easier to track your changes without constantly remembering new numbers.

Pre-roll:

Dont forget: If your object is moving you need to click "Use deform geometry"

Shrinkwrapping a Face/Skin to an Interior (e.g., Bones):
You can use techniques like shrinkwrapping to fit a face or skin mesh around an interior object like bones.
Tutorial: Udemy - Master Houdini FX
connecting wires to walls:

https://www.udemy.com/course/master-houdini-fx/learn/lecture/21930852#questions
Selecting the Correct DOP Network When Using Shelf Tools:
If you have two DOP networks and you want to ensure that you're adding to the correct network when using a shelf tool, you can choose the network by going to the bottom of the interface and selecting the desired DOP network from the drop-down menu.
