Outerra forum

Anteworld - Outerra Game => Tech demo, support, updates => Topic started by: deathevor on April 21, 2013, 03:57:06 pm

Title: External Renderer + Controls
Post by: deathevor 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
Title: Re: External Renderer + Controls
Post by: cameni 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 (http://www.xsplit.com/), 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.
Title: Re: External Renderer + Controls
Post by: deathevor 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?


Title: Re: External Renderer + Controls
Post by: cameni 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 (http://outerraworld.com/appdata/Anteworld/ot-api.zip), it can give you the idea.

It will work starting from the next version.
Title: Re: External Renderer + Controls
Post by: deathevor on April 22, 2013, 12:32:35 pm
Thank you very much.