Korijn van Golen

Results 390 comments of Korijn van Golen

On the GPU all buffers must be c-contiguous. Since making an array contiguous (using `np.ascontiguousarray`) requires a big memory allocation step and a copy step, it can be pretty slow,...

Well, first you drop setup.py and instead use pyproject.toml (woohoo!) Then you use `poetry lock` to create a `poetry.lock` file. Finally you create your virtual env and run things with...

That is indeed a dirty little secret... man! How!!

I feel like we should just use imageio and trimesh.exchange for this. Together those two libraries already support nearly every format under the sun.

I just stumbled on this link, sharing it here so we can reference it later: https://github.com/KhronosGroup/glTF-Sample-Models In particular it's got the Sponza scene which is a pretty great testbed for...

> We don't. We provide the lower level primitives, and a higher level plotting lib would implement it. This! :)

When, eventually, we'll do SDF based text rendering, we can probably leverage this tool to do some of the preprocessing for us: https://github.com/Chlumsky/msdf-atlas-gen More related text: * https://computergraphics.stackexchange.com/questions/306/sharp-corners-with-signed-distance-fields-fonts/2151#2151 * https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf...

I guess there are three parts to this: * Creating glyph maps * Rendering glyphs on quads * Typesetting strings (positioning quads) There are separate utilities you can use for...

> With the 3d part you mean e.g. the kerning etc. right? In visvis I used Freetype for step 1 and 3, and it looks like vispy does the same,...

> > you still have to implement line wrapping, justification and alignment etc yourself. I was hoping there are engines available for that! > > Yes, that part is done...