Almar Klein

Results 295 issues of Almar Klein

If people want to customize our materials by changing the wgsl, they basically have to copy the wgsl, introduce the custom code in a few places. This works, but everytime...

We cannot interoperate with data structures based on OpenGL/OpenCL, but we can make sure that multiple libraries that use wgpu-py can interoperate. With that I mainly mean that buffers and...

We're seeing several reports where people have issues related to wgpu creating a surface. I created this as a meta-issue. ## Issues in wgpu-py / rendercanvas / pygfx * https://github.com/pygfx/pygfx/issues/642...

For the async API functions in wgpu, we currently offer two options: busy-wait for it, or async-wait for it. In JS, an async function returns a promise, and this offers...

The `_version.py` now has a reference at https://github.com/pygfx/_version In short: the new version has a small improvement, but mostly it can be updated in the future much easier (although I...

Use the class-based structs from https://github.com/pygfx/wgpu-py/pull/748 I find that it makes the code easier to read; the classname makes it very explicit what you're dealing with, and easy to look...

Just a little heads up on how I plan to make releases for wgpu and Pygfx in the coming days/weeks: * Release PyGfx 0.13.0 soon * the theme being blending,...

* [x] Use rgba16float for internal color textures * [x] Make it easy to render offscreen HDR images: https://github.com/pygfx/rendercanvas/pull/97 * [ ] Or ... rgba16unorm? (https://github.com/pygfx/wgpu-py/issues/722) -> yes, more precision,...

Make use of https://github.com/pygfx/rendercanvas/pull/151, so that loop detection is fully automatic, via sniffio. This only depends on https://github.com/pygfx/rendercanvas/pull/151 for code that uses `.then()`. So if we assume no user is...

We have docstrings for most methods, but it would be nice to also have docs for the emums/flags/structs and their fields. The docstrings for the methods are written by hand,...