Crystal Frost

Crystal Frost

Crystal Frost is the Firestorm viewer's code turned into a library. It runs a Second Life or OpenSim session the way Firestorm does, in Firestorm's own order and with Firestorm's own logic, and leaves the drawing to whatever renderer sits on top of it.

Crystal Frost is in development. The source is public on GitHub.

View on GitHub

Why a library

Every Second Life viewer carries two jobs in one program: running the session (logging in, talking to the grid, keeping track of the world, inventory and chat) and drawing it. Firestorm does the first job very well, and it has years of fixes and features behind it. Crystal Frost keeps that work as it is and splits the drawing off, so a new renderer can be written on a modern engine without reimplementing the protocol, the viewer's behaviour or its features from scratch.

How it works

What's inside

Staying in step with Firestorm

The repository is a fork of Firestorm. Upstream files stay untouched and Crystal Frost's own code lives in its own folder, so new Firestorm releases merge in with few conflicts. Dependencies come from the same prebuilt packages the Firestorm viewer itself uses.

Building

Crystal Frost currently builds on Windows (64-bit) with Visual Studio 2022, CMake 3.21 or later and Python 3. See the repository's README for the steps.

Repository

libCrystalFrost

The library: Firestorm's viewer code (login and its secure store, the grid manager, networking, the world and objects, avatars and animation, inventory, chat and IM, RLVa, preferences, the UI logic) built as a native library with a C API. It also carries the C# runtime package for Unity and the HLSL ports of Firestorm's shaders (the WindLight/EEP sky, clouds, sun and moon, haze, lighting and particles). Renderers on other engines, such as Godot or Unreal, can use the library without either.

View on GitHub

License

Crystal Frost is derived from Firestorm, which is licensed under the GNU Lesser General Public License, version 2.1, and Crystal Frost is under the same license. You may use, change and share it under that license; a program that uses the library must let its users replace the library with their own build of it.

Upstream

Built on Crystal Frost