Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: Orbital altitude and rendering  (Read 7999 times)

Jon S. Berndt

  • Jr. Member
  • *
  • Posts: 24
    • http://www.jsbsim.org
Orbital altitude and rendering
« on: August 09, 2010, 08:43:21 am »

I'm trying to find out if Outerra can handle visualizing the planet when viewed from a spacecraft traveling at orbital velocity at 200 miles above the surface. Is this possible? There is a large expanse of terrain that can be seen from orbit, of course, which I guess probably means a lot of texture loading and storage, no? I'm not a rendering guy, so I don't know ...

Thanks,

Jon
Logged
Jon S. Berndt
Development Coordinator
JSBSim Project
JSBSim.org

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6621
  • Pegs is clever, but tae hain’t a touch sentimental
    • outerra.com
Orbital altitude and rendering
« Reply #1 on: August 09, 2010, 03:53:10 pm »

Actually rendering the planet from space is faster than rendering it from planet surface. From space there's practically no overdraw, and the orbital velocity at that distance results in fact in quite low "pixel speed". Thus the need to generate terrain tiles is actually not that high.
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6621
  • Pegs is clever, but tae hain’t a touch sentimental
    • outerra.com
Orbital altitude and rendering
« Reply #2 on: August 09, 2010, 04:22:17 pm »

There's a new video showing a bit of space flight http://www.outerra.com/forum/viewtopic.php?id=104
Logged

Jon S. Berndt

  • Jr. Member
  • *
  • Posts: 24
    • http://www.jsbsim.org
Orbital altitude and rendering
« Reply #3 on: August 09, 2010, 10:51:21 pm »

Quote from: cameni
There's a new video showing a bit of space flight http://www.outerra.com/forum/viewtopic.php?id=104

Impressive. Excellent! I asked about that for a number of reasons. First, I have a very simple JSBSim test now where I fire a ball at orbital velocity at high altitude above the equator just to test orbital dynamics. That works well. The next step is to model an actual spacecraft. I spoke with an assistant professor from a university in New York last week while I was in Toronto at the AIAA Modeling and Simulation Technology conference. He's interested in spacecraft modeling and simulation. He may get a student to do some work on modeling spaceflight using JSBSim, and I've recommended to him that he should take a look at Outerra.

Jon
Logged
Jon S. Berndt
Development Coordinator
JSBSim Project
JSBSim.org

Jon S. Berndt

  • Jr. Member
  • *
  • Posts: 24
    • http://www.jsbsim.org
Orbital altitude and rendering
« Reply #4 on: August 09, 2010, 10:56:28 pm »

So, the obvious next question to ask is: can Outerra model multiple simultaneous instances of JSBSim running, each modeling a different vehicle. For instance, what if I wanted the Orion spacecraft orbiting the Earth, approaching the ISS for docking? Would that be possible?

Jon
Logged
Jon S. Berndt
Development Coordinator
JSBSim Project
JSBSim.org

angrypig

  • Outerra Developer
  • Sr. Member
  • *****
  • Posts: 454
    • http://outerra.com
Orbital altitude and rendering
« Reply #5 on: August 10, 2010, 03:57:10 am »

Quote from: jonsberndt
So, the obvious next question to ask is: can Outerra model multiple simultaneous instances of JSBSim running, each modeling a different vehicle. For instance, what if I wanted the Orion spacecraft orbiting the Earth, approaching the ISS for docking? Would that be possible?

Yes we can support multiple instances of JSBSim. For every object I'm creating a separate instance of JSBSim::FGFDMExec...

Quote from: jonsberndt
For instance, what if I wanted the Orion spacecraft orbiting the Earth, approaching the ISS for docking? Would that be possible?

This case needs some extra stuff:
 - connect our collision system with JSBSim (contact point system in JSBSim is not sufficient for most cases )
 - propagate forces on collision points between JSBSim objects. Would JSBSim be capable to handle interactions between multiple instances automatically ? In that case it will work almost out of the box.


Additionally we have to create a wrapper for such JSBSim modules, so they can create them as mods/plugins in Outerra.
Logged

Jon S. Berndt

  • Jr. Member
  • *
  • Posts: 24
    • http://www.jsbsim.org
Orbital altitude and rendering
« Reply #6 on: August 10, 2010, 07:51:10 am »

Quote from: angrypig
Quote from: jonsberndt
For instance, what if I wanted the Orion spacecraft orbiting the Earth, approaching the ISS for docking? Would that be possible?

This case needs some extra stuff:
 - connect our collision system with JSBSim (contact point system in JSBSim is not sufficient for most cases )
 - propagate forces on collision points between JSBSim objects. Would JSBSim be capable to handle interactions between multiple instances automatically ? In that case it will work almost out of the box.

Additionally we have to create a wrapper for such JSBSim modules, so they can create them as mods/plugins in Outerra.

As you probably know, our "collision system" is designed entirely for ground contact. However, we do have the external reactions class. With that, if there was an external capability that computed collision (or docking) forces, those could be applied to specific points through that mechanism.

Another question: How are user inputs (such as a pilot) handled in Outerra? For instance, how are joystick, or instrument panel interactions handled so that they are passed to the dynamics model (such as bullet or jsbsim)?

Jon
Logged
Jon S. Berndt
Development Coordinator
JSBSim Project
JSBSim.org

angrypig

  • Outerra Developer
  • Sr. Member
  • *****
  • Posts: 454
    • http://outerra.com
Orbital altitude and rendering
« Reply #7 on: August 10, 2010, 08:36:43 am »

Quote from: jonsberndt
As you probably know, our "collision system" is designed entirely for ground contact. However, we do have the external reactions class. With that, if there was an external capability that computed collision (or docking) forces, those could be applied to specific points through that mechanism.

I know about this class and I will be using it in our collision system.

Quote from: jonsberndt
Another question: How are user inputs (such as a pilot) handled in Outerra? For instance, how are joystick, or instrument panel interactions handled so that they are passed to the dynamics model (such as bullet or jsbsim)?

In the wrapper I mentioned before you will be able to register named events that could be bound to a specific device event. Like joystick axis and button or keyboard events or events from any HID compatible device. This mapping is done in external text file. These events could be generated also by virtual gadgets in cockpit, for example when you click on a button in virtual cockpit.
Logged

Jon S. Berndt

  • Jr. Member
  • *
  • Posts: 24
    • http://www.jsbsim.org
Orbital altitude and rendering
« Reply #8 on: September 12, 2010, 09:35:29 am »

There are these 3D models that NASA has released that might be useful.

http://www.nasa.gov/multimedia/3d_resources/models.html

Jon
Logged
Jon S. Berndt
Development Coordinator
JSBSim Project
JSBSim.org