Attachment | Size |
---|---|
cubemap-to-dds-v0.3.py.txt | 5.35 KB |
GIMP DDS plug-in needed to save to cubemap DDS format:
http://code.google.com/p/gimp-dds/
This script will automatically create, crop, reposition and rename all layers needed to save a cubemap with the GIMP DDS plug-in from a regular skybox image of choice.
How to use
Create a new file in the GIMP (just about any parameters will do). You'll find the script under Filters > Generic. Everything else is pretty straight forward from there.
Changes
* v0.3: Corrected issues with GIMP 2.8.
* v0.2: Added support for Horizontal strip, Horizontal Cross and Vertical Cross.
* v0.1: Initial release. Only supports Horizontal Strip XYZ.
Comments
Modifications
Hi Yourcomputer,
You don't say you need remove "-v0.3" to your filename to run this script correctly and keep only ".py" extension
Result: "cubemap-to-dds.py" for filename!!!!
otherwise this script don't run!
Any ideas how to make it work
Any ideas how to make it work in 2.8? Having same error as dallows.
Error - Gimp 2.8.2
Traceback (most recent call last):
File "C:\Program Files\GIMP 2\lib\gimp\2.0\python\gimpfu.py", line 699, in response
dialog.res = run_script(params)
File "C:\Program Files\GIMP 2\lib\gimp\2.0\python\gimpfu.py", line 361, in run_script
return apply(function, params)
File "C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins\cubemap.py", line 100, in cube_map_to_dds
layer.scale(width, height, 0);
TypeError: integer argument expected, got float
Used configuration
Cubemap layout: Horizontal Cross, 2 to the power of 9, image resolution: 6000x3000, image format: jpg
DDS plugin should be properly instaled, I've created quit a few textuers with it already.
v0.3
New version released. Should fix it for you.