Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

lalamax3d

point SOP, old vs new, stuck following tutorial

Hi Everyone.

while following a simple tutorial from Sir, Rohan Dalvi, i got stuck at point SOP. where he put color in vertices via bounding box. attached image shows his settings ( old point operator ) vs my attempt. any ideas. huge thanks in advance

houdini_tutorialQuestion.jpg

Share this post


Link to post
Share on other sites

$BB[X-Z] are local variables defined on old Point nodes. They evaluate to point positions relative to bounding box of the input. For $BBY case, lowest point is 0.0, highest is 1.0, in-between points got values between 0.0 and 1.0. Since Attribute Expression (aliased as Point node in Tab-menu) uses VEX, this will be VEXpression equivalent of $BBY:

relpointbbox(0, @P).y

There is no local variables on Attribute Expression node documented. Using local variables from old Point node will not work.

bby_alternative.hipnc

Edited by f1480187
1 person likes this

Share this post


Link to post
Share on other sites

thanks, i just checked, confirmed with source, add point node after and Cd to verify huge thanks again for source.
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now