Jump to content


Popular Content

Showing most liked content on 11/15/2022 in all areas

  1. 1 point
    Returning to this topic, I was able to have considerable success with vellum using Adrian Meyer's Cell Replication Tutorial as a starting point. https://www.sidefx.com/tutorials/vellum-cell-replication-part-1/ testOne_11-14.mp4
  2. 1 point
    Growth Fractures GrowthGl.hipnc
  3. 1 point
    Yes, you could take the convertline SOP, promote the wave attribute to primitives and delete by this attribute. @DévinOdforce: I attached an example. dashed_curves_prims.hiplc
  4. 1 point
    Let a sine wave run across your curves, set the dash length with frequency, animate by adding time and define the gap size by comparing the value with a custom threshold. float u = vertexprimindex(0, @vtxnum) / float(primvertexcount(0, @primnum)); float u_length = u * primintrinsic(0, 'measuredperimeter', @primnum); float u_anim = (u_length + @Time * chf('speed')); int waves = sin(u_anim * M_PI * chf('frequency')) < chf('gaps'); v@Cd = hsvtorgb( set(u, 1.0, 1.0) ) * waves; If you want your dashed line to be static just replace u_anim inside the sin() function by u_length. dashed_curves.hiplc
  5. 1 point
    Your original method is fine. The problem is your 'import point attribute' vop will default to use @ptnum as the lookup point, here you need to explicitly tell it to only use @ptnum==0 as the point to lookup from the 2nd input. Create a constant, integer type, value 0, attach it to the ptnum input of the input point attribute vop, the ramp will then jump to where you expect.