Black Hole 108 Nebula - new add-on

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 5 months
Location: Manassas, VA

Black Hole 108 Nebula - new add-on

Post #1by fsgregs » 11.11.2004, 00:40

Hi folks:

I have created a new add-on for use in one of my educational activities. It depicts a fictional Black Hole imbedded in the remnants of a supernova explosion. Surrounding the black hole is an x-ray/visible light glow from nebula material still falling into the hole after thousands of years of expansion from the original supernova that created the hole. There is not enough material left to create an accretion ring or set of polar jets.

The add-on is nice because I have used Jestr's wonderful 3D nebula to serve as the supernova remnants, and imbedded the black hole in its middle. As such, you can fly through the nebula on your way to the black hole. Here is a screenshot:

Image


To visit the hole, press the [enter] key, type "HIP 600108". press [enter] again and [G] to go there. To visit the supernova remnant (Black Hole nebula), type "Black Hole nebula" instead.

I have the Black hole 900 ly from Earth. As such, the nebula is just visible in the night sky from Earth. If you want it more obscure, open/edit the dsc file and stc file that comes with the add-on, and change the distance entry from "900" to any larger number you wish.

The add-on is available on the Motherlode in the "Fictional"/planets section.

Enjoy

Frank
Last edited by fsgregs on 11.11.2004, 14:35, edited 2 times in total.

bh
Posts: 1547
Joined: 17.12.2002
With us: 22 years 3 months
Location: Oxford, England

Post #2by bh » 11.11.2004, 08:58

Nice one Frank...

Regards...bh.

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 5 months
Location: Germantown, Ohio - USA

Post #3by Bob Hegwood » 11.11.2004, 22:09

Frank,

Absolutely beautiful work, but a bit too much for my under-powered
machine. :wink:

A question though... Is there any way I can modify the models to use
JPG textures rather than DDS? Simply can't use the DDS format here.

I have Anim8or and a couple of other modeling programs, but I don't
know BEANS about how to use them to attach textures. Can this be done?

Just curious.

Thanks, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1

Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 5 months
Location: Manassas, VA

Post #4by fsgregs » 11.11.2004, 22:57

Bob:

The slowdown is due to the nebula meshes. My black hole is simply a black sphere with a violet atmosphere and should be using almost no RAM.

I took two of Jestr's three 3D Scorpio nebula add-ons (the blue one and the red one) and loaded them both in the same place, so that one overlaps the other. The result is a multicolored nebula. If you are seeing a slowdown, simply open the Black Hole dsc file and delete one of the two listed nebula. The top one (sigsco.cmod) is red. The bottom one (Rho Oph.cmod) is blue. Take your pick. Be sure to remove or comment out all the lines. If you delete the top one, you have to rename the bottom nebula to "Black Hole Nebula".

Jestr did these nebula add-ons. I doubt that you can change the dds name to a jpg texture instead. However, he released the same nebula in a png version. It is in the Motherlode creaters page. Here is the link.

http://celestiamotherlode.net/creators/jestr/ScorpioNebulae_PNG.zip

There is a neat shortcut way of getting multicolor out of only one of Jestr's nebula. Here's what you do.

Download the png texture add-on above and upzip. Locate the red and the blue png textures in Jestr's add-ons. There will be eight red and eight blue textures, corresponding to the Sigsco.cmod and RhoOph.cmod meshes that he uses. Copy/paste the meshes into the models folder of my Black Hole Nebula add-on. Then, copy the red and the blue png textures from Jestr's two nebula into the medres folder of the Black Hole Nebula add-on.

In the textures file of the Black Hole Nebula add-on, you will find eight blue and eight red dds textures and eight blue and red png textures. To use only one nebula mesh, delete the Rho Oph.cmod nebula entries in my dsc file. That will leave my dsc file loading only one nebula, which uses the sigsco.cmod mesh. That mesh calls up the eight red textures. Now, decide if you want to use dds or png files and change the name of the red1, red3, red5 and red7 textures to red1-s, red3-s, red5-s and red7-s. This will save them under a different name. Then, change the name of the blue1, blue3, blue5 and blue7 textures to red1, red3, red5 and red7.dds or png. Now, when you go to the Black Hole nebula, you will see only the sigsco mesh being displayed, but it will call up 4 red colors and 4 blue colors in it. It will be almost as good as having both nebula meshes displayed, but it will run quicker, since there is only one nebula displayed.

That should do ya!!

Enjoy

Frank

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 7 months
Location: NY, USA

Post #5by selden » 11.11.2004, 23:15

Several modern freeware image viewers can load DDS images and save them as JPEG. I happen to use Infranview.
Selden

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 5 months
Location: Germantown, Ohio - USA

Post #6by Bob Hegwood » 12.11.2004, 02:57

fsgregs wrote:The slowdown is due to the nebula meshes. My black hole is simply a black sphere with a violet atmosphere and should be using almost no RAM.
Frank,

I appreciate all the information, but that's not my problem. I can use
the Liight Version of the Black Hole, but - as I mentioned - my system
cannot make use of DDS textures.

I didn't thnk that I could just change the DDS files to JPG files and have
the add-on work correctly. If I use the JPG format, I have to be able to
marry them to the models don't I?

Selden wrote:Several modern freeware image viewers can load DDS images and save them as JPEG. I happen to use Infranview.


Again, this is not my problem, Selden. I can also view and convert DDS
textures via Irfanview, but Celestia displays absolutely nothing when I
try to use a DDS texture from within Celestia. Don't know why this is,
but it has always been a problem on my machine. Perhaps the Intel
82815 graphics controller?

At any rate, I can make my own jpg textures from the models in Frank's
packages, but I don't know how to associate them with the 3DS or CMOD
models.

Can anyone tell me how to do this?

Thanks, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 7 months
Location: NY, USA

Post #7by selden » 12.11.2004, 04:42

Bob,

Neither Intel's nor Microsoft's software-only drivers understand DDS format. *grump*

If the author of the model explicitly specified the texture image file type within the model, then you'll have to edit the 3DS and/or CMOD model to change the filetype from DDS to either * or JPG. A * will let you provide files of any of the formats that Celestia supports without editing the model again.

I use Emacs to edit binary model files. You can use a hex editor if you want. Celestia is generous enough that you can change the length of the filespec within the model and it'll still work. 3D modelling software won't accept those models again, though.

Does this help?
Selden

Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 5 months
Location: Manassas, VA

Post #8by fsgregs » 12.11.2004, 21:16

Bob, as mentioned in my prior post, Jestr has released the add-on as in a PNG file version. You can use this just fine. It has to be PNg because it contains some transparency to it.

See the above link.

Frank

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 5 months
Location: Germantown, Ohio - USA

Post #9by Bob Hegwood » 12.11.2004, 22:42

selden wrote:Neither Intel's nor Microsoft's software-only drivers understand DDS format. *grump*
Yes, I figured that much out already. :lol:

selden wrote:You can use a hex editor if you want...
Does this help?

Yes. Thanks once again, Selden. Did not realize that I could simply
change a pointer in the model. Great stuff.

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 5 months
Location: Germantown, Ohio - USA

Post #10by Bob Hegwood » 12.11.2004, 22:46

fsgregs wrote:Bob, as mentioned in my prior post, Jestr has released the add-on as in a PNG file version.

Thanks very much, Frank. Have already been there. :wink:
Thanks also for the patient explanation of what to do with the thing. I
appreciate it.

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

jromer
Posts: 33
Joined: 20.08.2004
With us: 20 years 7 months
Location: Columbus, Ohio

Post #11by jromer » 13.11.2004, 05:21

I installed this add-on (the "light" configuration) in both the WinXP version and the Linux version (newest driver 1.0.6629). In Windows the addon displays great but the linux version shows the nebula as a white geometric shape. Any suggestions from anyone using Linux?

Also I don't know how to attach an image to these posts.


[img]file:/home/jon/Desktop/Black_Hole_Nebula.png[/img]
2.8G P-4 512k NVidia FX-5200
Celestia 1.4.1 running on WinXP (NVidia 61.77)
Celestia 1.4.1 running on Ubuntu6.06 (kind of...)

maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years 4 months
Location: N?rnberg, Germany

Post #12by maxim » 15.11.2004, 17:08

jromer,

you can't include images from your local disk. You have to store them on a Webserver or Webspace first. They are reloaded from there for every call of your post.

maxim

Avatar
piellepi M
Posts: 124
Joined: 25.09.2003
Age: 69
With us: 21 years 6 months
Location: Rome, Italy

Post #13by piellepi » 16.11.2004, 16:51

Hi Celestians!
I have a strange problem: instead of a black hole I witness a completely new object, a white hole :oops: :( :o 8O
Could you please provide a url so that I am sure I don't do anything wrong: all the other add-ons rarely give me problems so I can't understand what's happening now.
If you want, I'll send a picture from my system at home (now I'm at work...).
I have a ATI 9600 graphic card.
Cheers

Pierluigi

Avatar
piellepi M
Posts: 124
Joined: 25.09.2003
Age: 69
With us: 21 years 6 months
Location: Rome, Italy

Post #14by piellepi » 17.11.2004, 13:52

Hi again!
Here is what I obtain if I travel to the Black Hole

Image

The disk is rapidly spinning but is white!

What do you think about?
It doesn't seem to be a graphic card problem, because what I see is a texture : in fact there are spots on it.

Ciao
Pierluigi

Avatar
Jeam Tag M
Posts: 540
Joined: 01.04.2003
Age: 60
With us: 22 years
Location: Southern suburb, Paris, France

Post #15by Jeam Tag » 18.11.2004, 08:46

piellepi wrote:Here is what I obtain if I travel to the Black Hole
The disk is rapidly spinning but is white!
Hello, I just want to say that I've seen the same thing, some days ago... with Celestia v140pre5: but now I have re-installed v132final, and it seems to work fine. Jeam
Catalogue des ajouts /Catalog for the Add-Ons in French
...PAGES LOSTS, SORRY

Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 5 months
Location: Manassas, VA

Post #16by fsgregs » 19.11.2004, 23:57

Hi folks:

I have not installed 1.4.0 on my system. I am afraid to. The new version seems to be full of changes and bugs. I hope Chris is reading some of these problems. Please repost this latest bug also in the Bugs forum. Chris needs to know this is happening.

The Black hole is simply a "planet" colored with a pure black texture (black-hole-black.jpg) that is centered on a fictional star (HIP 600108), with a diameter just slightly larger than the star, and with a semi-major axis of zero. In other word, it overlays the star.

I have NO idea why it would not display properly in 1.4.0, or what may have changed in the code of the new version that would make it happen. Planet textures are a fundamental part of Celestia. Perhaps Chris could explain it. Certainly, it needs to be fixed.

One thing you can try is to back away from the star a bit. Perhaps the black hole texture is "behind" you now, due to some change in 1.4.0. See if viewing the star from a further distance restores the black hole.

Sorry I cannot be more help. I suggest you uninstall 1.4.0 and reinstall 1.3.2, until all of these new bugs can be removed.

Regards,

Frank

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 5 months

Post #17by dirkpitt » 20.11.2004, 02:26

A fix that works for me is to edit black_hole_108.stc, and change the SpectralType to "X" (from "Q"). It should work in 1.4.0, but I don't know if it works in 1.3.2. I must admit I was a little puzzled by why the black hole was specified as a neutron star (Q-type) and not the black hole X-type.

Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 5 months
Location: Manassas, VA

Post #18by fsgregs » 20.11.2004, 03:47

Spectral type X does not work in 1.3.2. If you type it in and launch Celestia, you wind up millions of light years away in what looks like the center of dark matter.

Spectral type "Q" is the closest thing to it.

I did not know that 1.4.0 provides for a new "X" class. Does it just draw a black sphere?

:?: :?: Frank

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 7 months
Location: NY, USA

Post #19by selden » 20.11.2004, 12:16

Frank and Dirk,

Don't forget that you can have more than one version of Celestia on your system at the same time. You just need to have them in different directories.

Rename the directory that contains the "old" version of Celestia to be something different, e.g. Celestia140p6, and then install the "new" version into the directory named Celestia. This causes Cel:// URLs and desktop icons to always point to whatever version is in the directory named Celestia. Just rename the directories again to make the URLs invoke a different version of the program.
Selden

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 7 months
Location: NY, USA

Post #20by selden » 20.11.2004, 12:26

Unfortunately I don't know if Chris will be able to fix the black hole problem, assuming that it's a problem in Celestia and not a bug in the model description.

Please remember that Chris does not have and does not know where to find most of the Addons. If you have a problem with one of them, you have to provide a very simple but complete example of how to install the failing Addon and how to make it do the wrong thing.

When I report a problem, I usually create a zip file that contains the necessary models, etc, as well as an HTML file that contains Cel:// URLs to take you to the failing viewpoints. This makes it easy to recreate the failure: drag to extras, open HTML file, click on URL.

(Hmm. Since many people don't have convenient access to a Web server where bug zip files can be uploaded, it seems to me that it might be appropriate for the Motherlode to provide such a place I'll suggest that. It might not happen, though.)
Selden


Return to “Add-on development”