Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: External Renderer + Controls  (Read 6139 times)

deathevor

  • Sr. Member
  • ****
  • Posts: 265
  • User
    • Sk-Films
External Renderer + Controls
« on: April 21, 2013, 03:57:06 pm »

Hi Cameni and Angrypig,

In one of  the posts you have mentioned 2 things (As I understood it's already done):

1) The Outerra engine can stream picture to 3rd party apps.
If so is it possible to have some info about it (Like code examples)?

2) Following from first one - I thought it was mentioned that this stream can have a feedback on controls.
Basically like a 3rd party app can send transformations to camera in outerra.

If those things already done, it would be nice to have an examples of code to study.

Thanks
Logged
VFx Artist/Supervisor, Private Pilot - www.sk-films.com

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: External Renderer + Controls
« Reply #1 on: April 22, 2013, 02:12:24 am »

!
1) The Outerra engine can stream picture to 3rd party apps.
If so is it possible to have some info about it (Like code examples)?
I don't remember saying this, and it's certainly not supported natively in any way - there's only the video capture that currently simply writes to file. Even if it was streamed elsewhere, the yog format makes it unlikely to work with anyone that way.
I know some people use xsplit, but since these apps do not work reliably with OpenGL, they are disabled by default and need to be allowed by a command line switch.

Quote
2) Following from first one - I thought it was mentioned that this stream can have a feedback on controls.
Basically like a 3rd party app can send transformations to camera in outerra.
Hmm, I think you mean the Image Generator Control interface. That's for using OT as an image generator for other simulators. The interface is going to be available in the next version, together with some basic example. Currently we are testing it with some devs.
Logged

deathevor

  • Sr. Member
  • ****
  • Posts: 265
  • User
    • Sk-Films
Re: External Renderer + Controls
« Reply #2 on: April 22, 2013, 10:32:13 am »

Hmm, I think you mean the Image Generator Control interface.

Yes, I think it was mentioned like this.
Can you specify few more details on how it works?


Logged
VFx Artist/Supervisor, Private Pilot - www.sk-films.com

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: External Renderer + Controls
« Reply #3 on: April 22, 2013, 11:09:23 am »

I'll be documenting it later, but for now here's the current IGC API + example code: ot-api.zip, it can give you the idea.

It will work starting from the next version.
Logged

deathevor

  • Sr. Member
  • ****
  • Posts: 265
  • User
    • Sk-Films
Re: External Renderer + Controls
« Reply #4 on: April 22, 2013, 12:32:35 pm »

Thank you very much.
Logged
VFx Artist/Supervisor, Private Pilot - www.sk-films.com