New Celestia 1.4 FT1.2ish OS X Build 11-16-2005

General discussion about Celestia that doesn't fit into other forums.
Topic author
BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

New Celestia 1.4 FT1.2ish OS X Build 11-16-2005

Post #1by BlindedByTheLight » 16.11.2005, 11:36

Here you go again... hot off the presses from Fridger and Toti. This is essentially a straight compile from their source code.

Available at:

http://www.stevenbinder.net

As usual, I added Doctorjoe's great GOTO spacecraft start-time patch. Just select, say Mir (which isn't viewable in the present day) and then hit shift-G and you will be brought there in BOTH time and space.

Also as usual, I added keyboard short-cuts to toggle specific orbit lines.

I did NOT clean up the menu bars... that's a lot of work for still essentially a beta release. But I'll get to it next time.

If you want to read more about what's been fixed:

http://celestiaproject.net/forum/viewtopic.php?t=8334

That's probably a good place to post any bugs. If you're SURE something is Mac OS X specific, then post it here. Otherwise... in F&T's thread. Remember, as I have stated numerous times, I really have NO idea what I'm doing. Don't be fooled by the fancy words I'm using (like "compile")... the experts here know the truth. I am clueless - though I think they would give me an 'A' for effort... :)
Last edited by BlindedByTheLight on 16.11.2005, 21:30, edited 1 time in total.
Steven Binder, Mac OS X 10.4.10

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #2by ElChristou » 16.11.2005, 18:45

Tx Steven!
Image

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 7 months
Location: Leiden, The Netherlands

Post #3by julesstoop » 16.11.2005, 20:30

Almost forgot to say "thank you!" ;)
It's working fine, it seems from a small preliminary test run.
Does anyone have an idea if the Open GL2 renderpaths would be fixable in the near future?
They are available on my machine (PowerBook Al with 64MB 9600, 10.4.3), but produce a very 'silly' result.
Lapinism matters!
http://settuno.com/

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

Post #4by selden » 16.11.2005, 20:37

Jules,

My understanding is that the OpenGL v2 render path works fine on Windows and Linux systems (except for the bug in the current Nvidia drivers for Windows). This suggests that the problem is in the MacOs graphics drivers provided by Apple.

Could you provide an example of the "silly" result?
Selden

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 7 months
Location: Leiden, The Netherlands

Post #5by julesstoop » 16.11.2005, 23:36

I think you are right that it's probably Apple's Open GL implementation.
Anyhow, it only seems to happen with planets and I've posted screenies from Mars and Saturn.

Note that mars is sunlit from about 3/4 of the front. On the Sarturn shot, the nightside is where the bright white part is on the right side. The squarish parts on the bottom-front of Saturn are continuously shifting (about 4 times a second)

Thanks for taking a look Selden.
Lapinism matters!
http://settuno.com/

Topic author
BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #6by BlindedByTheLight » 16.11.2005, 23:46

If I'm not mistaken, Apple only has drivers that support OpenGL 1.5 - at least on my ATI card that's the case.
Steven Binder, Mac OS X 10.4.10

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 7 months
Location: Leiden, The Netherlands

Post #7by julesstoop » 17.11.2005, 07:30

Obviously but unfortunately you might be right.
Still realtech's OpenGL extensions Viewer tells me 10.4.3 supports most of the Open GL 2.0 spec.
Besides, I recall clearly that the Open GL 2 renderpaths in Celestia were not available with previous versions of the Mac OS. These two facts led me to believe that open GL 2.0 support had finally landed in OS X..
Lapinism matters!
http://settuno.com/

Topic author
BlindedByTheLight
Posts: 485
Joined: 19.03.2005
With us: 19 years 8 months
Location: Los Angeles, CA

Post #8by BlindedByTheLight » 17.11.2005, 22:44

Then perhaps, though the OS can now handle 2.0, actuall support is graphics card driver specific? So I have ATI to blame, then?
Steven Binder, Mac OS X 10.4.10

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 7 months
Location: Leiden, The Netherlands

Post #9by julesstoop » 18.11.2005, 07:20

The errors I experience (see the screenshots posted above) are reminiscent of other but similar Open GL-related errors on OS X which seem to occur when the GPU is short on VRAM. I don't recall if they were ATI-specific, but I remember speculation that they might have something to do with Apple using the GPU and VRAM for the GUI, alongside any Open GL app that might happen to be running.
Anyway, Apple is probably to 'blame' in both cases.
I have to say though that Celestia is the only application I have experienced Open GL related errors with on OS X.
Lapinism matters!
http://settuno.com/

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #10by dirkpitt » 21.11.2005, 01:53

julesstoop wrote:The errors I experience (see the screenshots posted above) are reminiscent of other but similar Open GL-related errors on OS X which seem to occur when the GPU is short on VRAM. I don't recall if they were ATI-specific, but I remember speculation that they might have something to do with Apple using the GPU and VRAM for the GUI, alongside any Open GL app that might happen to be running.
Anyway, Apple is probably to 'blame' in both cases.
I have to say though that Celestia is the only application I have experienced Open GL related errors with on OS X.


That's true. Anyway, good news: I've verified via test code that GLSL shaders can now run in the default hardware-accelerated pixel format meaning the OS X builds should be able to access the GL 2.0 render path with small changes to the source code.

Unsupported hardware (e.g., Radeon 9200) may be able to render GLSL features using slow, software emulation (partially accelerated with altivec) while cards that can do fragment shading (e.g., my Radeon 9700) may be able to render some or all GLSL stuff fast.

I'll try to do a test with Celestia soon.

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 7 months
Location: Leiden, The Netherlands

Post #11by julesstoop » 21.11.2005, 07:02

That's good news indeed Dirk, thanks for sharing it!
Lapinism matters!
http://settuno.com/

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years 1 month

Post #12by dirkpitt » 21.11.2005, 17:49

Hmmm.. GLSL seems to be broken for me as well. I compiled fresh from CVS and I too get the "butterfly" effect on my planets (you'll see the same characteristic pattern if you paste the shader code into Apple's Shader Builder program too). No bright-red error shaders either. I'll file a bug report with Apple. Why every single driver update and bug escalation has to go through Apple is beyond my comprehension, especially since it makes no difference in code quality...


Return to “Celestia Users”