Jump to content

Leaderboard


Popular Content

Showing most liked content on 12/14/2020 in all areas

  1. 2 points
    Thank you for teaching me! I could do that I wanted Now, I am customizing it more useful ! thank you.
  2. 1 point
    Hi Patis-san, For unpacked, you can write something like this (Point Wrangle): vector source = getbbox_center ( 0 ); vector target = point ( 1, "P", 0 ); matrix3 m = lookat ( source, target ); @P -= source; @P *= m; @P += source; For packed, you can write over the transform primitive intrinsic attribute. Since it's a matrix3, you don't have to worry about translation to origin and back (Primitive Wrangle): vector source = getbbox_center ( 0 ); vector target = point ( 1, "P", 0 ); matrix3 m = lookat ( source, target ); setprimintrinsic ( 0, "transform", @primnum, m );
×