virtualx-engine/editor/import
Omar El Sheikh d274284069 Octahedral Normal/Tangent Compression
Implement Octahedral Compression for normal/tangent vectors
*Oct32 for uncompressed vectors
*Oct16 for compressed vectors

Reduces vertex size for each attribute by
*Uncompressed: 12 bytes, vec4<float32> -> vec2<unorm16>
*Compressed: 2 bytes, vec4<unorm8> -> vec2<unorm8>

Binormal sign is encoded in the y coordinate of the encoded tangent

Added conversion functions to go from octahedral mapping to cartesian
for normal and tangent vectors

sprite_3d and soft_body meshes write to their vertex buffer memory
directly and need to convert their normals and tangents to the new oct
format before writing

Created a new mesh flag to specify whether a mesh is using octahedral
compression or not
Updated documentation to discuss new flag/defaults

Created shader flags to specify whether octahedral or cartesian vectors
are being used

Updated importers to use octahedral representation as the default format
for importing meshes

Updated ShaderGLES2 to support 64 bit version codes as we hit the limit
of the 32-bit integer that was previously used as a bitset to store
enabled/disabled flags
2021-07-30 10:29:09 -04:00
..
atlas_import_failed.xpm Added ability for multiple images to be imported as an atlas 2019-04-19 15:56:34 -03:00
editor_import_collada.cpp Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
editor_import_collada.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_import_plugin.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_import_plugin.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_bitmask.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
resource_importer_bitmask.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_csv_translation.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
resource_importer_csv_translation.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_image.cpp Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
resource_importer_image.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_layered_texture.cpp Implement lossless WebP encoding 2021-06-11 18:48:04 +02:00
resource_importer_layered_texture.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_obj.cpp Octahedral Normal/Tangent Compression 2021-07-30 10:29:09 -04:00
resource_importer_obj.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_scene.cpp Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
resource_importer_scene.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_texture.cpp ERR_FAIL_NULL check file access 2021-06-17 12:47:55 +02:00
resource_importer_texture.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_texture_atlas.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
resource_importer_texture_atlas.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
resource_importer_wav.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
resource_importer_wav.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00