VizzyGL is a set of Vizzy instructions that allows you to draw non-physical graphics in the flight and map views. This is an early preview release, there are still changes and additional features pending before the first official release.
What is VizzyGL For?
The primary use case for VizzyGL is to create visual aids and to visualize mathematical concepts, however there are probably numerous conceivable purposes. The one thing this is not meant to be is a way to dynamically add physical parts to your craft. All of the graphics produced by VizzyGL have collisions disabled and should be thought of as holographic projections.
Graphics are created by first setting various drawing context properties, such as
Origin, etc using the
Set ... commands. Once settings have been established the graphic can be created using a
Draw ... instruction specifying position relative to the origin and a name. The settings on the drawing context are global for the Flight Program, so setting a drawing context property in one thread will affect other threads as well.
After they are created graphics can be updated using the
Update Object command. However it is not possible to change a graphic's origin type or target view after it is created.
Graphics can be removed from the scene using the
Remove Object instruction.
Set Target View
Graphics can be drawn in either the flight view or the map view.
Set Origin Mode
Sets the origin relative to which the object will be positioned. The origin craft can be specified by name or by id. Origin planets should be specified by name.
- Craft PCI - Relative to the COM of the specified craft in PCI coordinates.
- Craft Local - Relative to the COM of the specified craft in Craft Local coordinates.
- Planet PCI - Relative to the specified planet in PCI coordinates.
- Planet Lat/Lon/ASL - Relative to the specified planet in Latitude, Longitude, and Altitude Above Sea Level
Sets the scale multiplier for the object as a vector. The units of this vector are somewhat arbitrary, and are different in flight view vs. map view. I haven't done the math to figure out what they are.
Sets the color of the object as a vector containing RGB values from 0 to 1 (i.e.
(1, 0, 0) is bright red,
(1, 0, 1) is purple,(0, 0, 0)` is black).
Sets the opacity of the object as a number from 0 to 1 (0 is fully transparent, 1 is fully opaque).
Draws the object using the current set of drawing context properties (any subsequent change to the drawing context properties will have no effect). Only one graphic can exist with a given name, so if you create another graphic with the same name the previous graphic will be removed automatically.
Updates one of the properties of the specified object. See the
Set ... instructions above for the descriptions of each property.
Removes the specified object.
- Mod Version: v0.2-preview1
- Required SR2 Version: 0.9.50x.x
- Published: 8/15/2020
- Downloads: 447