custom_constellation.zip There are two of configuring the constellations. I will describe one straightforward way here. There is a brief description of the other one here : http://uniview.userecho.com/topic/139697-constell... They are basically the same, but use different files and object type to configure the constellations. But they are really the same.
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:
To create you own module with constellation lines between existing stars you need a few files in your module: a mod file, one describing the points of the lines one for describing the module in the profile editor.
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:
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