Commit Graph

29 Commits

Author SHA1 Message Date
rdb f3d51fd72c tests: Don't rely on png being available for TexturePool tests
Instead, use SGI image format, support for which is generally enabled in Panda
2023-02-24 23:01:40 +01:00
rdb 84ada4d66b 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.
2023-02-22 23:29:37 +01:00
rdb 5d63c7e898 Merge branch 'release/1.10.x' 2023-02-20 19:27:58 +01:00
rdb 2e7dc9e4f4 tests: Add unit test for GeomVertexFormat arrays list 2023-02-20 19:05:37 +01:00
rdb fed5865645 tests: Add unit tests for #1105 2023-02-07 12:24:54 +01:00
rdb 92185bcb28 Merge branch 'release/1.10.x' 2022-12-19 16:42:29 +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 eb6eb9f1dd Merge branch 'release/1.10.x' 2021-03-24 13:58:00 +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 842452594d Merge branch 'release/1.10.x' 2021-01-17 17:28:19 +01:00
rdb a5a0809949 gobj: Support integer texture formats in TexturePeeker 2021-01-17 15:27:19 +01:00
rdb 902ada10b8 gobj: Slight optimization for GeomTristrips::append_unused_vertices() 2020-12-14 11:11:46 +01:00
rdb b655aa86c5 Merge branch 'release/1.10.x' 2020-08-17 13:05:51 +02: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
Tohka c4af56620b gobj: Support registering texture pool filters from Python code
Closes #954
2020-07-25 14:54:32 +02:00
hitesh4 cf4d418f2f tests: add unit tests for GeomVertexReader
Closes #604
2019-12-11 16:49:34 +01:00
rdb 8d61002cd6 tests: add unit tests for some shader loading operations 2019-07-15 19:46:59 +02:00
rdb 5a8a8dd550 tests: add unit tests for lens extrude and project operations 2019-03-29 12:20:01 +01: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