REALiSM

Display Screen Only

6 posts in this topic

How do you remove the bezel around the display screen on the GTN? Thanks in advance! I'm planning to make a hardware for it. I will post some pics soon =)

0

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

There is an option in the GTN plugin configuration file to enable this. It is documented in the User's Manual as "nobezel" option.

0

Share this post


Link to post
Share on other sites

Thanks for your reply. I couldn't find the "nobezel" option on the manual.

Is there anything else I need to change besides changing true/false on the nobezel line?

 

[GTN_750_1.WINDOW]
; display window if true.
visible = true 
; show screen only gauge if true.
nobezel = true
; display type: WINDOW,PANEL2D,PANEL3D,PANELS
frame.type = WINDOW
; display position and dimension (left,top,width,height)
frame.rect = 28,1128,830,790
; screen only border size (pixels).
border.size = 0
; screen only border color (#RGB or #RGBA).
border.rgba = #000000
; enable mouse clickspots if true, disable if false (use SHIFT to override)
usemouse = true 
; display mouse tooltips if true.
tooltips = false
; freeze display position if true.
locked = false

[GTN_750_1.PANELS]
; display window if true.
visible = false
; show screen only gauge if true.
nobezel = true
; display type: WINDOW,PANEL2D,PANEL3D,PANELS
frame.type = PANELS
; display position and dimension (left,top,width,height)
frame.rect = 0,0,0,0
; screen only border size (pixels).
border.size = 0
; screen only border color (#RGB or #RGBA).
border.rgba = #000000
; enable mouse option: NONE,POPUP,TOUCHSCREEN
usemouse = TOUCHSCREEN

0

Share this post


Link to post
Share on other sites

You need a number of things:

1) Make sure you have defined a "render target". The plugin automatically creates 2 render target sections, the [GTN_750_1.WINDOW] and the [GTN_750_1.PANELS]

2) Each render target has a  "frame.type=" setting which defines "where" it is drawn to.

WINDOW = popup window

PANE2D = 2D panel.

PANEL3D = 3D panel.

PANELS = any of 2D and 3D panels.

3) Make sure the render target is "visible=true" (obviously).

4) Make sure the render target position and size is within its respective "type" boundaries: for windows,
"frame.rect=" must be within your main window size (otherwise it would be out of bounds and invisible), for panel(s) it has to be within the boundaries of the panel (2D) or the panel texture sheet (3D). The last two can be guessed with plane maker when editing the 2D/3D panel(s).

5) Make sure you tell the GTN to render to another "surface" than the popup window.

in the [GTN_750_1] section, there is a "drawto=" setting, with a comma separated list of "render targets". You might want to typically have = window, panels

These tell the plugin to use the [GTN_750_1.WINDOW] and the [GTN_750_1.PANELS] sections for rendering.

NB: you are not limited to these names! We have tried to implement a flexible configuration system which for example allows you to do:

[GTN_750_1]

drawto=MySuperWindow, MyOtherPanel

...

[GTN_750_1.MySuperWindow]

visible = true.

...

[GTN_750_1.MyOtherPanel]

visible = true.

...

 

Last but not least: grab the GNS V2 manual from our website, there is tutorial how to configure the GNS to replace the default GPS in the B58 which guides you through these concepts and more!

0

Share this post


Link to post
Share on other sites