Skip to content

Corpusim/Corpusim_RDT_Graphics

Repository files navigation

Corpusim RDT Graphics

README updated 2022-05-21

This is a Research, Discovery, and Testing environment for procedural graphics - one of the core technologies used in Corpusim.

We've worked on squamous epithelial tissues (flaky, flat, barrier layers) and bone tissue trabeculae (interior, lace-like "spongy bone").

Corpusim Image

Corpusim Image

This project is written in Godot 3.4 and the voxel-tools plugin.

Controls

W A S D : Forward, Left, Backward, Right (Strafe)

Space Shift : Up, Down

Mouse : Look / Rotate

Mouse Wheel : Shrink (Zoom)

Mouse Buttons : Add / Remove Tissue (Voxels)

F11 : Fullscreen toggle

Using Virtual Reality Headset

Toggle the VR Mode check box in the PlayerProbe Scene

VR Headset will replace mouse for Look / Rotate

Implementation

We're learning how to procedurally construct the requisite anatomical shapes using SDF-based voxels.

Procedural textures are then applied using triplanar mapping and a fragment shader.

We are also using vertex shaders to animate the debris floating around - the dead, sloughed epithelial tissue.

Godot voxel-tools plugin

We are making extensive use of the Voxel Tools plugin, written by Zylann.

This requires installing Godot from source, as Zylann describes here.

If you want to contribute to the graphics work, I highly recommend reading the documentation.