Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions examples/js/loaders/EXRLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,12 @@ THREE.EXRLoader.prototype._parser = function ( buffer ) {
'RLE_COMPRESSION',
'ZIPS_COMPRESSION',
'ZIP_COMPRESSION',
'PIZ_COMPRESSION'
'PIZ_COMPRESSION',
'PXR24_COMPRESSION',
'B44_COMPRESSION',
'B44A_COMPRESSION',
'DWAA_COMPRESSION',
'DWAB_COMPRESSION'
];

var compression = parseUint8( dataView, offset );
Expand Down Expand Up @@ -1109,7 +1114,7 @@ THREE.EXRLoader.prototype._parser = function ( buffer ) {

} else {

throw 'Only supported pixel format is HALF';
throw 'EXRLoader._parser: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';

}

Expand Down Expand Up @@ -1151,7 +1156,7 @@ THREE.EXRLoader.prototype._parser = function ( buffer ) {

} else {

throw 'Only supported pixel format is HALF';
throw 'EXRLoader._parser: unsupported pixelType ' + EXRHeader.channels[ channelID ].pixelType + '. Only pixelType is 1 (HALF) is supported.';

}

Expand All @@ -1163,7 +1168,7 @@ THREE.EXRLoader.prototype._parser = function ( buffer ) {

} else {

throw 'Cannot decompress unsupported compression';
throw 'EXRLoader._parser: ' + EXRHeader.compression + ' is unsupported';

}

Expand Down