New addon in the work

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

New addon in the work

Post #1by Cham » 15.02.2013, 20:00

Since an interesting experiment I made this morning, I'm developping a new addon with sprites based models.

Three stars are located inside the NGC 404 galaxy (see the stellar distribution that I published there : viewtopic.php?f=23&t=16626). These stars aren't part of the stellar distribution that I published, so both addons are independant of each other.

Here's a preview of the stars inside that galaxy, distributed in a region of a few light years. They are part of a large "primordial" nebula (not shown yet).
capt0.jpg


For the moment, they are G1 stars, and I don't know yet which kind of stars they should be (any suggestion ? Spectral class, size, ...).

There's an accretion disk, jets and a gaz bubble around each one of them, like this (click on the picts to get a larger view) :
test1.jpg


test5.jpg


The frame rate may be a bit slow in Celestia, depending on the view. Adding the large "primordial" nebula will certainly have a large impact on frame rate. So I'm not sure I'll keep it in the final addon.

I'll probably release a test (beta) version tonight or tomorrow.
"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!"

Avatar
Topic author
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: New addon in the work

Post #2by Cham » 16.02.2013, 01:09

I'm back home, and the addon is already almost finished. I'll try adding the "primordial" nebula.
Three previews :

protoA.jpg


protoB.jpg


ProtoC.jpg
"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!"

Avatar
Topic author
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: New addon in the work

Post #3by Cham » 16.02.2013, 01:50

Here's a beta version for you to test. Tell me what you think...

http://fsgregs.startlogic.com/Public_Fi ... NGC404.zip (4.8MB zip file)

The three stars are named "St proto A", "St proto B" and "St proto C".
"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!"

Avatar
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Re: New addon in the work

Post #4by selden » 16.02.2013, 03:35

They look great! And I get a reasonable performance looking at them on my laptop.
Selden

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 12
With us: 12 years 4 months
Location: Thyrrenian sea

Re: New addon in the work

Post #5by Fenerit » 16.02.2013, 05:49

Very fast on my (old) system. Beautiful. 8) I've seen pointsize are centesimals: do you have tried with lesser values? It is faster even with more points (to map the reduced areas)?

proto_c.jpg
Never at rest.
Massimo

Avatar
jogad
Posts: 458
Joined: 17.09.2008
With us: 10 years 11 months
Location: Paris France

Re: New addon in the work

Post #6by jogad » 17.02.2013, 18:09

Hi,

I have a problem with this addon:
This is St Proto A at different distances

I can see only points but no glow at all :(

ProtoASnap1.jpg


ProtoASnap2.jpg


protoASnap3.jpg


8O

Avatar
Topic author
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: New addon in the work

Post #7by Cham » 17.02.2013, 19:08

You need to use the OpenGL 2 render path for the sprites. Try control-V several times until you get the proper rendering path.
Or maybe your video card is too old, or need a driver update ?

Sprites are pretty standard, now.
"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!"

Avatar
Topic author
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: New addon in the work

Post #8by Cham » 17.02.2013, 19:36

olyv wrote:I think that opengl 2 doen't work on ATI cards. :(

On my old Mac G5 with an ATI card (now defunct), sprites were working. I believe you need a driver update.

Today, even with AMD (ATI) cards, sprites are a standard technique.
"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!"

Avatar
jogad
Posts: 458
Joined: 17.09.2008
With us: 10 years 11 months
Location: Paris France

Re: New addon in the work

Post #9by jogad » 17.02.2013, 20:04

Oh, sorry :oops:
Stupid me! The open GL2 was not active. :oops: :oops:

The addon works as expected, with beautiful colors, and with no impact on the framerate :D

Very nice
:D

Avatar
Topic author
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Re: New addon in the work

Post #10by Cham » 24.02.2013, 15:40

I edited the shell model for the third system (St proto C). The nebula was too blurry. I strongly suggest that you use this new version instead (details are less blurry) :

shell22_sprites.cmod.zip


Just replace the old file by this one. It's the same model except that I reduced the individual sprite size to 75% (and increased the global opacity a bit). Here's a comparison of both models :

Previous version
old.jpg


New version
new.jpg
"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!"


Return to “Add-on development”

Who is online

Users browsing this forum: 3 guests