Giter VIP home page Giter VIP logo

Comments (13)

fredemmott avatar fredemmott commented on May 31, 2024

Yeah, there's a few ways to do this:

  • replace the background white for PDF/text pages. Doesn't work for images
  • configurable transparency. Avoids the glare, but can be extremely low contrast for nighttime
  • paint over with black at variable transparency. Ditto, but probably a bit better
  • a negative filter: black <-> white
  • a B&W 'brightness' filter with controllable intensity. Effectively night vision for the kneeboard

'brightness' filter might be the most realistic, and the best one-shot

'negative' would be clear, but possibly too intense

A combination is probably the way to go:

  • paint over with black to reduce glare/god rays: this is effectively 'multiply brightness by x%')
  • brightness filter -> night mode. Recolor in green and it's a true night mode. Black background, white/green text

from openkneeboard.

000Ready000 avatar 000Ready000 commented on May 31, 2024

from openkneeboard.

AndLindemann avatar AndLindemann commented on May 31, 2024

I noticed the same in MSFS. I use a text-file tab for taking ATC notes and on a night flight the white background is really super bright. As a workaround I'd just hide the kneeboard as I'd only expect complex ATC instructions pre-takeoff and after landing (clearance and taxi mostly), so there's no real reason to show the kneeboard during the flight.
But still adjustable brightness would be cool. Of course the super bonus would be if cockpit lighting would affect the kneeboard, i.e. during the night you'd have to turn on your cockpit reading lights to see anything. But that might be a bit too much. :P

from openkneeboard.

franukis avatar franukis commented on May 31, 2024

Would totally love to have the option of "NVG filter", it would make it consistent with the datacards I am generating for night missions (could share the C# code used for the filter if helpful, although I am a HW guy and the whole program is a mess from SW point of view)
00_Datacard_HORNET1
00_Datacard_HORNET1

from openkneeboard.

fredemmott avatar fredemmott commented on May 31, 2024

Any chance your C# is a wrapper for HLSL? That would be handy - otherwise I can easily do a simple tint.

from openkneeboard.

fredemmott avatar fredemmott commented on May 31, 2024

#84 is very related: while that's just dealing with opacity/transparency, the way it works is by applying a tint - but the tint includes an alpha channel - it's (1.0, 1.0, 1.0, 1.0) * opacity - where (1.0, 1.0, 1.0, 1.0) is RGBA white as floats.

Simple dimming can be done by using a grey tint instead of white, or red/green for colors.

from openkneeboard.

000Ready000 avatar 000Ready000 commented on May 31, 2024

I think the most practical is to create two functions: one to dim and one to add brightness, which then can be bound to a turning knob on the Hotas and be used the same way like the flashlight and NVG brightness controls in DCS. Adding color like red or green seems like a nice addition, but still can be way too bright if used independently without brightness control. Please look how the flashlight inside DCS works. It has a brightness function and a green/white toggle.

from openkneeboard.

franukis avatar franukis commented on May 31, 2024

I have just checked. I am using a 3rd party (open source project): https://www.codeproject.com/Articles/5527/Blending-of-images-raster-operations-and-basic-col
I am using it to blend with an image of the green filter, with a gradient, as you can see above

from openkneeboard.

tanrr avatar tanrr commented on May 31, 2024

If this feature request goes in (hopefully as a brightness filter), would be great to expose it through the remote-control exe methods. Would allow a quick VoiceAttack "Kneeboard Brighter" or "Kneeboard Dimmer" when a page is pulled up that isn't set for night.

from openkneeboard.

fredemmott avatar fredemmott commented on May 31, 2024

Yeah, probably just going to do the 'make everything darker' approach.

After trying pen+paper with some high-end NVG, it seem likely that a 'realistic' NVG effect would be 'unreadable blurry mess' :p

from openkneeboard.

fredemmott avatar fredemmott commented on May 31, 2024

Would y'all prefer this to only affect in-game rendering, or both in-game and in-app?

from openkneeboard.

AndLindemann avatar AndLindemann commented on May 31, 2024

In-Game would be enough for me :)

from openkneeboard.

ytdlder avatar ytdlder commented on May 31, 2024

If I may add to that:
the app already uses the systems light/dark mode.
A setting for the ingame kneeboard with the same effect would be really cool!
Playing in HDR makes the kneeboard super bright^^

But I guess a filter would be even more usefull, if one has unchangeable PDFs and pictures, where there's a lot of white...

from openkneeboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.