rdb
82a79acdd5
tests: Fix OverflowError in test_format_arrays on 32-bit
...
This is actually a bug in interrogate - it's converting an unsigned size_t via Py_ssize_t, which is not correct. However, it's a bunch of trouble to fix that.
Cherry-picked from 84ada4d66b
2023-02-24 22:07:38 +01:00
rdb
2e7dc9e4f4
tests: Add unit test for GeomVertexFormat arrays list
2023-02-20 19:05:37 +01:00
rdb
896346b99f
gobj: Implement `copy.deepcopy()` for Texture class
...
Actually ensures that the underlying RAM images are really fully unique.
2022-12-19 16:22:33 +01:00
rdb
8372b8150a
gobj: Cube map sampling support in TexturePeeker
...
Closes #1098
Co-authored-by: Mitchell Stokes <mogurijin@gmail.com>
2021-03-24 12:50:42 +01:00
rdb
8bde2f2b1b
tests: Add unit tests for GeomPrimitive::offset_vertices()
2021-03-22 22:04:08 +01:00
rdb
a5a0809949
gobj: Support integer texture formats in TexturePeeker
2021-01-17 15:27:19 +01:00
rdb
9ac1a4f7cb
tests: Add some unit tests for #987
2020-08-17 12:16:33 +02:00
rdb
be24266715
tests: Copy some linmath/gobj tests over from master branch
2020-08-17 12:16:33 +02:00
rdb
73452957ee
gobj: better handle NaNs in vertex data when calculating bounds
2018-12-16 20:43:30 +01:00
rdb
b168fa6a85
tests: fix erroneous test_texture_clear_unsigned_byte test
2018-09-02 21:04:40 +02:00
rdb
eb62d7f223
tests: add unit tests for clearing and then peeking texture
2018-09-02 12:00:10 +02:00
rdb
4f9a2aca85
tests: fix issues with temp files without correct case on Windows
2018-08-20 16:56:45 +02:00
rdb
1e9a64fe63
tests: add Geom.decompose tests
2018-08-03 21:10:26 +02:00
rdb
4b8ff0573e
tests: add TexturePool unit tests
2018-07-31 14:57:55 +02:00
rdb
9638eb47eb
Add support for geometry with adjacency information
...
Example code: https://gist.github.com/rdb/7cebb8941b962c59d5a092048efb3855
2018-03-01 21:20:19 +01:00
rdb
9dcfcbf5fa
texture: support store() on more component types (incl. sRGB)
...
This changes behaviour for sRGB textures, which weren't previously converting to the correct color space.
Also add unit tests for storing to PNMImage.
Closes : #212
2017-12-19 20:02:49 +01:00
rdb
348b1c344d
texture: support uint/float/half/sRGB textures in TexturePeeker
2017-12-19 18:44:18 +01:00