How to interf C++progr receiving sp.craft coord over network
How to interf C++progr receiving sp.craft coord over network
Being new to Celestia and CELX it is not obvious for me how to get my small C++ application, which is receiving/decoding real time coordinate information and quaternions concerning current positioning + rotation of two satellites to update positions of my two spacecraftmodels sat1.3ds sat2.3ds in Celestia. Please give me some hint on how/where to start.
Thanks for your fast comment. According to http://celestia.h-schmidt.net/celx-summary-1.1.html under 2.4.5 you can read:".....1.3.2 You can access the x-component directly by using position.x (this works for assignment too: position.x = 1)" , Sounds like a CELX/LUA-script should be able to set the position.x, position.y,position.z for a spacecraft if you can make the CELX-script i call a C++-routine, which is fetching coordinate data from the network. How then to make the CELX-script call a C++-routine....?
-
- Posts: 2
- Joined: 20.05.2005
- With us: 19 years 5 months