set mashed up with algebra (a la ) rendered with in fork of

My highly over-engineered extravagant framework of shaders including each other multiple times with different things defined (to emulate C++ templates with function overloading without polymorphism) takes significantly longer to link the than it does to render the .

First attempts with typos gave 100k lines of cascaded errors in the shader info log, which which the Qt GUI list widget was Not Happy At All. Luckily the log went to stdout too, so I could pipe to a file and see the start where I missed a return statement or two.

Oh dear. I found a bug. My `div` implementation had big copy/pasta mistake when I duplicated `mul` and forgot to finish editing it, so the fractal depicted is not a Magnet Mandelbulb at all (FragM exports copies of the shaders when it saves images, so I keep the broken code there as it doesn't look too bad).

Trying again with correct code this time...

Show thread
Follow

Magnet Mandelbulb (hopefully correct this time).

Looks much less interesting, and is much harder to render (needed to reduce DE multiplier and increase subframe count to get it to look acceptable).

· · Web · 0 · 0 · 3
Sign in to participate in the conversation
post.lurk.org

Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that.