Implement A New Node

Case Study: CameraNode

The camera node provides a great example of a node that "does a little bit of everything". Camera nodes encapsulate the following functionality:

Source Code

Right click to download the following source code for each example.

Module Implementation

The ExternalModule for CAMERA.DLL is implemented with two files, a C++ class and header. This class required for Scenome to load this module as a plugin.

Base Implementation

Camera is implemented with two files, a C++ class and header.

Property Sheet Implementation

The property sheet for a camera node is implemented with two files, a C++ class and header.

Select/Pick Implementation

Camera select/pick is implemented with two C++ classes.

Transform Implementation

Camera transformation is implemented with one C++ class.

Editing Action Implementation

Integration into the undo/redo system is handled with one C++ class and one header.