Jump to content

point SOP, old vs new, stuck following tutorial


lalamax3d

Recommended Posts

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

Link to comment
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
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...