Board index FlightGear Development Google Summer of Code

"real" shadow within Aircraft and Scenery

Project proposals, student applications and all related discussions.

"real" shadow within Aircraft and Scenery

Postby grtux » Thu Aug 19, 2010 10:12 am


With FG 1.0.0 we had realistic shadows with our Models.
Now, since we are using the great tool OSG we don't have that realistic effect , however OSG is able to process such feature for instance look at that example from OSG application. ... nshots/FHW

What must be done to get the same with FlightGear ?



PS: i know, today, there is some models which are using an old tricky effect which was originally developed on the Bo105 when there was nothing with FG ( before FG 0.9.9 )
User avatar
Posts: 431
Joined: Thu Dec 14, 2006 5:19 pm
Location: Provence France

Re: "real" shadow within Aircraft and Scenery

Postby fredb » Thu Aug 19, 2010 1:47 pm

Shadows in OSG are usually done via shaders and multiple rendering passes that would interfere with the current effect framework. Shader composition doesn't exist yet, so we can't simply use the OSG shadow framework and hope it would work. Moreover, FG use multiple cameras in a single view, and can also do multiscreen rendering. All these features are not supported by stock OSG classes and that should be reimplemented the FG way, and no one publicly tackled this task yet.
User avatar
Posts: 753
Joined: Fri Dec 01, 2006 11:41 am
Location: Paris, France

Re: "real" shadow within Aircraft and Scenery

Postby Hooray » Mon Sep 06, 2010 8:57 pm

grtux wrote:What must be done to get the same with FlightGear ?

I think "Adding OSG shadows" was added to the "Google summer of code" ideas page (see wiki), if you have any ideas or suggestions (or just links) I would consider adding those there.
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,
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Return to Google Summer of Code

Who is online

Users browsing this forum: No registered users and 1 guest