Skip to content

PinkRammy/worley

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎞️ Tileable 3D worley noise texture generator

Example of a 32 x 32 x 16 spritesheet (16 tiles of 32px x 32px tileable worley noises)


👷‍♀️ TODO:

  • Worley generation
  • Perlin generation
  • Perlin-Worley generation
  • RGB generation
  • Custom spritesheet size
  • Custom tile size

💖 Credits

Using the stb_image_write header file from https://github.com/nothings/stb/

📋 Requirements

  • CMAKE
  • SFML
sudo apt install cmake libsfml-dev

🛠️ Build instructions

mkdir build && cd build && cmake .. && make

💽 Run instructions

There are two modes of operation:

  • Spritesheet mode
  • Preview mode

Spritesheet generation

By default, without any arguments, it will generate a tileable worley noise spritesheet using the configuration in the code:

./build/bin/TileableWorleyGen

Preview

To generate the preview of how a worley tile would look like, just add the --preview argument when running the generated file in the ./bin folder:

./build/bin/TileableWorleyGen --preview

About

Tileable 3D worley noise texture generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published