Browse Search Popular Register Upload Rules User list Login:
Search:
Polygon Modifier

Image:
screenshot of the scene

Author: s_noonan

Group: Technical

Filesize: 233.08 kB

Date added: 2017-01-12

Rating: 6.4

Downloads: 3055

Views: 891

Comments: 17

Ratings: 4

Times favored: 0

Made with: Algodoo v2.1.0

Tags:
tool

Scene tag

Polygon Modifier

Rev A: Press "d" while mouse pointer is near a polygon vertex in order to delete the vertex.
Rev B: Automated vertices display per Xray's suggestion.
Rev C: Added insert vertex function. Added _zerPoly function which sets poly angle to zero without rotating poly or texture.
Rev D: Added smoothing function. Improved insert vertex function.
Rev E: Eliminated image and polygon shifting due to polygons's changing center of mass.
Rev F: Now handles polygons with any collideSet (was collideset = 1).
Rev G: Smoothing polygons maintains area (was shrinking).
Last edited at 2023/12/23 21:02:38 by s_noonan
Please log in to rate this scene
edit
Similar scenes
Title: scanner
Rating: 5
Filesize: 103.34 kB
Downloads: 393
Comments: 0
Ratings: 1
Date added: 2020/08/28 11:45:08
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Dancing Man II
Rating: 5
Filesize: 249.46 kB
Downloads: 861
Comments: 6
Ratings: 1
Date added: 2017/01/22 11:17:04
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: AHOX "Modifier" PC
Rating: 5
Filesize: 143.5 kB
Downloads: 2054
Comments: 13
Ratings: 1
Date added: 2022/05/09 00:33:29
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: AHOX Software - Network Benchmark
Rating: 5
Filesize: 14.17 kB
Downloads: 642
Comments: 0
Ratings: 1
Date added: 2022/05/09 21:48:10
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Numberblocks brush tool challenge 1-5
Rating: 5
Filesize: 81.4 kB
Downloads: 2394
Comments: 1
Ratings: 1
Date added: 2021/01/08 11:15:40
Made with: Algodoo v2.1.3
Rating: rated 5
download
Title: Destroy The City alpha v0.1
Rating: 5
Filesize: 0.83 MB
Downloads: 3396
Comments: 1
Ratings: 1
Date added: 2016/09/01 22:44:22
Made with: Algodoo v2.1.0
Rating: rated 5
download
This scene is a response to:
Title Author Rating Downloads Comments Date added
Non-Symmetrical Polygon Generator V2 Xray 5.4 (2 votes) 577 8 2017/01/09 22:07:45
show grid
I guess I sparked an interest in polygon generation and modification again! :lol:

You did a great job of coding this one. I did notice a couple of little flaws, one you probably could improve, but the other would probably be VERY difficult if not impossible to improve. The first one is the fact that the vertices are rather "touchy" to adjust, and it can get frustrating after a while. I found that the vertices will sometimes get confused (or "tangled") with other vertices, and will sometimes fail to respond to the drag tool after a while. Moving the vertices very slowly helps in that regard.

The other issue which I'm sure you are aware of is the fact that the texture does not stretch and shrink along with the polygon vertices. Probably not fixable.

overall, nice job! :tup:
*Facepalm* Now bfdi fans using your laser without ask. And didn't gave you credits.

Can i use this laser im my scenes?
Xray,

I agree with everything you mentioned and appreciate your feedback. I'm not sure yet if and what I will fix.

Pootis-Man,

Yes.
Here is an "automatic" method to control vertex display:

update = (e)=>{
app.drawVertices = sim.running
}

This way, there is less chance of people leaving vertices displaying for all future scenes when they exit THIS scene.

EDIT: Also, you can leave out step #3 of the instructions.
Last edited at 2017/01/12 22:53:41 by Xray
hey, ever since i used this, it messed up algodoo for me
Xray,

Good idea. Thanks.

SkylanderSam06,

Sorry about that. The scene has been updated and will fix it.
Last edited at 2017/01/13 10:58:28 by s_noonan
Maybe add:

update = (e)=>{
app.gui.playmode = sim.running
}

So that the "S" key doesn't change the cursor into a Spring tool. :)
Done. Thanks.
Homer looks good now! :lol:
Nicely done :tup:
Kilinich,

Thanks for the comment and rating.
glitchy
when i press i my algodoo crashes
and when it works its really slow
applejack,

Sorry to hear that. On my PC everything works and the slowest thing is dragging a node, and that only takes a few seconds. In any case the simulation runs at over 90% of the simulation time when dragging nodes. How fast is it running on your PC? Select "File > Show sim-info" to display Sim-info.
Congrats! _o_ This is so usefull for me, that i thank you 10000 times
e.g. in optics i can let pupil modify lenses, mirrors,
in mechanics the brachistochrone-problem ( let a ball roll from A to B in the shortest time, the path it takes should be modified, and as result will be close to a cycloide ) becomes really interactive.
so: :tup: :tup: :tup:
Last edited at 2017/03/09 07:53:40 by DrBalk
Thanks for the compliment and feedback.
Some polygon scenes for reference:
Poly2CSV CSV2Poly copies a polygon surface to a CSV file and vice versa
Polygon Smoothing smooth polygon
Polygon Roughing roughen polygon
Polygon Modifier insert vertex, delete vertex, drag vertex, smoothing
Shrink Ray grow or shrink polygon
Mirror Polygon mirror polygon
Milling Cutter cut into polygon upon collision
Rotate Polygon rotate polygon in 3D
Transform Polygon scale x, scale y, rotate, shear x, shear y polygon
Modify Polygon Surface Polygon Modifier with GUI
Sutherland-Hodgman polygon clipping clip polygon
Laser Fragmenter cut polygon into multiple pieces
Last edited at 2024/11/01 10:05:20 by s_noonan