Vogel Disk Sample Calculator

<

About

This Calculator allows you to calculate samples on disk using the vogel method.
This method allows for evenly spaced samples on a circle or on the surface of a sphere.

This can be very useful for creating a realistic looking Depth of Field Effect (or Blur) for Real-Time applications. This is the reason I originally created this tool.

To use it, enter a sample count and it will create an array with samples you can copy-paste directly into your GLSL shader. If you are using HLSL or other languages, converting it shouldn't be too difficult.

Settings

Sample Count






GLSL Code

Enter the desired sample count and press Calculate