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
11 stars 3 forks source link

Overwrite global parameters with the creation of new instances #3

Open MattiaPugliatti opened 1 week ago

MattiaPugliatti commented 1 week ago

for example, as in "Camera" or "Body", etc.

micmaestrini commented 6 days ago

Some properties of an instance are initialized in the constructor, however they are global variables and therefore new instances would overwrite them in the Blender environment. Examples:

micmaestrini commented 16 hours ago

After preliminary review, the following solution is proposed in https://github.com/MattiaPugliatti/corto/commit/bc61c2579ee1303140f8e1d554365c0d2395bb80.