Board index FlightGear Development New features

How to create two master cameras in FlightGear 1.9.0/ Later

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

How to create two master cameras in FlightGear 1.9.0/ Later

Postby nani.sahu » Wed Jan 16, 2013 4:53 am

System Configuration:
Processor: 12x Intel Xeon x5660 2.80GHz
RAM: 4GB DDR3
HD: 1TB
OS: ubuntu 10.04 LTS
FlightGear Version:1.9.0
Requirement: we need two master cameras to controls the two different views in two different scene rendering dynamically.

but in flightgear viewer class only using. this is create one master camera no.of slave cameras. but i need CompositeViewer class. how to use CompositeViewer class in flightgear and how to render through CompositeViewer class.

please help me....
nani.sahu
 
Posts: 16
Joined: Thu Jul 26, 2012 1:42 pm
Version: 2.8.0
OS: Ubuntu 12.04LTS

Re: How to create two master cameras in FlightGear 1.9.0/ La

Postby Hooray » Thu Jan 17, 2013 9:14 pm

we need two master cameras to controls the two different views in two different scene rendering dynamically.

but in flightgear viewer class only using. this is create one master camera no.of slave cameras. but i need CompositeViewer class. how to use CompositeViewer class in flightgear and how to render through CompositeViewer class.


Using OSG's CompositeViewer isn't currently supported by FG. But it's a long-standing feature request, and all core developers agree that this will eventually be needed and done in FG: http://wiki.flightgear.org/Howto:Use_a_ ... siteViewer

You'll also find architectural details on how to proceed (make sure to search for "PagedLOD")

Please see the devel list archives for details:
http://www.mail-archive.com/search?q=co ... eforge.net

If you are interested in working on this, you are encouraged to use the developers mailing list or the issue tracker to get in touch with other developers.
Obviously, you will need to be able to build FG from source and you need to be familiar with OpenGL and OSG to make this work.
As you can see in the archives, the developer community is definitely interested in this feature.

Please do note however that all contributors are currently busy preparing the next release: http://wiki.flightgear.org/Release_plan
So, your chances of getting support are better after the release, i.e. 4 weeks from now.

In the meantime, you could read all CompositeViewer/FG related discussions (wiki/devel list) and consult back with with osg user's mailing list for additional info.
Spare time permitting, I could be convinced to help a little out with this - however, I would ask you to first ensure that you can build FG from source, and that you use public gitorious topic branches so that we can easily track your work.

Finally, all contributors and core developers are unlikely to be interested in working with the 1.9.0 code base, so you'll have to base your work on FG 2.10.0+ instead if you'd like to see us contributing to this.

Assuming that you are serious about working on this, you may also want to read up a little more about the project's "development model", see the developer portal: http://wiki.flightgear.org/Portal:Developer

viewtopic.php?f=42&t=15267
http://wiki.flightgear.org/Howto:Start_core_development
http://wiki.flightgear.org/Programming_resources

Feel free to contribute to the wiki to document your project.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11469
Joined: Tue Mar 25, 2008 8:40 am

Re: How to create two master cameras in FlightGear 1.9.0/ La

Postby nani.sahu » Fri Jun 21, 2013 10:58 am

thanku :)
nani.sahu
 
Posts: 16
Joined: Thu Jul 26, 2012 1:42 pm
Version: 2.8.0
OS: Ubuntu 12.04LTS


Return to New features

Who is online

Users browsing this forum: No registered users and 1 guest