MattiaPugliatti / corto

The Celestial Object Rendering TOol (CORTO) is a bundle of codes that can be used to generate synthetic images of celestial bodies
MIT License
13 stars 4 forks source link

Uniform use of .json files for input data #4

Closed MattiaPugliatti closed 4 months ago

MattiaPugliatti commented 5 months ago

Uniform and standardize the use of JSON files for inputting of "scene" and "geometry" data. Transform the current "setting" one into the "scene" one. Standardize interface reading in CORTO via a dedicated "State" class.

micmaestrini commented 4 months ago

partially addressed in https://github.com/MattiaPugliatti/corto/commit/d3e01d632439e82c6ee6945f8f6ef7a8e78d9d83. State now reads json for settings and geometry (now converted to json format, a routine for this is available in the tutorials subfolder). Stilli missing interface for body, which needs a separate discussion.