Board index FlightGear Development Aircraft

list of aircraft lacking tail-cam support ?

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

list of aircraft lacking tail-cam support ?

Postby Hooray » Sat Sep 02, 2017 1:53 pm

Would someone help us compile a list of RL aircraft that have tail-cams, but which don't currently have one in FlightGear ?
The point being that we are currently prototyping a related Canvas element, and it would be good to have a list of the corresponding aircraft that would benefit from this addition (possibly with wiki links to get in touch with their developers/maintainers).

Also, if you are aware of any aircraft with PFD/MFDs showing a synthetic terrain view, that would be good to have, too.

For example:

A380: http://wiki.flightgear.org/Airbus_A380
777: http://wiki.flightgear.org/Boeing_777


Thank you !
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: list of aircraft lacking tail-cam support ?

Postby Alant » Sat Sep 02, 2017 4:06 pm

The proposed solution will support any tv camera - e.g. undercarriage camera, cabin view camera., as well as rear view mirrors on fighter aircraft.

Alan
Alant
 
Posts: 1219
Joined: Wed Jun 23, 2010 6:58 am
Location: Portugal
Callsign: Tarnish99
Version: latest Git
OS: Windows 10/11

Re: list of aircraft lacking tail-cam support ?

Postby Hooray » Sat Sep 02, 2017 4:27 pm

Is that a question ?
If so, the initial version will have exactly the same features as the view-manager itself - we're not doing anything fancy here.
Clement's approach is simple and sound: look up the requested view number, ask the view manager to compute the view matrix and then use that to tell the slave camera to render the view to the texture managed by the Canvas::Element - at that point, the top-level Canvas will show the requested view.

If you need functionality beyond that, I highly doubt that it would be available that "soon" - let's keep in mind how popular this feature request is, and how long-standing the proposal is - let's keep in mind, we've had various more or less complete patches and code snippets doing /some/ of this ready for years.

It's only recently that Stuart offered to help get this reviewed/committed.

Referring specifically to mirrors/mirror-textures, I don't know enough about the view manager and its built-in features, but I suppose that if an effect can be registered to be view specific, you could do all sorts of fancy things without touching any C++ code. Thorsten would be the best person to answer what's possible and what isn't.

However, speaking in general, you could have really fancy FLIR/night vision displays, including displays showing different view-points in a PIP (picture-in-picture) fashion - none of this would require any coding capabilities, it's really as simple as doing some XML copy&paste to add a Canvas enabled display to your cockpit and tell it the view to be rendered.

Thorsten also mentioned that he was interested in using such a Canvas view for the shuttle RMS arm.

Other than that, the use-case does not matter - i.e. this would also be of interest to people interested in non-civilian flight:

Image
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: list of aircraft lacking tail-cam support ?

Postby Alant » Sat Sep 02, 2017 5:33 pm

No, the mirror facility is not a question it is a statement as it already exists.

With Clement´s patch, if the texture mapping is flipped left to right (do this in AC3d or Blender) you will have a mirror image. I have just checked and it works.

Alan
Alant
 
Posts: 1219
Joined: Wed Jun 23, 2010 6:58 am
Location: Portugal
Callsign: Tarnish99
Version: latest Git
OS: Windows 10/11

Re: list of aircraft lacking tail-cam support ?

Postby Hooray » Sat Sep 02, 2017 5:37 pm

Yeah, UV mapping is done outside fgfs, not by Clement's patch and neither by the Canvas system.
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: list of aircraft lacking tail-cam support ?

Postby icecode » Sat Sep 02, 2017 6:12 pm

You can do the mirroring inside canvas, just change the texture coordinates of the quad that the slave camera is rendering to. Or you can do it in Blender, so I don't know if it would be worth to expose these coordinates to Nasal.
icecode
 
Posts: 709
Joined: Thu Aug 12, 2010 1:17 pm
Location: Spain
Version: next
OS: Fedora

Re: list of aircraft lacking tail-cam support ?

Postby Hooray » Sat Sep 02, 2017 7:39 pm

actually, once you look at the scenegraph created for a Canvas, the top-level element of each group/element should be an osg::MatrixTransform, and there are dedicated /view properties, too - so I think it would be fully in line with Tom's design to make sure that this functionality is provided in the form of properties (if it isn't already).

http://wiki.flightgear.org/Canvas_Troub ... hs_to_disk
Code: Select all
MatrixTransform {
  nodeMask 0xffffffff
  cullingActive TRUE
  StateSet {
    rendering_hint DEFAULT_BIN
    renderBinMode OVERRIDE
    binNumber 0
    binName PreOrderBin
  }
  referenceFrame RELATIVE
  Matrix {
    1 0 0 0
    0 1 0 0
    0 0 1 0
    0 0 0 1
  }
  num_children 1
  Geode {
    nodeMask 0xffffffff
    cullingActive TRUE
    num_drawables 1
    osgText::Text {
      UniqueID Text_0
      StateSet {
        UniqueID StateSet_1
        rendering_hint TRANSPARENT_BIN
        renderBinMode USE
        binNumber 10
        binName DepthSortedBin
      }
      supportsDisplayList FALSE
      useDisplayList FALSE
      useVertexBufferObjects FALSE
      color 1 0 0 1
      font /home/hooray/sources/fgroot/Fonts/LiberationFonts/LiberationSans-Bold.ttf
      fontResolution 32 32
      characterSize 15 1
      characterSizeMode OBJECT_COORDS
      alignment LEFT_CENTER
      rotation 1 0 0 6.12303e-17
      layout LEFT_TO_RIGHT
      position 0 0 0
      drawMode 1
      BoundingBoxMargin 0
      BoundingBoxColor 0.94902 0.945098 0.941176 1
      text "Some text"
      backdropType NONE
      backdropHorizontalOffset 0.07
      backdropVerticalOffset 0.07
      backdropColor 0 0 0 1
      backdropImplementation NO_DEPTH_BUFFER
      colorGradientMode SOLID
      colorGradientTopLeft 1 0 0 1
      colorGradientBottomLeft 0 1 0 1
      colorGradientBottomRight 0 0 1 1
      colorGradientTopRight 1 1 1 1
    }
  }
}

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


Return to Aircraft

Who is online

Users browsing this forum: No registered users and 14 guests