Rendering metaball particles using Java, OpenGL and GLSL

preview_player
Показать описание
The particles are driven by a time based sin/cos function. Rendering is done by a fragment shader (glsl), which uses a pixel-to-particle-distance approach using a normal distribution function. Spec. lightning and coloring is done similar. The fragment shader calculates distances etc. all by itself. In order to be scalable, the data is stored and updated in a TBO. Acceptable fps rates are achieved with 1024 particles or less. The initial approach using Java2D was rather unsatisfying.

Рекомендации по теме
Комментарии
Автор

Looks very nice!!:D ...i actually calculated metaballs in java so far just without shaders, so i had to draw every pixel new in the code to generate an image...but now i want to get into shaders, especially to get this thing work in realtime;)

Blacksoul
welcome to shbcf.ru