[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flightgear-devel
Subject:    Re: [Flightgear-devel] PUI replacement (was: nasal module gui present but not configured?)
From:       James Turner <james () flightgear ! org>
Date:       2022-09-02 8:53:17
Message-ID: 1CB59AF9-9AEB-42BF-9B92-492821288819 () flightgear ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> On 2 Sep 2022, at 07:46, Andreas Mueller <alphamikeuniform@gmail.com> wrote:
> 
> What are the current plans for a PUI replacement?
> Qt or something more light weight?


It was going to be Qt but it started to get very complicated with changes in Qt 5.15 \
+ Qt 6, so I'm going with a more light-weight approach now.

Qt added support for Vulkan / Metal / D3D starting in 5.15, but FlightGear / \
OpenSceneGraph can't support those, so integrating the two renderers went from being \
‘complicated but ok'  to ‘very very complicated'.  (If for some reason anyone \
wants the code to render Qt Quick in OpenGL mode into OpenSceneGraph, I have it \
working nicely on a branch, from about two years ago...)

So now i'm going with something much lightweight using some C++ compatibility code, \
some Nasal for styling and the existing widget rendering from Thomas with some \
extensions and additions: some pieces are in FlightGear & FGData already. I have \
basic dialogs working okay but not the more complex ones and everything looks kind of \
ugly, I need to improve the visual look before I share screenshots to avoid everyone \
freaking out :) The disadvantage of this approach is I'm far from expert at creating \
visual appearances this way, so it's kind on unrewarding and slow for me. If someone \
likes messing with CSS-type styling, border-images and hover-states, ping me since we \
could probably move things also faster :)

Kind regards,
James


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote \
type="cite" class=""><div class="">On 2 Sep 2022, at 07:46, Andreas Mueller &lt;<a \
href="mailto:alphamikeuniform@gmail.com" class="">alphamikeuniform@gmail.com</a>&gt; \
wrote:</div><br class="Apple-interchange-newline"><div class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">What are the current plans for a \
PUI replacement?</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; \
font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">Qt or something more light \
weight?</span></div></blockquote></div><div class=""><br class=""></div><div \
class="">It was going to be Qt but it started to get very complicated with changes in \
Qt 5.15 + Qt 6, so I'm going with a more light-weight approach now.</div><div \
class=""><br class=""></div><div class="">Qt added support for Vulkan / Metal / D3D \
starting in 5.15, but FlightGear / OpenSceneGraph can't support those, so integrating \
the two renderers went from being ‘complicated but ok' &nbsp;to ‘very very \
complicated'. &nbsp;(If for some reason anyone wants the code to render Qt Quick in \
OpenGL mode into OpenSceneGraph, I have it working nicely on a branch, from about two \
years ago...)</div><div class=""><br class=""></div><div class="">So now i'm going \
with something much lightweight using some C++ compatibility code, some Nasal for \
styling and the existing widget rendering from Thomas with some extensions and \
additions: some pieces are in FlightGear &amp; FGData already. I have basic dialogs \
working okay but not the more complex ones and everything looks kind of ugly, I need \
to improve the visual look before I share screenshots to avoid everyone freaking out \
:) The disadvantage of this approach is I'm far from expert at creating visual \
appearances this way, so it's kind on unrewarding and slow for me. If someone likes \
messing with CSS-type styling, border-images and hover-states, ping me since we could \
probably move things also faster :)</div><div class=""><br class=""></div><div \
class="">Kind regards,</div><div class="">James</div><div class=""><br \
class=""></div></body></html>





_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic