Jump to content
lalamax3d

point SOP, old vs new, stuck following tutorial

Recommended Posts

lalamax3d    0

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
f1480187    454

$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
  • Like 1

Share this post


Link to post
Share on other sites
lalamax3d    0

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

×