Kolano wrote:We associate an image with a point sprite set, with each point representing a galaxy. I'd presume images would be selected as other content in Celestia is, taken from various space agency sources. We could also capture generic galaxy type images via your galaxy code.
The problem is that such images would look the same from all directions. I don't think the effect would be very convincing. But if you did want to just have 2D images, it would be possible. You could have a point sprite cmod file divided into groups by galaxy type, with each group getting a separate sprite image. But, I just don't know if the data is there to do this.
t00fri wrote:But one has to be EXTREMELY fast when rendering so many galaxies. It has NOT been proven yet that the speed is sufficient when I get CLOSE to extended galaxy structures.
I'll upload the point sprite cmod with > 500,000 SDSS galaxies tonight. It's viewable on my GeForce 8800 at 60fps from any point.
One thing I'd like to hear from Chris would be how point sprites compare performance-wise to Selden's cmod galaxy add-ons. I think the point sprite galaxy data recently converted from that other space simulator may be comparable.
It renders just as quickly.
t00fri wrote:Remember, galaxies are 3d objects. So we can't simply suspend a 2d image to points.
Though ideally we would have a full 3d structure for each galaxy, we can "simply suspend a 2d image to points". I'd rather have them represented that way than not have them. We already make this compromise for other complex structures like nebula (though I guess this thread started out proposing a way of addressing that).
I guess my preference is not to just use a 2D image. But with the latest Celestia from CVS, you should be able to create such a model yourself, to what ever degree available data will allow.
There are some more sophisticated things we could do with shaders. With point sprites, you are not just restricted to drawing a simple textured square. A basic volume tracing algorithm could be implemented in the shader, allowing each galaxy to be represented as a fuzzy, oriented ellipsoid. It could be extremely fast, but again, I don't know if available data warrants the effort.
--Chris