How to make lines from the add sop follow the normals?

   1790   2   0
User Avatar
Member
18 posts
Joined: May 2018
Offline
I've been working on some lightning tutorials and they use a scatter node to scatter points on the surface and then use a add sop to create some lines. I have a circular radius that I would like the lightning to shoot from the center outward, but I having trouble with it. I've made the normals shoot off in an outward direction on all sides, but the way the add sop puts down the lines is random. Is there a way to make it more uniform so they are going the direction of the normals?

Attachments:
Lightning.jpg (1.2 MB)

User Avatar
Member
745 posts
Joined: Sept. 2013
Online
Create a tube: set it to Polygons, connectivity to columns, height to 0 and radii to 1 and 0.1
Append a point jitter node: set its axis to 1, 0, 1 and reduce the scale.

Attachments:
radial_lines.hipnc (91.2 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
18 posts
Joined: May 2018
Offline
Thanks Konstantin, that's awesome.
  • Quick Links