[nbos] Re : [AS] Question regarding a Orbital Properties formula and calculationfranck bocquet Fri Jan 16th, 2009Hello. I am using AS as universe editor for outpouting to my program. I've implemented formula from those sites in my program, for real time simulation : http://en.wikipedia.org/wiki/Orbital_elements http://www.stjarnhimlen.se/comp/ppcomp.html http://www.stjarnhimlen.se/comp/tutorial.html Orbital period : http://en.wikipedia.org/wiki/Orbital_period And using AS documentation also. I've validated my formula by comparing them to AS results. It's not difficult, but you need to know some math. Freeman. PS : I can give you the part of the code, but it's never easy to read code from someone else. My code is in C# (I am using NeoAxis engine). ________________________________ De : Shachar Shinerman À : nbossoftware-at-nbos.com Envoyé le : Vendredi, 16 Janvier 2009, 10h20mn 39s Objet : [nbos] [AS] Question regarding a Orbital Properties formula and calculation Hello, I am making a game demo and I purchased AstroSynth. The game takes place in a 3d Environment using XNA. I am using AS to build my stars and additional objects, then export as XML and load it in the 3d XNA space. I wish to understand the exact formula of positioning the objects in orbit in order for me to convert it to a single X,Y,Z (static) location in my game. So to build a formula of GetXYZ(Distance, Eccentricity, Inclination, Ascending Node, Periapsis, Time past, Orbital Period, Axial Tilt) --> to output a XYZ coordinate. Please help me understand this formula for me to achieve using AS as my game star editor..... tyvm, Shachar ________________________________ Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. Check it out. ________________________________ Windows Live™: Keep your life in sync. See how it works. _______________________________________________ Nbossoftware mailing list