New sprites based nebulae
Re: New sprites nebula (from old)
Finally - then I no longer bother you - do you have developed some algorithms for pillars? Now they can be nested on with easyness. Recall that there is also the propriety "blend premultiplied" which is a bit more tricky to set, since it "darken" the blending.
Never at rest.
Massimo
Massimo
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula (from old)
And here's another one I like very much. I'll use it somewhere (around a black hole, a white dwarf or something else...) :
Here's the model (use the same texture file as for the other models) :
Here's the model (use the same texture file as for the other models) :
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula (from old)
Here's a small resolution of a nebula of the same style as the previous one. Small on disk, small in memory and higher frame rate...
Model (without its PNG texture file...) :
Model (without its PNG texture file...) :
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
Re: New sprites nebula (from old)
Fenerit wrote:Cham, first I apologize for the inconvenient but I solved that several months ago and I didn't recall it.
The "color f3" must be "color0 f3". This is undocumented on Wiki's example.
I have fixed the typo in the example.
It already was correct in the section "BN description of CMOD fomat"
Reminder: anyone can fix problems or add new information to the Celestia WikiBook.
Selden
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula (from old)
These look like some real pictures from space
Just add a nebula model inside Celestia's globular clusters (47 Tuc, for example) and it will give you some truly spectacular views !
This is not a texture pasted on a flat billboard !
Just add a nebula model inside Celestia's globular clusters (47 Tuc, for example) and it will give you some truly spectacular views !
This is not a texture pasted on a flat billboard !
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula (from old)
That one is a pure beauty ! Sadly, the impact on the frame rate is a bit high
The problem in this case is not the number of sprites (total of 3000 sprites, which is similar to most other nebulae presented before). The sprites are just bigger, so there is more overlapping of sprites and Celestia has to calculate the effect of all the superpositions (transparency, colors, ...). This has an impact on the frame rate.
My Mathematica generator has now 20 parameters to play with ! It's very hard to predict the results now. Trial and error is the only way to get nice looking nebulae. If only I could reload the models in Celestia without having to restart it, it would be extremely fast, since Mathematica is writing the CMOD file directly in its proper models directory.
The problem in this case is not the number of sprites (total of 3000 sprites, which is similar to most other nebulae presented before). The sprites are just bigger, so there is more overlapping of sprites and Celestia has to calculate the effect of all the superpositions (transparency, colors, ...). This has an impact on the frame rate.
My Mathematica generator has now 20 parameters to play with ! It's very hard to predict the results now. Trial and error is the only way to get nice looking nebulae. If only I could reload the models in Celestia without having to restart it, it would be extremely fast, since Mathematica is writing the CMOD file directly in its proper models directory.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula (from old)
Here's a good compromise for the previous model. 1500 sprites and the frame rate cost is less severe.
Here's the model itself :
I strongly suggest to use the models as SSC objects, instead of DSC. As a DSC object, the nebula will leave a luminous dot on screen, when the nebula is seen from a long distance. I think this is a limitation of the sprites implementation in Celestia.
If you use the models as DSC object, I suggest that you make them invisible by default, and then use a scripted switch ("layer") to toggle the nebulae ON/OFF.
Here's the model itself :
I strongly suggest to use the models as SSC objects, instead of DSC. As a DSC object, the nebula will leave a luminous dot on screen, when the nebula is seen from a long distance. I think this is a limitation of the sprites implementation in Celestia.
If you use the models as DSC object, I suggest that you make them invisible by default, and then use a scripted switch ("layer") to toggle the nebulae ON/OFF.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula (from old)
And a red-yellow one :
The model :
Feedback would be appreciated. Rendering quality, frame rate, etc. Critics.
The model :
Feedback would be appreciated. Rendering quality, frame rate, etc. Critics.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
Re: New sprites nebula (from old)
Hi, with 4k sprites lonely in the space I do not had problems (shell10 was 4K), and my system is a bit out of date; maybe the sprite nebula inside 47 Tuc is problematic because there is also the globular cluster to calculate superimposition.
Never at rest.
Massimo
Massimo
Re: New sprites nebula (from old)
Cham, do you are aware that your "beauty" nebula is the Helix nebula with other colors?
Never at rest.
Massimo
Massimo
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula (from old)
Fenerit wrote:Cham, do you are aware that your "beauty" nebula is the Helix nebula with other colors?
Yes, and I tried to reproduce it with more appropriate colors. It failed, since the blobs disposition is mostly random at each Mathematica pass. I'll try again later today.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula (from old)
Some variations ...
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula
Supernova remnant :
Model for Celestia :
Model for Celestia :
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites nebula
O well,
I just had the idea to replace my old pulsar jets :
I just had the idea to replace my old pulsar jets :
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
Re: New sprites based nebulae
I like these pictures, is very persuasive. Better than the picture-based illustrations I think.
Reasons the CMOD's solely on mathematical calculations (equations?) Or is a subsequent alteration possible?
In other words: can everyone do this work (with Mathematica) or requires it a profound mathematical knowledge?
I'm thinking about a representation (with these sprites) of an atmosphere of hot Jupiters (like Pegasi/b...)
Michael
Reasons the CMOD's solely on mathematical calculations (equations?) Or is a subsequent alteration possible?
In other words: can everyone do this work (with Mathematica) or requires it a profound mathematical knowledge?
I'm thinking about a representation (with these sprites) of an atmosphere of hot Jupiters (like Pegasi/b...)
Michael
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites based nebulae
An accretion disk (high temperature) prototype :
Yes, the models are highly mathematical in origin. While a user wihout any knowledge on maths could in principle use the Mathematica file, by just changing the 20 parameters in the code's header and test the models in Celestia, it wont be very practical without knowing what he's doing with the parameters !
These models cannot be done without maths knowledge, unfortunately.
MiR wrote:Reasons the CMOD's solely on mathematical calculations (equations?) Or is a subsequent alteration possible?
In other words: can everyone do this work (with Mathematica) or requires it a profound mathematical knowledge?
Yes, the models are highly mathematical in origin. While a user wihout any knowledge on maths could in principle use the Mathematica file, by just changing the 20 parameters in the code's header and test the models in Celestia, it wont be very practical without knowing what he's doing with the parameters !
These models cannot be done without maths knowledge, unfortunately.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
Re: New sprites nebula (from old)
selden wrote:Fenerit wrote:Cham, first I apologize for the inconvenient but I solved that several months ago and I didn't recall it.
The "color f3" must be "color0 f3". This is undocumented on Wiki's example.
I have fixed the typo in the example.
It already was correct in the section "BN description of CMOD fomat"
Reminder: anyone can fix problems or add new information to the Celestia WikiBook.
I see your post only now. Thank you Selden for fixing the typo. Yes, indeed was the description that led me to the solution.
---------------------------------------------------------------------------------------------------------------------------------------------
MiR wrote:I like these pictures, is very persuasive. Better than the picture-based illustrations I think.
Reasons the CMOD's solely on mathematical calculations (equations?) Or is a subsequent alteration possible?
In other words: can everyone do this work (with Mathematica) or requires it a profound mathematical knowledge?
I'm thinking about a representation (with these sprites) of an atmosphere of hot Jupiters (like Pegasi/b...)
Few years ago I made an experiment to warm an exoplanet with sprites. It is always a prototype, but you can take a look.
http://shatters.net/forum/viewtopic.php?f=6&t=12921
---------------------------------------------------------------------------------------------------------------------------------------
Cham wrote:Yes, and I tried to reproduce it with more appropriate colors. It failed, since the blobs disposition is mostly random at each Mathematica pass. I'll try again later today.
There is a way for the generator to costraint the parameters along the world-axis? That is: something that bound the randomization in way that it start from centre and go toward the external, instead of be globally scatterd from start? (if I've well-understood the issue).
Never at rest.
Massimo
Massimo
-
Topic authorCham
- Posts: 4324
- Joined: 14.01.2004
- Age: 60
- With us: 20 years 10 months
- Location: Montreal
Re: New sprites based nebulae
This experiment turned into a bad model. However, it is stunning, as seen from a particular angle :
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"