Subject | Hash | Author | Date (UTC) |
---|---|---|---|
more image formats | 77bf7ec016cfb604e4a8e06734a4eb71bb299df0 | Jackalope | 2020-05-11 07:48:46 |
added license | d7c63a0b6199c7f5c1680559953eef1699ec9a48 | Jackalope | 2020-05-10 01:01:00 |
refactoring | 66f541c32f51d6ed6f90fba1f3b58561726e8659 | Jackalope | 2020-05-10 00:55:34 |
extra vertices check | c3bd2141d2eaeb96beb5c8ad29e3333c015db4c8 | jp.larry | 2019-12-26 14:38:29 |
removed dead code | f4ddde689122f1b96fda5292e69f612bf2ca327d | jp.larry | 2019-12-26 14:38:06 |
removed forgotten vertex data_size writing | 25244188b395b6cca35502f4156d3e78cc1e74ec | jp.larry | 2019-12-26 13:19:31 |
better read errors | d6d7bc5df695d694ea0dee225905212ef1dfe41b | jp.larry | 2019-12-26 13:18:55 |
changed vertices file structure to prevent undefined behaviour | 603e283ccf234f87f6e8c38a669280be36a5aafb | jp.larry | 2019-12-26 12:35:05 |
vertex attributes is separated, not inteleaved now | d3e7b79c74e9fae7b8b788d1a55db2e664feb107 | jp.larry | 2019-12-26 01:19:17 |
compiled on windows with mingw | 51eacaf02dd542415cea1edd615d88234fb5b344 | Jackalope | 2019-12-15 07:05:58 |
added mesh to read and write functions | 173144a8516441420feb4327a66d26fa3f57376d | Your Name | 2019-12-07 22:09:04 |
warning hidden by implicit cast | f49b32439aa1e8719bd340da9fc3bb7e9b906d0d | Your Name | 2019-12-07 21:01:08 |
Vertices have vertices count value | cf3b63932cdcdb88b72e70df93a4dd8b478d163b | jp.larry | 2019-12-07 16:02:55 |
removed IndicesArrays, added Mesh resource and Vertices attributes is not dynamically allocated | a54a61cfc285bbec4246b1affdc5fe9251c059d0 | jp.larry | 2019-12-06 17:04:06 |
new obj file error | f4385161fdd1ad8038e2d0924e1d3de2a6506cc9 | Your Name | 2019-12-01 10:26:18 |
scene issues solved | cef4ba84d44cbdc6690c87e553df9fbfba60059f | Your Name | 2019-12-01 04:19:29 |
changed transformation matrix to 4x4 from 3x3 | 5b5728dabefb471cf126bf4b524f5079a14c0735 | Your Name | 2019-11-30 15:16:50 |
added missing return | 94644ed6f61207f664ac4675fa015afbe017ddea | jp.larry | 2019-11-29 09:03:14 |
scene improvements, changed shift type to unsigned, set default-value funtions, model must be path | a2708b94b88eb0ede73b9aab396e7a13f13baa52 | Your Name | 2019-11-29 09:27:32 |
separate function for str reading | 9127f9a18f9f4974975fa35d58f596952b6aa4e5 | Your Name | 2019-11-29 09:26:43 |
File | Lines added | Lines deleted |
---|---|---|
include/jrf/image.h | 4 | 2 |
File include/jrf/image.h changed (mode: 100644) (index 3e23d7f..23a0775) | |||
... | ... | struct jrf::Image | |
43 | 43 | static_assert (sizeof (Extent) == 8, "Important for compatibility"); | static_assert (sizeof (Extent) == 8, "Important for compatibility"); |
44 | 44 | ||
45 | 45 | enum Format { | enum Format { |
46 | B8G8R8_UINT = 34, | ||
46 | 47 | B8G8R8_SRGB = 36, | B8G8R8_SRGB = 36, |
48 | R8G8B8A8_SRGB = 43, | ||
49 | B8G8R8A8_UINT = 48, | ||
47 | 50 | B8G8R8A8_SRGB = 50, | B8G8R8A8_SRGB = 50, |
48 | R8G8B8A8_SRGB = 152 | ||
49 | 51 | }; | }; |
50 | 52 | static_assert (sizeof(Format) == 4, "Important for compatibility"); | static_assert (sizeof(Format) == 4, "Important for compatibility"); |
51 | 53 | ||
... | ... | struct jrf::Image | |
87 | 89 | return Result::MEDIATOR_ERROR; | return Result::MEDIATOR_ERROR; |
88 | 90 | return Result::SUCCESS; | return Result::SUCCESS; |
89 | 91 | } | } |
90 | void *p_pixels; | ||
92 | uint8_t *p_pixels; | ||
91 | 93 | uint64_t size; | uint64_t size; |
92 | 94 | Extent extent; | Extent extent; |
93 | 95 | Format format; | Format format; |