Browse Search Popular Register Upload Rules User list Login:
Search:
Sutherland-Hodgman polygon clipping

Image:
screenshot of the scene

Author: s_noonan

Group: Default

Filesize: 25.46 kB

Date added: 2022-12-11

Rating: 5.6

Downloads: 430

Views: 163

Comments: 4

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

See Sutherland–Hodgman algorithm for details.

To see the code in 46 different computer languages go here. I translated from Python, but J and Mathematica/Wolfram_Language looked interesting because the code was so short.
Please log in to rate this scene
edit
Similar scenes
Title: 3D Polygon Renderer V1.1
Rating: 5
Filesize: 7.02 kB
Downloads: 754
Comments: 4
Ratings: 1
Date added: 2024/05/03 18:12:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: cyclogon 1
Rating: 5
Filesize: 15.06 kB
Downloads: 576
Comments: 0
Ratings: 1
Date added: 2017/07/27 10:08:40
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: cyclogon 3
Rating: 5
Filesize: 14.1 kB
Downloads: 472
Comments: 0
Ratings: 1
Date added: 2017/07/27 10:14:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Polygon Simplifier
Rating: 5.625
Filesize: 1.23 MB
Downloads: 2602
Comments: 3
Ratings: 2
Date added: 2024/10/29 20:53:25
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Amazing marble race season 1 part 11
Rating: 5
Filesize: 114.43 kB
Downloads: 1106
Comments: 0
Ratings: 1
Date added: 2024/09/12 00:32:47
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: aspheric lense first try
Rating: 5
Filesize: 49.07 kB
Downloads: 402
Comments: 0
Ratings: 1
Date added: 2013/08/18 12:46:53
Made with: Algodoo v2.1.0
Rating: rated 5
download
This is interesting and impressive, but doesn't the Algodoo "Combine Shapes" tool essentially do the same thing? It may take an extra step or two, but no Thyme script is required.
Q: Doesn't the Algodoo "Combine Shapes" tool essentially do the same thing?
A: No, the Algodoo "Combine Shapes" tool does more and does it better.

I was looking into polygon cutting because I wanted something to automatically slice polygons similar to the Laser Angle Cutter scene. If I had that, then I could add it to my FEA Stripper scene which already has horizontal and vertical polygon slicing. Angle slicing was not as easy as I thought. Most of the slices would be OK, but I had problems with angles greater than 2*pi and slices made from the beginning and end of the polygon surface array. Angle slicing might also be applied to thermal FEA or to exploding objects.
Q: Angle slicing might also be applied to thermal FEA or to exploding objects.

A: Wow! Those subjects (especially thermal FEA) are way outside my area of understanding! But, I think it's very cool and impressive that someone (like you) can figure out how to code Thyme Script in order to make those things a reality in Algodoo. WAY COOL! _o_
Last edited at 2022/12/11 22:26:28 by Xray
Thanks.