Rescale odd texture sizes (257x257, etc.) so that the OSG texture loader
doesn't need to do this on the fly. OpenGL requires that texture dimensions be a power of 2 (32, 64, 128, 256, 512, 1024, 2048, etc.) so if we feed in something else, OSG will rescale it on the fly before registering it as an OpenGL texture.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 746 KiB After Width: | Height: | Size: 438 KiB |
Before Width: | Height: | Size: 492 KiB After Width: | Height: | Size: 373 KiB |
Before Width: | Height: | Size: 701 KiB After Width: | Height: | Size: 448 KiB |
Before Width: | Height: | Size: 840 KiB After Width: | Height: | Size: 507 KiB |
Before Width: | Height: | Size: 743 KiB After Width: | Height: | Size: 541 KiB |
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 174 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 24 KiB |