# dbt-ethz/Axolotl

Latest commit 5e4e2e2 Mar 30, 2018
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
00_basics.gh Feb 28, 2018
01_landscape.gh Feb 28, 2018
02_bikenode.gh Feb 28, 2018
03_lattice.gh Feb 28, 2018
04_crossnode.gh Mar 29, 2018
Thumbs.db Feb 25, 2018
terrain_small.png Feb 21, 2018

# Examples

## General Info

Every AXOLOTL definition consists of three main parts:

1. The discretisation of space into a three dimensional grid of voxels. This can either be done from a simple box or from a grayscale raster image describing the topography of a landscape. The outputs of this part are
• the resolution in X, Y and Z (required by other components, e.g. blur and Millipede isosurface) and
• a one dimensional list of query points for the distance calculations (`pts`)
2. Building up the CSG (constructive solid geometry) tree. All the components that create geometry take as an input - beside their own geometric properties like center and radius for a sphere - the list of points from step one (`pts`) and outputs a one dimensional list of distances `a` as floats. Two of these lists can be combined by Boolean operation components `Union`, `Subtraction`, `Intersection` and `Blending`. They take as input two `a` lists and output the result as another `a` list that can be fed into other Boolean operations again.
3. The visualisation part, where the voxel field of distance values is turned into either geometry (using the `FRepIsosurface` component) or displayed as a volume of dots whose colour corresponds to its distance value.

## 00 Basic

Just the very basics: one sphere, one torus, combined with Boolean operation and two different ways of visualisation.

## 01 Landscape

Create the voxel space on the basis of a height map (grayscale image).

## 02 Bike Node

I stumbled upon this inspirational image recently and thought that would be a good exercise for Axolotl.

source: 3ders.org

Of course it is not the same, but close enough to get an idea:

## 03 Lattice

This example shows how the distance field from one object (sphere) can be used to create a gradual offset to another object (lattice).

## 04 Crossnode

This example shows the blending of three profiles into one node, hollowed out, while preserving sharp edges.

You can’t perform that action at this time.