Skip to content

Developer Manual

Nick Sharp edited this page Sep 27, 2017 · 1 revision

This document describes the internal data structures and algorithms that comprise the Scotty3D codebase, focusing mainly on core functionality (e.g., meshing, ray tracing, and animation). Limited documentation of the graphical user interface (GUI) is available via comments in the source itself (though this information is not needed for implementation tasks).

The components of the Developer Manual are exhaustively listed on the sidebar to the right, and are organized under the three main components of the software:


Showing errors

The header error_dialog.h declares a function void showError(std::string errorString, bool fatal = false) which will display a message to the user in the GUI and block until the user dismisses the dialog. If fatal is true, the program will exit after the user dismisses the dialog, otherwise it will return from showError() and continue executing. You are encouraged to utilize this function in your implementations to handle cases for which there is no reasonable output, or panic if an invalid state is detected.

Clone this wiki locally