Triaxis
  • Deliverables
  • Demo
  • Project
  • Team

Demo

Triaxial Ellipsoid, JSON Parser and Graphical User Interface (GUI)

Demo

Triaxial Ellipsoid

To find a shape that is between a sphere and a faceted object, we looked for one that is comparable to the computational simplicity of a sphere and the structural accuracy to asteroids as a faceted object. The most appropriate shape is an ellipsoid; it is similar to a sphere but has three radii, and is more structurally complex like a faceted object. Previous teams have already made an attempt at an ellipsoid module. The shape in renders are correct, but the lighting is not. Our goal was to fix the lighting so the lightcurve data is accurate to produce the ellipsoids.

Snow
Fig 1. Before: Notice the Spotting
Forest
Fig 2. After: Lighting appears correct
ellipsoids
Fig 3. Correct render with lighting issue fixed
ellipsoid
Fig 4. Triaxial Ellipsoid

JSON Parser

Live demo of JSON parser

In order to utlize the licht-cpp software and begin calculations, the NLM has to parse the parameters and its values. That is the sole purpose of the JSON parser. Comments, examples, and other pertinent data are specified in this file. Any variable starting with '_' will not be parsed by the system. Most variables are allowed to be fit/estimated. However, certain variables are UNABLE to be fit. These variables will not have a 'Fit' option specified.

JSON Demo
Fig 5. JSON Parser input file
txt file
Fig 6. User input txt file

As you can see on Fig.6, the text looks very dull and it's hard to read and understand. On the other hand, Fig.5 is more colorful and the parameters are more clearly structured. With the new JSON parser it will give our clients a better way to parse all data to make the right calculations.

Graphical User Interface(GUI)

The Graphical User Interface(GUI) was implemented and refactored from the previous team. It serves the purpose of editing a text file each time. It also allows our clients to focus less time on changing parameters. And a plus is that it allows new users to use it more quickly compared to having to change a JSON or txt file.

© Triaxis 2021