A tutorial that teaches you everything it takes to render 3D graphics with the Vulkan API. It covers everything from Windows/Linux setup to rendering and debugging.
In this blog post we will cover some of the basics of the Barnes Hut algorithm. This is completely new to me, it is not an algorithm I’ve used/studied before (and I am by no means an astrophysicist). Nonetheless it has piqued my interest so I have decided to write about it. In this blog I will be talking about 2 dimensions unless otherwise stated, this just makes the resulting code run a little quicker and output easier to visualise. Modifying the 2d code to be 3d (or even higher dimension) requires only minor revisions.
This site contains many samples and prototypes that I have developed. All the code for the samples are available on bitbucket and people are free to do with it what they will. Ideally its best if you use the latest version of the Chrome browser, I tend to use the latest available APIs and features as I prototype and learn new subjects.
* 2D Prototypes
* 3D Fungi Prototypes
* SDF / Ray Marching Prototypes
* Three.js Prototypes
* 3D Shader Prototypes
* UI Web Components
* Misc
While simple approximations to the bbox are trivial (such as computing the bounding box of their control points), in this article we deduce the exact bounding box analytically.