This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEditor; | |
| using UnityEngine; | |
| using System.IO; | |
| public class UVIslandExporterWindow : EditorWindow { | |
| [SerializeField] | |
| private Object[] sourceObjects = new Object[0]; | |
| private int textureSize = 2048; | |
| private int lineThickness = 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Bump package version | |
| npm pack --dry-run | |
| npm publish --dry-run | |
| npm install -g . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| echo "" | |
| echo "PNG to JPG Converter" | |
| echo "" | |
| echo "Usage:" | |
| echo " ./png2jpg-ffmpeg-low.sh" | |
| echo " ./png2jpg-ffmpeg-medium.sh" | |
| echo " ./png2jpg-ffmpeg-high.sh" | |
| echo " ./png2jpg-ffmpeg-veryhigh.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| Q=20 | |
| TEMP_DIR="" | |
| DOWNLOADED_FFMPEG=false | |
| cleanup() { | |
| if [ "$DOWNLOADED_FFMPEG" = true ] && [ -n "$TEMP_DIR" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| Q=10 | |
| TEMP_DIR="" | |
| DOWNLOADED_FFMPEG=false | |
| cleanup() { | |
| if [ "$DOWNLOADED_FFMPEG" = true ] && [ -n "$TEMP_DIR" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| Q=4 | |
| TEMP_DIR="" | |
| DOWNLOADED_FFMPEG=false | |
| cleanup() { | |
| if [ "$DOWNLOADED_FFMPEG" = true ] && [ -n "$TEMP_DIR" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| Q=1 | |
| TEMP_DIR="" | |
| DOWNLOADED_FFMPEG=false | |
| cleanup() { | |
| if [ "$DOWNLOADED_FFMPEG" = true ] && [ -n "$TEMP_DIR" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $Quality = "veryhigh" | |
| $jpegQuality = 95 | |
| try { | |
| Add-Type -AssemblyName System.Drawing | |
| } | |
| catch { | |
| Write-Host "Error: Failed to load System.Drawing." | |
| Read-Host "Press Enter to close" | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $Quality = "high" | |
| $jpegQuality = 82 | |
| try { | |
| Add-Type -AssemblyName System.Drawing | |
| } | |
| catch { | |
| Write-Host "Error: Failed to load System.Drawing." | |
| Read-Host "Press Enter to close" | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $Quality = "medium" | |
| $jpegQuality = 65 | |
| try { | |
| Add-Type -AssemblyName System.Drawing | |
| } | |
| catch { | |
| Write-Host "Error: Failed to load System.Drawing." | |
| Read-Host "Press Enter to close" | |
| exit |
NewerOlder