Add OpenEXR export option
In preparation for depth map export.
This commit is contained in:
@@ -79,6 +79,8 @@ public class RenderSettings {
|
||||
|
||||
BLEND(null, "blend"),
|
||||
|
||||
EXR(null, "exr"),
|
||||
|
||||
PNG("\"%FILENAME%-%06d.png\"", "png");
|
||||
|
||||
private final String preset;
|
||||
@@ -111,6 +113,13 @@ public class RenderSettings {
|
||||
public boolean isSupported() {
|
||||
if (this == BLEND) {
|
||||
return RenderMethod.BLEND.isSupported();
|
||||
} else if (this == EXR) {
|
||||
// Need LJWGL 3
|
||||
//#if MC>=11400
|
||||
return true;
|
||||
//#else
|
||||
//$$ return false;
|
||||
//#endif
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user