Howto:Start core development: Difference between revisions

Jump to navigation Jump to search
m
m (→‎JPEGFactory: https://code.google.com/p/flightgear-bugs/issues/detail?id=924&q=opencv&colspec=ID%20Type%20Status%20Priority%20Summary%20Aircraft%20Milestone)
Line 317: Line 317:
apps that can do this so I know it's technically possible, and I imagine
apps that can do this so I know it's technically possible, and I imagine
not too much coding once you figure out the magic to make it happen.</nowiki><ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40751.html|title=<nowiki>Re: [Flightgear-devel] --jpg-httpd command line option</nowiki>|author=<nowiki>Curtis Olson</nowiki>|date=<nowiki>Tue, 17 Sep 2013 11:51:00 -0700</nowiki>}}</ref>|<nowiki>Curtis Olson</nowiki>}}
not too much coding once you figure out the magic to make it happen.</nowiki><ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40751.html|title=<nowiki>Re: [Flightgear-devel] --jpg-httpd command line option</nowiki>|author=<nowiki>Curtis Olson</nowiki>|date=<nowiki>Tue, 17 Sep 2013 11:51:00 -0700</nowiki>}}</ref>|<nowiki>Curtis Olson</nowiki>}}
{{cquote|<nowiki>And obviously it does require that cmake finds the
JPEG includes and libraries... I had earlier compiled
and installed jpeg-9 into my 3rdParty folder...
This dependency would go away if OSGDB was used,
as James mentioned, but then JPEG would probably have
to be found during the OSG build, unless OSG has
alternate built-in jpeg code... not sure...
Thereafter, running fgfs.exe with --jpg-httpd=1234
worked fine by putting http://localhost:1234 is a
browser, and bingo had a jpg image of the screen
in the browser ;=)) cool stuff...
Of course it is a 'static' image, and had to refresh
to get updated images of the flight... or an extension
added to provide an actual video feed as Curt mentioned...
So I would say it worked as advertised</nowiki><ref>{{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg40884.html|title=<nowiki></nowiki>|author=<nowiki></nowiki>|date=<nowiki></nowiki>}}</ref>|<nowiki></nowiki>}}


Also see: {{Issue|924}}.
Also see: {{Issue|924}}.

Navigation menu