PointClouder
This code is over 6 months old. The code may have expired and might no longer function.
Point Cloud Generator
Used to generate point clouds of Overwatch maps. Yes I know the code is ugly. Haven't actually tried it with control maps, so they might not fit within the bounds you can set in workshop settings. Images are screenshots taken from a program called MeshLab.
How To
- Set map bounds in Workshop Settings.
- Select raycasting direction and density (density 1 -> raycast once a meter, density 0.2 -> raycast once every 1/5 meters).
- If you only want to make a height map, using direction (0, -1, 0) is enough. For point clouds you need to run the thing with every direction.
- Hold Q in-game to activate it. Don't hold it again.
- Takes like ~28 minutes.
- Remove the first line in log file. The one with underscores.
Output format
[00:00:07] (-79.97, -50.00, -39.00);(-79.93, -50.00, -38.80);(-79.90, -50.00, -38.60);(-79.86, -50.00, -38.40);(-79.83, -50.00, -38.20);(-79.80, -50.00, -38.00);(-79.76, -50.00, -37.80);(-79.73, -50.00, -37.60);(-79.69, -50.00, -37.40);(-79.66, -50.00, -37.20);(-79.62, -50.00, -37.00);(-79.59, -50.00, -36.80);(-79.56, -50.00, -36.60);(-79.52, -50.00, -36.40);(-79.49, -50.00, -36.20);(-79.45, -50.00, -36.00)
[00:00:07] (-79.42, -50.00, -35.80);(-79.38, -50.00, -35.60);(-79.35, -50.00, -35.40);(-79.31, -50.00, -35.20);(-79.28, -50.00, -35.00);(-79.25, -50.00, -34.80);(-79.21, -50.00, -34.60);(-79.18, -50.00, -34.40);(-79.14, -50.00, -34.20);(-79.11, -50.00, -34.00);(-79.07, -50.00, -33.80);(-79.04, -50.00, -33.60);(-79.01, -50.00, -33.40);(-78.97, -50.00, -33.20);(-78.94, -50.00, -33.00);(-78.90, -50.00, -32.80)
[00:00:07] (-78.87, -50.00, -32.60);(-78.83, -50.00, -32.40);(-78.80, -50.00, -32.20);(-78.77, -50.00, -32.00);(-78.73, -50.00, -31.80);(-78.70, -50.00, -31.60);(-78.66, -50.00, -31.40);(-78.63, -50.00, -31.20);(-78.59, -50.00, -31.00);(-78.56, -50.00, -30.80);(-78.53, -50.00, -30.60);(-78.49, -50.00, -30.40);(-78.46, -50.00, -30.20);(-78.42, -50.00, -30.00);(-78.39, -50.00, -29.80);(-78.35, -50.00, -29.60)
[00:00:07] (-78.32, -50.00, -29.40);(-78.29, -50.00, -29.20);(-78.25, -50.00, -29.00);(-78.22, -50.00, -28.80);(-78.18, -50.00, -28.60);(-78.15, -50.00, -28.40);(-78.11, -50.00, -28.20);(-78.08, -50.00, -28.00);(-78.05, -50.00, -27.80);(-78.01, -50.00, -27.60);(-77.98, -50.00, -27.40);(-77.94, -50.00, -27.20);(-77.91, -50.00, -27.00);(-77.87, -50.00, -26.80);(-77.84, -50.00, -26.60);(-77.81, -50.00, -26.40)
Use a programming language of your choice to parse it. I recommend using .xyz format. See images for examples of what you can do.
Example of XYZ format
-79.97 -50.00 -39.00
-79.93 -50.00 -38.80
-79.90 -50.00 -38.60
-79.86 -50.00 -38.40
-79.83 -50.00 -38.20
-79.80 -50.00 -38.00
-79.76 -50.00 -37.80
-79.73 -50.00 -37.60
-79.69 -50.00 -37.40
-79.66 -50.00 -37.20
-79.62 -50.00 -37.00
-79.59 -50.00 -36.80
-79.56 -50.00 -36.60
-79.52 -50.00 -36.40
-79.49 -50.00 -36.20
-79.45 -50.00 -36.00
Players |
1 - 1
Categories:
Tools
Created at:
Last updated:
Current version:
1.0.0
Share URL:
https://workshop.codes/point-cloud-gen
Controls
Hold to start
Hold to start
Hold to start
Hold to start
Hold to start
Snippet
Loading...