Jump to content

adnansojib

Members
  • Content count

    3
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About adnansojib

  • Rank
    Peon

Personal Information

  • Name
    ibrahim sojib
  • Location
    riyadh
  1. prim_attribute

    a create line wich has width gradient ramp ........then i create this on float u =0.8; vector pos; prim_attribute(@Input1,pos,"P",@primnum,u,0.0);
  2. build matrix then invert move to origin then compare and then back original position__ i dont understand this thing _please help me float sectdists[] = point(1, "sectdist", @id); matrix xforms[] = point(1, "xform", @id); foreach(int i; matrix xform; xforms){ matrix xform_inv = invert(xform); /// please vector local_P = @P*xform_inv; ////please if (local_P.z > sectdists){ local_P = set(local_P.x, local_P.y, sectdists);//// please @P = local_P * xform; } }
  3. float sectdists[] = point(1, "sectdist", @id); matrix xforms[] = point(1, "xform", @id); foreach(int i; matrix xform; xforms){ matrix xform_inv = invert(xform); /// i have confusion how its work vector local_P = @P*xform_inv; ///also this multiply if (local_P.z > sectdists){ local_P = set(local_P.x, local_P.y, sectdists); @P = local_P * xform; @Cd = {1,0,0}; } }
×