Talk:Hackathon Proposal: Shaderbased ND features: Difference between revisions

Jump to navigation Jump to search
m
reponse
No edit summary
m (reponse)
Line 14: Line 14:




Well... personally, I was more interrested into the rendering aspect of it as the hackathlon isn't intended to creat fully working features.
: Well... personally, I was more interrested into the rendering aspect of it as the hackathlon isn't intended to creat fully working features.
If we'd got the effects and shaders done at the weekend, that would be great... even if it just renders it to screen, instead of a canvas.
: If we'd got the effects and shaders done at the weekend, that would be great... even if it just renders it to screen, instead of a canvas.
Obviously, to accomplish this, I certainly need help from someone with experience in shader creation.
: Obviously, to accomplish this, I certainly need help from someone with experience in shader creation.
At the same time I'm already in the dilema of being really interested in two proposals...
: At the same time I'm already in the dilema of being really interested in two proposals...
:
: --[[User:merspieler|merspieler]] ([[User talk:merspieler|talk]]) 14:58, 10 October 2020 (UTC)<p/>


--[[User:merspieler|merspieler]] ([[User talk:merspieler|talk]]) 14:58, 10 October 2020 (UTC)<p/>
:: Again, I don't meant to discourage you at all - but being pretty familiar with the ND/MapStructure and Canvas side of things, I think you'd be well-advised to reach out to Jules and Fernando, because the code that they've recently been sharing with the community makes it really straightforward to "have our cake and eat it". At this point, the main thing we're lacking is an integration between those key components (CompositeViewer, Compositor, Canvas) - once that is in place, you can definitely render a custom camera view to a (sub) texture and use that as a terrain or weather layer. And in fact, psadro_gm (core developer involved in TerraGear) and Stuart have previously toyed with the idea on the forum. For instance, see the following postings/discussions: https://forum.flightgear.org/viewtopic.php?f=71&t=27985&p=264172&#p264175
:: Note that Pete's original idea is now basically implemented thanks to Fernando's work. What's still missing is integrating Jules' CompositeViewer work, and maybe hooking up the compositor and the canvas again, to create a new Canvas element that accepts an arbitrary compositor to render a sub-scene graph using custom effects/shaders (again, the original idea here was to support custom exterior camera passes to render mirror textures, gear views, tail cams, night vision etc)
:: If you are primarily interested in working on the rendering side of this, and given what else is already "in the pipeline", the lowest hanging fruit would be adding support for effects per canvas - there are existing code snippets/patches here: [[Canvas_Development#Effects_.2F_Shaders]]
:: Also, since you also mentioned "WXR" overlays, you might want to look up Thorsten's responses in the context of [[Advanced weather]] and WXR:
:: * https://forum.flightgear.org/viewtopic.php?f=30&t=15355
:: * https://forum.flightgear.org/viewtopic.php?f=14&t=32056&p=313756&#p313756
:: --[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 11:14, 10 October 2020 (EDT) <p/>

Navigation menu