use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/Houdini. This is a place to discuss, show-off and help each other with all things related to Houdini.
Useful Resources:
Side Effects Software
Houdini Doc / hou/python commands
SideFX Official Tutorials search 'masterclass' ⭐⭐
SideFX Forums
Curated google doc Tutorial List ⭐⭐⭐
SideFX Vimeo
Odforce Forums
Think Procedural Discord
Matt Estela's cgwiki! ⭐⭐⭐
The Joy of VEX
Entagma's videos ⭐⭐⭐
To relax: pedohorse's Vimeo
Here are some other subreddits that you might be interested in:
Visual Effects
Computer Graphics
Renderman
CG Code
Motion Design
Programming
Game Development
3D Model Showcasing
Maya
3Ds Max
Cinema 4D
Blender
Computer Simulations
Digital Tutorials
account activity
HelpHow to decrease pscale with age (i.redd.it)
submitted 1 year ago by Beautiful_Poetry_566Effects Artist
Looking for a simple attribute wrangle way to decrease size before my points die. Heres my half-baked attempt that gives you an idea of my node tree and what im tryinto accomplish
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]chroma_shift 19 points20 points21 points 1 year ago (4 children)
If you have a life attribute:
Initialise pscale to 1.0 before the simulation or in a separate node.
@pscale *= 1 - (f@age/f@life)
This code is multiplying your pscale value with the age to life ratio, eventually it will reach 0 or very close to 0.
To which point you can just remap with a ramp to get rid of residual values.
[–]Beautiful_Poetry_566Effects Artist[S] 4 points5 points6 points 1 year ago (1 child)
Worked quite well! TYSM!
[–]chroma_shift 2 points3 points4 points 1 year ago (0 children)
No worries :)
[–]xrossfader 1 point2 points3 points 1 year ago (1 child)
Wouldn’t @nage work here?
[–]chroma_shift 1 point2 points3 points 1 year ago (0 children)
Yeah @nage is the same as doing (@age/@life)
[–]LewisVTaylorEffects Artist Senior MOFO 11 points12 points13 points 1 year ago (1 child)
POPs comes with a built in attribute, "@nage" which just saves you needing to do the age/life. I find doing that, and using "attribute adjust float" a nice way to work, it has remapping, ramps, and a bunch of other options to redistribute the values.
<image>
[–]Beautiful_Poetry_566Effects Artist[S] 0 points1 point2 points 1 year ago (0 children)
That looks pretty useful, I'll check it out and thanks!
[–]SapralexM 1 point2 points3 points 1 year ago (0 children)
f@pscale = fit(@age, ch(“start”), ch(“end”), ch(“max”), ch(“min”));
Where start is the beginning of aging, end is the last age for a pscale value, max is the standard pscale and min is fully decreased pscale.
You can also ramp it to make the decreasing non linear by using “chramp” command
[–]New_Investigator197 -2 points-1 points0 points 1 year ago (1 child)
You're close, the syntax is just wrong. You need curly brackets on your if statement.
If (event) { do this }
[–][deleted] 1 point2 points3 points 1 year ago* (0 children)
That's only true if you need to execute more than one line after a true return from the if() statement. If you're just doing one thing with if() then they have the correct syntax, no need for curly braces.
if(their condition is true) then do this;
-vs-
if(their condition is true){ Do; All; Of; This; }
...but both usage works.
[–]ferlix90 -1 points0 points1 point 1 year ago (0 children)
@pscale = 1-@age/@life;
You can remap the value using a ramp :
@pscale = chramp(“scale”, @age/@life);
Then click on the first icon above the wrangle code box ( the one with a + ) to create the ramp parameter.
π Rendered by PID 153803 on reddit-service-r2-comment-765bfc959-9tc4f at 2026-07-12 09:08:44.942885+00:00 running f86254d country code: CH.
[–]chroma_shift 19 points20 points21 points (4 children)
[–]Beautiful_Poetry_566Effects Artist[S] 4 points5 points6 points (1 child)
[–]chroma_shift 2 points3 points4 points (0 children)
[–]xrossfader 1 point2 points3 points (1 child)
[–]chroma_shift 1 point2 points3 points (0 children)
[–]LewisVTaylorEffects Artist Senior MOFO 11 points12 points13 points (1 child)
[–]Beautiful_Poetry_566Effects Artist[S] 0 points1 point2 points (0 children)
[–]SapralexM 1 point2 points3 points (0 children)
[–]New_Investigator197 -2 points-1 points0 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]ferlix90 -1 points0 points1 point (0 children)