Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About A(g)ntense #25

Open
co-ord opened this issue Oct 19, 2019 · 2 comments
Open

About A(g)ntense #25

co-ord opened this issue Oct 19, 2019 · 2 comments

Comments

@co-ord
Copy link

co-ord commented Oct 19, 2019

Dear @sghr San,

I am trying to understand the logic behind the motion of the particles in your A(g)ntense project.
Based on your (remarkable) tutorials I see that your are probably using a mix of a curl field and an attractor field. However few things still remain unclear to me:

  • How did you compose the compound fields in that project ? It seems there's something more complex involved than simple attractors.

ss205 (2)

  • What makes the particles move at the same pace along the Z-axis ?
    ss206

  • Finally, how did you smooth out the edges of the triangulated layers ? I tried to apply Laplacian smoothing to an alpha triangulated mesh of a layer but doing so kind of shave the edges and make those points disappear from the mesh. Catmull-Rom splines didn't work either (points are on the edges, not near the edges).

ss207

I would really appreciate if you could elaborate on these different steps.

Respectfully,

@sghr
Copy link
Owner

sghr commented Nov 26, 2019

Thank you for the comment and sorry for the late response.

  1. Field composition
    As you mentioned, it uses IPointCurlField and IAttractor. I put 3 of curl field in one ICompoundField and other 3 of attractors in another compound field.

  2. Swarm agents on a plane
    The swarm agents are not actually flying in 3D. It's flying on XY plane but nodes points are plotted on 3D by the increment of sections and time and then diagonal tension lines and horizontal stick compression lines between nodes are added.
    The example of these are on this tutorial.
    http://igeo.jp/tutorial/58.html

  3. Smoothing edges
    Smoothing is done by first offsetting the original triangulated polyline out and then insert 2 points on each segment and then convert the polyline into degree 2 NURBS curve. The reason points being inside the edge is simply due to the adjustment of offset and location of the additional 2 insert points.

@co-ord
Copy link
Author

co-ord commented Dec 18, 2019

Just seeing your answer now, thank you so much for the kind reply and explanations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants