Chill - ProcJam 2022 Submission

My proc jam submission for the year of 2022 with the theme of "CHILL".

Took the prompt pretty literally because I'm boring, so cold stuff! Snow and stuff.

Installation

git clone github.com/EliCDavis/modeling
cd mesh
go install ./examples/chill

Usage

Tree

C:\dev\projects\EliCDavis\mesh>chill tree -h
NAME:
   chill tree

USAGE:
   chill tree [command options] [arguments...]

DESCRIPTION:
   Creates a single tree

OPTIONS:
   --height value    The height of the tree (default: random value between 20 and 45)
   --base value      The width of the tree trunk (default: random value between 0.5 and 2.5)
   --covered value   Percent of the tree's trunk covered by it's branches (default: random value between 0.7 and 0.9)
   --branches value  Number of branches the tree will have (default: random value between 200 and 500)
   --min-snow value  Minimum percentage of snow to use on the branch textures (default: 0.4)
   --max-snow value  Maximum percentage of snow to use on the branch textures (default: 0.7)
   --seed value      The seed fpr the random number generator to use (default: clock time)
   --out value       Path to write the tree obj/mtl/pngs to (default: .)
   --name value      Name of the files that will be generated (default: tree)
   --help, -h        show help (default: false)

Creating a random tree from default parameters

Default Tree

Upping the snow on the tree, making it short, and naming it snowy

Snowy

Forest

Creating a random forest from default parameters

Default Forest

I added the ability to define a trail in the snow for some reason, you can do so by passing a json file full of trail segments.

Below is an example of using the trail functionality to carve out "CHILL" in the snow

Which produces

Chill Forest

Last updated