How to use scripted orientation
Posted: 17.01.2008, 08:28
Hi all !
I'm a "new newbie" on celestia, and first of all, i'd like to congratulate you for all the work you're doing, it's a really great program !
I'm working on a project that consists in scripting a orientation and orbit of a sattelite from a file, generated by a simulator.
I started 2 weeks ago, with the Celestia 1.5.0pre5, because of the new features.
I'm a C++ developer, but i'd like to make the script with lua. I downloaded the script of pointing hubble here http://shatters.net/forum/viewtopic.php?t=11186&highlight=pointing+hubble but i don't understand one thing. How the interface between a lua code/class and the celx script works ?
I put celx files in the file directory, ssc in data, 3ds in model, and celxx directory in the script one. When I launch the celx script, I think that it does not use the lua file in the celxx subdirectory. And I don't undestand how the celx script can use object in the lua file (in celxx subdirectory).
Can someone explain me how it works please ?
I'm searching for 1 weeks in all topics and I did not find an answer, that's why I post this tread.
Thanks all for your help.
Pierral.
I'm a "new newbie" on celestia, and first of all, i'd like to congratulate you for all the work you're doing, it's a really great program !
I'm working on a project that consists in scripting a orientation and orbit of a sattelite from a file, generated by a simulator.
I started 2 weeks ago, with the Celestia 1.5.0pre5, because of the new features.
I'm a C++ developer, but i'd like to make the script with lua. I downloaded the script of pointing hubble here http://shatters.net/forum/viewtopic.php?t=11186&highlight=pointing+hubble but i don't understand one thing. How the interface between a lua code/class and the celx script works ?
I put celx files in the file directory, ssc in data, 3ds in model, and celxx directory in the script one. When I launch the celx script, I think that it does not use the lua file in the celxx subdirectory. And I don't undestand how the celx script can use object in the lua file (in celxx subdirectory).
Can someone explain me how it works please ?
I'm searching for 1 weeks in all topics and I did not find an answer, that's why I post this tread.
Thanks all for your help.
Pierral.