maxim wrote:That's the first time I looked at the galaxy stuff, and I'm deeply impressed.
Not only MUCH better than the old representation, but also MUCH faster, even on my small MX card. And much more realistic of course.
VERY NICE!
So, as every time when I'm impressed, my brain starts bubbling and wildly generating ideas on the stuff. So here they are (ignore them if you find them idiotic):
- How about letting the code choose randomly from a /number/ of hubble class models, so the galaxies don't all look the same inside one class?
- How about letting the code interleave 2 or 3 'half-models' so the galaxies apear really unique, even within one type?
- How about allowing the 'deepsky.dsc' entries to contain a reference to a specific .pts file, so that a talented and ambigious modeler can model an exact .pts version of a certain galaxy without beeing bound to the now oldfashioned billboard method?
- As I understand, every line in the .pts file correspondents to the coordinates of a small glowing blob of the viewed model - it may be x,y,z and size/brighness. So how about allowing a negativ forth value, indicating a /dark/ blob, so dark bands of matter could be also modeled inside galaxies?
- Theoretically, having galaxies represented as a bulk of particles with defined coordinates, it should be possible to build an educational showing for example the evolution of a galaxy - streching and thinning of arms while it is rotating - /if/ the coordinates could be manipulated via script access. Any chance?
Well, so far about some brainstorming.
maxim
Maxim,
before any further discussion, you should realize that each template presently adds 250-300KB of filesize. So our minimum of 7 amounts to additional 2MB. Moreover my "kingsize" deepsky.dsc is 5MB. In addition, we will be doing gaseous nebulae and globular clusters with a similar approach and large size catalogs....
We may assume that we save a factor two, by turning all this in binary format. But nevertheless, you can see the generic problematics.
If the Celestia default archive becomes too large for downloading, we have a real problem.
Now, instead of randomizing, my proposal was some time ago rather to get back to the
modern extended Hubble class scheme which involves many more subclasses and is used by the professional galaxy catalogs.
So instead of randomness, we would put in substantially more /information/ content instead, adding extended Hubble templates! The effect would be almost identical, since the number of subclasses is pretty large. You see, in my PERL scripts, I spent a lot of work to reduce the quoted extended Hubble classification to the simple one. I.e. the extended information is there, waiting to be used!
As to allowing for a specific .pts file per galaxy, this was actually the first approach. But we felt after some discussion that for a start, things remain more compact and also more elegant with just 7 templates for 10000+ galaxies
. But introducing such a possible .pts file per galaxy is really simple and the code even exists already!
In all future modifications we have to be EXTREMELY concerned about speed! Even small amounts of slowdown may easily add up to big undesired effects if we are not extremely careful, due to the LARGE numbers of objects involved.
Bye Fridger