Posts by astro
- 11.04.2013, 12:53
- Forum: Development
- Topic: patch for more JPL DE-style ephemeris support
- Replies: 4
- Views: 12592
Re: patch for more JPL DE-style ephemeris support
Hi I tested the patch on Windows MS VC++, it works well, but I assume following code in the patch: else if ((deNum>(1U<<15)) and (deNum2>=200)){ + // DE ephemeris with different endianess + eph->swapBytes=true; + eph->DENum=deNum2; + } + else if ((deNum<=(1U<<15)) and (deNum>=200)){ should be: else...
- 01.04.2013, 12:25
- Forum: Scripting
- Topic: ScriptedOrbit: what's wrong with this script? [Solved]
- Replies: 3
- Views: 10822
Re: ScriptedOrbit: what's wrong with this script?
Hi, Coordinates system is not oriented in the same way for Scripted Orbits and script functions. :evil: Instead the obvious (but wrong) return x,y,z instruction for the result of the orbit:position() try rather: return x, -z, y :mrgreen: Thank you. It works now. Astro, Are you aware of my Lagrange ...
- 31.03.2013, 17:00
- Forum: Scripting
- Topic: ScriptedOrbit: what's wrong with this script? [Solved]
- Replies: 3
- Views: 10822
ScriptedOrbit: what's wrong with this script? [Solved]
Hi, The scripted orbit below (orbits.lua) is meant to generate the second Lagrange point (L2) of a pair of bodies: it takes 5 arguments: Celestia name of body 1, Celestia name of body 2, Celestia name of THIS reference point (L2) used to retrieve the frame in which the orbit is defined, mass ratio o...
- 31.03.2013, 16:12
- Forum: Development
- Topic: patch for more JPL DE-style ephemeris support
- Replies: 4
- Views: 12592
patch for more JPL DE-style ephemeris support
Dear all, The current celestia code supports only JPL Big Endian ephemerides DE406/DE405/DE200. The big endian ephemeris DE406 comes in chunk of 300 years. If you want to concatenate several pieces, using the software provided by JPL (which does not handle endianess), you need a big endian platform....
- 15.04.2012, 15:31
- Forum: Scripting
- Topic: sharing variables between lua scripts
- Replies: 0
- Views: 6464
sharing variables between lua scripts
Hi all, I am trying to write a celx script or a lua hook to read data from the socket. From this data it sets the simulation time and rate and also some global variables that allow to compute spacecraft position and attitude in the vicinity of the simulation time. Then scriptedOrbit and scriptedAtti...
- 10.05.2009, 14:10
- Forum: Scripting
- Topic: understanding lock
- Replies: 2
- Views: 5114
Re: understanding lock
Thank you Selden.
But I am using linux...
I might try to compile 1.6.0 from svn on linux later.
But I am using linux...
I might try to compile 1.6.0 from svn on linux later.
- 10.05.2009, 12:35
- Forum: Scripting
- Topic: understanding lock
- Replies: 2
- Views: 5114
understanding lock
I am trying to view the solar system from "above" (ecliptic pole) but locking the Sun Earth direction in the camera. With this script : select { object "Sol" } follow { } select { object "Sol/Earth" } lock { } the Earth Sun direction is not locked in the camera, and I c...
- 10.05.2009, 12:18
- Forum: Scripting
- Topic: locking camera in Sun Earth corotating frame ecliptic
- Replies: 1
- Views: 4484
locking camera in Sun Earth corotating frame ecliptic
I am trying to lock the camera in the Sun Earth co-rotating frame ecliptic centered on Earth I have tried this: select { object "Sol/Earth" } follow { } select { object "Sol" } lock { } But this locks the camera "up" axis to be fixed relative to the projection of the Ea...
- 30.03.2008, 16:36
- Forum: Development
- Topic: linux autopackage compiling options & SPICE legal status
- Replies: 8
- Views: 5725
Re: linux autopackage compiling options & SPICE legal status
Hi Chris, I think I figured out the confusion: there is no 1.5.0 autopackage version of Celestia for Linux, and 1.5.0 is the only version with SPICE and theora support. If you want 1.5.0, you'll have to compile it yourself from the source package. We should address this and build a 1.5.0 autopackage...
- 30.03.2008, 16:26
- Forum: Development
- Topic: linux autopackage compiling options & SPICE legal status
- Replies: 8
- Views: 5725
Re: linux autopackage compiling options & SPICE legal status
It's clear that you do not interpret English in the same way that I do. I direct your attention to the statement THE SOFTWARE IS TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE UNDER U.S. EXPORT LAWS AND IS PROVIDED"AS-IS" TO THE RECIPIENT WITHOUT WARRANTY OF ANY KIND Note the "publicly a...
- 30.03.2008, 13:44
- Forum: Development
- Topic: linux autopackage compiling options & SPICE legal status
- Replies: 8
- Views: 5725
Re: linux autopackage compiling options & SPICE legal status
At one time NASA's SPICE couldn't be exported or included in Celestia because it was considered to be covered by the terms of ITAR. That is not the case any more. See http://naif.jpl.nasa.gov/naif/rules.html The fact that it isn't covered by the terms of ITAR anymore doesn't mean it's free software...
- 29.03.2008, 18:01
- Forum: Development
- Topic: linux autopackage compiling options & SPICE legal status
- Replies: 8
- Views: 5725
linux autopackage compiling options & SPICE legal status
Is there a reason for the linux autopackage to be compiled without theora support? I haven't checked if this package is compiled with SPICE support but I doubt it. But it would be nice if the autopackage provided on Celestia's website had the same features as the Windows binary (video capture and DE...
- 06.05.2007, 20:59
- Forum: Development
- Topic: Ubuntu packages
- Replies: 9
- Views: 7864
Re: Ubuntu packages
You were fast. Thank you for the new packages. About bug 3, there is nothing on the Celestia console, but I just found out what the problem is : in the "capture movie" window you can't just enter a path relative to the current dir for the movie filename but the full path. It works with the full path...
- 06.05.2007, 13:43
- Forum: Development
- Topic: Ubuntu packages
- Replies: 9
- Views: 7864
Re: Ubuntu packages
Thanks for the packages. However there are a few bugs : * celestia-gnome package doesn't work if celestia (KDE) package is not installed : the splashscreen appears and disappears soon after. The message "Error reading configuration file." without an ending newline shows in the terminal. * The "captu...
- 16.02.2007, 22:43
- Forum: Bugs
- Topic: unwanted triangles appear on some spacecraft models [SOLVED]
- Replies: 3
- Views: 4734
- 16.02.2007, 22:27
- Forum: Bugs
- Topic: Moon + Mars texture bug with OpenGL vertex program [SOLVED]
- Replies: 8
- Views: 8465
Re: Moon + Mars texture bug with OpenGL vertex program [SOLVED]
After discussing this on mandriva's plf-discuss mailing list, the problem is that celestia uses a hardcoded library path. chrpath /usr/bin/celestia /usr/bin/celestia: RPATH=${ORIGIN}/../lib:${ORIGIN}/../lib/autopackage Mandriva's nvidia package from the PLF source install nvidia's libGL in /usr/lib/...
- 21.01.2007, 20:55
- Forum: Bugs
- Topic: unwanted triangles appear on some spacecraft models [SOLVED]
- Replies: 3
- Views: 4734
Re: unwanted triangles appear on some spacecraft models [SOLVED]
You are right. I used the nvidia installer 1.0-9746 and all the bugs have disappeared. And I have now 5 rendering path (Basic, Multitexture, OpenGL Vertex Program, OpenGL Vertex Program/Nvidia Combiners, OpenGL 2.0) instead of just 3 (Basic, Multitexture, OpenGL Vertex Program) The dkms-nvidia and n...
- 21.01.2007, 15:59
- Forum: Bugs
- Topic: Moon + Mars texture bug with OpenGL vertex program [SOLVED]
- Replies: 8
- Views: 8465
Re: Moon + Mars texture bug with OpenGL vertex program [SOLVED]
t00fri, you are probably right. I just tested celestia 1.4.1 (both the autopackage from the celestia website and the gentoo ebuild) on Sabayon Linux x86 3.25 and I don't get these bugs on same hardware. kernel 2.6.19-gentoo-r4 #1 SMP Xorg 7.1.99.903 + nvidia 1.0-9631 I will probably report the bug o...
- 21.01.2007, 10:16
- Forum: Bugs
- Topic: Moon + Mars texture bug with OpenGL vertex program [SOLVED]
- Replies: 8
- Views: 8465
Re: Moon + Mars texture bug with OpenGL vertex program [SOLVED]
Thanks for your reply Selden. I just upgraded to 1.0.9746 and it didn't change a thing. If it is a driver issue, I can post bug reports on the NVIDIA forum. However, how can you be so certain the bug is with the display driver? I don't have similar bugs with other games/applications. The fact that t...
- 20.01.2007, 19:23
- Forum: Bugs
- Topic: unwanted triangles appear on some spacecraft models [SOLVED]
- Replies: 3
- Views: 4734
unwanted triangles appear on some spacecraft models [SOLVED]
Some models show too many triangles : see image : http://godard.b.free.fr/echange/celestia/iss.jpg This happen with all render path (basic, multitexture + OpenGL vertex program). System : Mandriva 2007, linux kernel 2.6.17 SMP AMD Athlon 64x2 Nvidia GeForce 7600GT + driver 1.0-9631 Xorg 7.1.1 with A...