Skip to content

boku-ilen/godot-variable-density-poisson-disk-sampler

Repository files navigation

Variable Poisson Disk Sampler GDExtension

Sample random points with a variable density based on an arbitrary density function, e.g. pixel values in an image:

image

Adapted from Steven Sell's tutorial and Unity project.

Repository created from the GDExtension template.

Configuring an IDE

You can develop your own extension with any text editor and by invoking scons on the command line, but if you want to work with an IDE (Integrated Development Environment), you can use a compilation database file called compile_commands.json. Most IDEs should automatically identify this file, and self-configure appropriately. To generate the database file, you can run one of the following commands in the project root directory:

# Generate compile_commands.json while compiling
scons compiledb=yes

# Generate compile_commands.json without compiling
scons compiledb=yes compile_commands.json

About

GDExtension for random point generation using variable density Poisson-disk sampling in Godot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors