
...but perhaps not in public...

t00fri wrote:Christophe,
in order that we can do some testing we do need a patch relative to the /latest/ CVS render.cpp. Otherwise it's really messy and prone of errors.
Bye Fridger
ElChristou wrote:CVS don't include Nebulae and Open Cluster separate colors. Could this been added? (dependently of fading labels) or someone can do the right patch?
ElChristou wrote:t00fri wrote:Christophe,
in order that we can do some testing we do need a patch relative to the /latest/ CVS render.cpp. Otherwise it's really messy and prone of errors.
Bye Fridger
You mean we must forget the distance dependent labels, right?
Ok I'll post colors over a fresh render.cpp from CVS in a moment. (then forget the one by mail)
t00fri wrote:Perhaps even more than you, I have to economize the little spare time I have available for Celestia. Your attitude of letting us "experiment" for a whole weekend and then eventually cut the results short with one sentence is both uneffective and unacceptable in style!
Of course there is a very good reason for why I implemented a mere distance dependence (for now) for fading nebula and cluster labels, while galaxies depend on apparent magnitude. My above code
uses a uniform dependence on ABSOLUTE magnitude for all three DSO kinds. However, specifically, I set AbsMag CONSTANT (-8.0f) for nebulae and clusters, which then implies a mere distance dependence.
The reason was that otherwise the fading labels would break hundreds of existing nebulae and cluster add-ons that are ALL lacking an AbsMag entry!
So how did you imagine this problematics solved in your one-line reply about apparent magnitude dependence?
Once my forthcoming IC/NGC data are available for nebulae and clusters, we can always check for existing AbsMag entries and otherwise work with AbsMag = -8.0f, a convenient value. I thought you like the approach in terms of "small steps"?![]()
If you check e.g. in Simbad you will find that AbsMag is usually NOT quoted in catalogs for nebulae! This has good reasons, of course.
chris wrote:...
So we should check to see if an absolute magnitude has been specified for the object. If not, then we use -8 as the default value for the purpose of labeling. It's a small modification to your current code that would give magnitude based labeling when it's possible and at the same time provide a fallback for nebulae with no absolute magnitude specified.
t00fri wrote:chris wrote:...
So we should check to see if an absolute magnitude has been specified for the object. If not, then we use -8 as the default value for the purpose of labeling. It's a small modification to your current code that would give magnitude based labeling when it's possible and at the same time provide a fallback for nebulae with no absolute magnitude specified.
To retain precisely THAT option was the technical reason why I coded the label opacity formally with AbsMag as a parameter for all 3 DSO members. But further thoughts and discussions over the weekend made clear that a pure distance dependence (i.e. AbsMag=const) is for various reasons the preferrable approach for nebulae and clusters. That's were we actually spent our time on...
I really did a lot of work to investigate this issue in detail, I made distributions of hundreds of respective catalog objects wrto distance and magnitude and studied practical AND physical arguments. Some you can find in this thread.
Sorry, I am NOT going through all this again NOW.
Actually, I don't really care: either you give green light for me to commit that code in render.cpp as IS, such that we can AT LAST continue to work on the label colors more effectively,
or you do whatever you please...and I continue to work on my other projects.
In any case --as Cham also emphasized above-- nebulae like planets, comets etc. need special consideration. In case of planets, for example, the definition of apparent and absolute magnitudes is DIFFERENT from the usual one. One has to include the phase angle, for example. So no "holy universality" anywhere.
In your code for the fading labels of solar system (non-emissive) objects you also chose another dependence instead of mere apparent magnitude. So why all this resistance in case of nebulae that are also special and --unlike galaxies-- comparatively nearby?
Your formula was something like
opacity ~ bounding radius/distance
Yes and there is some relation of the body's radius to AbsMag. That's OK, but also NOT what I used for galaxies, for example.
BUT SO WHAT. Isn't the main point really to avoid label over- cowdedness as function of FoV and to create a nice 3d impression?? After all, my original fading label code is nothing but a close relative of my old code to avoid overlapping location labels on Earth, Moon, Mars, Venus and of the code implementing the automag.
selden wrote:There certainly are times when one would like to have particular labels visible at all times. A DSC and/or SSC object of type Label might be appropriate for this.
chris wrote:..
I see the main point of labels to be identifying what is visible, not in creating a 3D impression. So my big concern is that labels for prominently visible objects may have their labels omitted because they happen to be far away. What about the NGC 2070 (The Tarantula Nebula), which from Earth is quite a bright nebula despite the fact that it's located off in the LMC?
--Chris
t00fri wrote:...
This undisputable complexity speaks once more for a more simplistic approach: just distance. As Christophe repeatedly pointed out, one should see the label brightness as providing ADDITIONAL information about the object rather than the same as the object rendering itself...
ElChristou wrote:If nothing else is possible ok, but Chris is right in wanting to preserve the essence of the label -> to give a name at what is visible.
...
Cham wrote:If we want to progress, at least by some small steps, we should use Fridger's suggestion for some time, until the dev team finds something better. Thus I suggest to use the distance dependance, so we could close that lenghty discussion. Since this isn't a huge code change anyway, it could be corrected at a later stage. During that time, the user could benefit from a usefull (and beautifull) feature, until something better comes.
I can't understand Chris hesitations about that.
Check in your code as it is, for now. I'll step back from my stance that we absolutely shouldn't use distance based fading for nebula labels...