Create Custom Constellation
How do I create my own module with constellation lines between Uniview stars?
Сервис поддержки клиентов работает на платформе UserEcho
How do I create my own module with constellation lines between Uniview stars?
Сервис поддержки клиентов работает на платформе UserEcho
You need a few files in your module, mod file, one describing the points of the lines one for describing the module in the profile edior.
This is the mod file:
You need a constellationManager object and your constellation object. Fill in the guiName to be able to see it in the object tree and the displayName will be the label for it. The lines specifies another file that defines the actual line segments for the constellation.
In the constell.lines file we keep the line description with the full star positiona and data. The easisest way to create this is to find the stars.speck file in the Application folder under modules/stars. This is the Default Uniview stars and all position, make a search in that file for the star you are looking for (using the HD or HIP name). Copy that line into your .lines file and you should be good to go. For the constellation, only the 7 first numbers are actually used (XYZ position XYZ veloctity and speed), velocity and speed are used for proper motion.
This is how my example partial orion looks like: The text after the # is just comments to keep track of which star is which. They will be drawn and connected in the order they appear in this file.
This is the mod file:
You need a constellationManager object and your constellation object. Fill in the guiName to be able to see it in the object tree and the displayName will be the label for it. The lines specifies another file that defines the actual line segments for the constellation.
In the constell.lines file we keep the line description with the full star positiona and data. The easisest way to create this is to find the stars.speck file in the Application folder under modules/stars. This is the Default Uniview stars and all position, make a search in that file for the star you are looking for (using the HD or HIP name). Copy that line into your .lines file and you should be good to go. For the constellation, only the 7 first numbers are actually used (XYZ position XYZ veloctity and speed), velocity and speed are used for proper motion.
This is how my example partial orion looks like: The text after the # is just comments to keep track of which star is which. They will be drawn and connected in the order they appear in this file.
This is an archive with the example module to get you started.
custom_constellation.zip