yarolegovich / RSMetaballs

Metaballs rendering using RenderScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A small RenderScript experiment. Be aware of that it's very far from its best application, but I just wanted to try the tool and failed to come up with anything more suitable for it.

I've tried two different approaches:

  • The first one involves using an Allocation as a SurfaceProducer for a SurfaceView.
  • The second one renders to a bitmap and then draws it on a canvas. This approach clearly involves more expensive data transfers, but can be greatly sped up at the cost of reduced image quality.

Full video.

I'd like to note that I'm not going to update this repository.

About

Metaballs rendering using RenderScript


Languages

Language:Kotlin 96.8%Language:RenderScript 3.2%