Board index FlightGear Development Canvas

Canvas Screen in bad weather...

Canvas is FlightGear's new fully scriptable 2D drawing system that will allow you to easily create new instruments, HUDs and even GUI dialogs and custom GUI widgets, without having to write C++ code and without having to rebuild FlightGear.

Canvas Screen in bad weather...

Postby D-MKF1 » Thu Mar 31, 2022 7:13 pm

Look what happened to my canvas screens in bad weather. The autopilot on the top right is written in the old style.
Bad weather prevents the displays from showing... Is it just me?
I'm traveling on a Mac in 2020.3.12.
Cheers,
Marc

Image
Bad weather prevents the displays from showing.

Image
Not so in good weather conditions.
D-MKF1
 
Posts: 99
Joined: Mon Sep 30, 2013 6:03 pm
Version: Git
OS: GNU/Linux | Mac OS X

Re: Canvas Screen in bad weather...

Postby merspieler » Thu Mar 31, 2022 7:39 pm

I've noticed (and reported) something similar or the same with the A320 PFDs as example. I could reliably reproduce it just by reducing the visibility.
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2243
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Canvas Screen in bad weather...

Postby TheEagle » Thu Mar 31, 2022 8:58 pm

The weird / interesting thing is that it's not the whole Canvas that gets hidden, but only parts of it - is it always the same parts that get hidden ? If so it'd be worth trying to find out which types of items get hidden.
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3414
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: Canvas Screen in bad weather...

Postby merspieler » Thu Mar 31, 2022 9:20 pm

iirc, those are always the same parts...
Nia (you&, she/her)

Please use gender neutral terms when referring to a group of people!

Be the change you wish to see in the world, be an ally to all!

Join the official matrix space
merspieler
 
Posts: 2243
Joined: Thu Oct 26, 2017 11:43 am
Location: Wish to be in YBCS
Pronouns: you&, she/her
Callsign: you&, she/her
IRC name: merspieler
Version: next
OS: NixOS

Re: Canvas Screen in bad weather...

Postby Hooray » Fri Apr 01, 2022 5:50 pm

Since this isn't affecting other Canvas placements (dialogs/windows), this might suggest that there's a rendering related issue somewhere in the scene graph, such as for example a misplaced effect/shader that's applied to the Canvas, and interfering with /some/ Canvas elements.

This could also be related to z-indexing and/or clipping/culling that's getting broken for some reason.

If in doubt, please file a proper bug report here: https://sourceforge.net/p/flightgear/codetickets/

Ideally, the bug report would be really self-contained (standard fgdata aircraft), including which code (canvas elements) are seemingly affected.
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: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Canvas Screen in bad weather...

Postby nepcia » Fri Apr 08, 2022 10:15 pm

Looks like I've noticed something like that 3 years ago - viewtopic.php?f=71&t=35500. Problem was with paths that change shape from frame to frame. I thought I've created an issue for it but apparently I didn't since I cannot find anything. There's a link with minimal code for nasal console for reproducting. Maybe that's still the same issue :wink:
nepcia
 
Posts: 11
Joined: Sat May 13, 2017 6:27 pm


Return to Canvas

Who is online

Users browsing this forum: No registered users and 7 guests