![]() |
DI-Guy SDK Documentation
13.7
|
DI-Guy Author is a combination of the DI-Guy Scenario application and the DI-Guy Graphics API.
It lets you embed the functionality of DI-Guy Scenario in your own application. The 3D parts of DI-Guy Author are 3D library-agnostic, meaning they can be implemented using almost any 3D library.
You subclass the needed 3D visual editing objects, such as, waypoints, path splines, and region meshes, similarly to the way the DI-Guy Graphics API implements the 3D objects needed to render characters in an IG. The API has C++ base classes that provide all of the data needed to create and render editing objects. Your subclasses take that information and render them in your IG.
An additional class, again to be subclassed, provides an interface by which you give DI-Guy input information from your IG such as mouse movement and keystrokes, and by which DI-Guy can ask for needed 3D database information such as line to terrain intersections. With this data DI-Guy can internally modify the scenario. DI-Guy will then tell you when and where to create the 3D visual objects to show the updated state of the scenario.
DI-Guy does all of the calculations for how mouse input should affect waypoint positions and orientations, and therefore path splines, which parts of the terrain should be covered with region polygons painted by the region paintbrush, and other authoring details.
The number of classes needed to be extended, and the amount of information needed to be supplied to DI-Guy, is quite small.
In addition to the extensive editing possible in a 3D environment, DI-Guy Author provides all the dialog boxes and other GUI controls needed to create and manage scenarios.
[Home] [Top of Page] [How DI-Guy Author Works >>]