Almar Klein

Results 295 issues of Almar Klein

Idea: ```py ob2 = ob1.clone() ``` That way you can create a copy of an object but change it slightly. One use-case is mimicking ordered2 blending by creating clones, so...

## Intro In #985 and #989 @panxinmiao makes a case for a simpler blending mechanic. I was very hesitant at first, but when I realized dithered blending can still fit...

When working on #1042 I actually was on the way for a bigger refactoring. I trimmed it down to avoid stalling. This PR shows what I was working towards. This...

## The current state We have one abtract material: * **MeshAbstractMaterial**: defines the very basic common props: color, color_mode, map, side. A couple of more specialized materials: * **MeshNormalMaterial**: render...

Like many, I made "optimizations" to shaders by trying to avoid if-statements and ternary operators. Turns out for many cases this is not necessary and may actually be slower: https://iquilezles.org/articles/gpuconditionals/...

Relates to #492 and #495 This adds a new `View` class that replaces the `Viewport` class and `Display`/`show` functionality. Its a bit like a combination of both. The idea is...

Renderer preparations that come to mind: * Create pipeline-container objects with a specific material as in `multi_select.py` example. * Uploading pending buffers and textures. * Updating transforms?

I figured I set `gfx.logger.setLevel("INFO")` so I can see when the pipelines update (these are info log messages). But I don't see anything. We don't do anything fancy with logging...

## Intro It would be cool to support multi-channel images in pygfx, as it's a common use-case in certain scientific fields like microscopy. The idea is that you'd have multiple...

In Pygfx there's a few places where we support data to be loaded with external libraries. In particular: * in `geometries/_compat.py` for converting external geometry to pygfx geometry. * In...