Tyler Bay

tbay312

About Me

Tyler Bay is the owner of cgforge.com - which is an online Houdini school that offers high quality courses, resources, and individual mentorships to help you achieve your Houdini goals.
EXPERTISE
CG Supervisor
INDUSTRY
Education

Connect

LOCATION
Boulder, United States

Houdini Skills

Availability

Not Specified

My Badges

Houdini Certified Instructor
2025

My Tutorials

obj-image Intermediate
Animating with Optical Flow
obj-image Beginner
Houdini Principles
obj-image Beginner
Houdini For The New Artist II
obj-image Intermediate
Environments I
obj-image Beginner
Houdini For The New Artist
obj-image Intermediate
Vellum I

My Talks

obj-image HIVE
The Sparse Pyro Process

Recent Forum Posts

Flickering Colors When Using Vex Dec. 16, 2025, 5:06 p.m.

Thanks for the explanation. That makes sense on a technical level.

From a user experience perspective... well... I'm sure about 99% of newer Houdini users won't know what to make of it when the geo spreadsheet values shows them values that aren't the actual value by default. I suppose I'll just need to warn them about it.

Thanks again!

Flickering Colors When Using Vex Dec. 16, 2025, 3:10 p.m.

malexander
You may want to try comparing with tolerances -- eg.
if(a==0.0) --> if(abs(a) < 1e-6)  
if(a==1.0) --> if(abs(a-1.0) < 1e-6)

Okay, that worked.
float Nx = v@N.x;
float Ny = v@N.y;
float Nz = v@N.z;

float absValX = abs(Nx);
float absValY = abs(Ny);
float absValZ = abs(Nz);

if(absValY<1e-06 && absValZ<1e-06){
    v@Cd = {1,0,0};
    }
    else if(absValX<1e-06 && absValZ<1e-06){
    v@Cd = {0,1,0};
    }
    else{
    v@Cd = {0,0,1};
    }
    

Thanks malexander! It looks like the precision was off. Does this approximate precision with the Normal node have to do with the mathematical equation that generates the value? And do you know if the full precision is, by default, turned off?

Flickering Colors When Using Vex Dec. 16, 2025, 1:31 p.m.

Hello SideFX,

I just submitted a RFE which appears to be a bug when trying to use conditional statements in vex to assign a color. This color is going onto a deforming bounding box, and it is based on the normals of the object.

Here is a video describing the issue:
https://vimeo.com/1147066452/90951ee99a [vimeo.com]


Any and all are insights are much appreciated.
Thank you ahead of time!

- Tyler