Board index FlightGear Development Aircraft

FIAT G91-R (Gina) - JSBSim

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

Re: FIAT G91-R (Gina) - JSBSim

Postby Necolatis » Thu Aug 13, 2015 11:09 pm

1 - If you use Datcom+ instead of Datcom/DIGDAT, then you will get output directly to JSBSim xml.
2 - If you use Datcom+ pro, it will output inertia for JSBSim also.
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore
User avatar
Necolatis
 
Posts: 2233
Joined: Mon Oct 29, 2012 1:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2020.3.19
OS: Windows 10

Re: FIAT G91-R (Gina) - JSBSim

Postby Necolatis » Thu Aug 13, 2015 11:18 pm

Also you seem to have put in the same NACA profile for wings and tails?

You wrote earlier:

Wing:
NACA 65A112
NACA 65A111

Horizontal empennage:
NACA 65A 010

Vertical empennage:
NACA 65A 010


So that would give in Datcom:

NACA-W-6-65A112 (or 111)
NACA-H-6-65A010
NACA-V-6-65A010
"Airplane travel is nature's way of making you look like your passport photo."
— Al Gore
User avatar
Necolatis
 
Posts: 2233
Joined: Mon Oct 29, 2012 1:40 am
Location: EKOD
Callsign: Leto
IRC name: Neco
Version: 2020.3.19
OS: Windows 10

Re: FIAT G91-R (Gina) - JSBSim

Postby abassign » Tue Sep 01, 2015 11:34 pm

I'm doing some tests on the lights, as you can see the intensity of the light follows the sun. If the sun is high in the sky the lights are low, but if it is low or at night the lights are most intense.
I really like the result, but now I would like some improvement ...
If I move away from the plane lights become smaller and smaller and then disappear, in reality there is a spot effect that still let you see the light at longer distances. It is possible add this effect ?
I obviously horrified lighting effects that look like flying saucers attached to the wings ... such as currently the C172P. I want something different that works like in real life.

Image

Image
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: FIAT G91-R (Gina) - JSBSim

Postby Richard » Tue Sep 01, 2015 11:55 pm

The way this is usually done is by having a halo that uses distance-scale. It's not perfect but this way you can have a light that is visible from a distance.

It works best if you have a large halo that is scaled down when near the aircraft rather than a small object that is scaled up (something to do with OSG culling I suspect as it disappears without the distance scale being taken into account).

see F-15/Models/lighting-external.* for reference. Following the way that xiii did the F-14, I have a light that is the actual size and shape which will have the emission controlled (based on diffuse/red), a halo that is distance scaled and a rembrandt emissive lighpoint.
Richard
 
Posts: 810
Joined: Sun Nov 02, 2014 11:17 pm
Version: Git
OS: Win10

Re: FIAT G91-R (Gina) - JSBSim

Postby abassign » Fri Sep 11, 2015 9:05 pm

Image

Night Vision gas outlet reactor. We worked hard on this particular, the dark red color should be close to that of the output temperature of the gases declared by the manufacturer (650-750 ° C), while the blue ring is the luminous reflection of combustion through the turbine blades rear (it is a single-blade turbine rear).
To make it less static the image, we made two blade system, the first is the blading which reproduces the real one (Orpheus-Blades.001), the other (Orpheus-Blades.002) is the same, but made of transparent material that is rotated faster and with a negative value (-79 Factor). In this way the appearance of the blue ring is very variable making it it look like a flame that stirs inside. The effect is very attractive, but we preferred to keep low brightness as it should be just like that in reality.
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: FIAT G91-R (Gina) - JSBSim

Postby MIG29pilot » Fri Sep 11, 2015 9:38 pm

Is there a download link?
User avatar
MIG29pilot
 
Posts: 1465
Joined: Tue May 19, 2015 5:03 pm
Location: 6 feet under Snow
Callsign: MIG29pilot
Version: 2020.1.3
OS: Windows 10

Re: FIAT G91-R (Gina) - JSBSim

Postby hamzaalloush » Fri Sep 11, 2015 9:49 pm

hi abassign,

have you considered the halo effect with a dist-scale as Richard suggested, i'm curious as how that turned out.
hamzaalloush
 
Posts: 631
Joined: Sat Oct 26, 2013 10:31 am
OS: Windows 10

Re: FIAT G91-R (Gina) - JSBSim

Postby abassign » Fri Sep 11, 2015 10:39 pm

@hamzaalloush
I looked for the effect, but I find it very difficult and the explanation is not clear to me, so I want to insert it when I have more practice, this is the first plane that I make for FGFS. You must have a bit 'of patience.

@MIG29pilot
I hope soon, but the plane is still quite incomplete, is necessary to work on several things:
1. A more correct FDM
2. The landing gear
3. The interior of the cockpit
4. A minimum of flight instrumentation
5. Some improvement on the fuselage
However we want to make a realistic plane and well done airplane, so we do not hurry!
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: FIAT G91-R (Gina) - JSBSim

Postby abassign » Sat Sep 12, 2015 12:00 am

One problem is the light that passes through the fuselage and illuminates the motor rotor, It's nice, but you should see the rotor only when sunlight is in the rear direction of the engine. someone to say where is the problem ?

Image
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: FIAT G91-R (Gina) - JSBSim

Postby MIG29pilot » Sat Sep 12, 2015 12:22 am

That's not your fault. It happens with all fg if you don't have Rembrandt enabled. It doesn't recognize the fact that light cannot pass through objects.
User avatar
MIG29pilot
 
Posts: 1465
Joined: Tue May 19, 2015 5:03 pm
Location: 6 feet under Snow
Callsign: MIG29pilot
Version: 2020.1.3
OS: Windows 10

Re: FIAT G91-R (Gina) - JSBSim

Postby abassign » Sat Sep 12, 2015 10:44 pm

The problem of light filtering inside the exhaust pipe of the jet engine has been solved by darkening more the walls of the objects present in the interior. As you can see now the effect is much better, of course, mine is only a "trick" to solve a problem that apparently can not be solved in a different way. However, if someone has a better solution, I'd be happy to try a different way.

Image
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: FIAT G91-R (Gina) - JSBSim

Postby hamzaalloush » Sat Sep 12, 2015 10:59 pm

Reduced material ambient? Or done through texturing?
hamzaalloush
 
Posts: 631
Joined: Sat Oct 26, 2013 10:31 am
OS: Windows 10

Re: FIAT G91-R (Gina) - JSBSim

Postby MIG29pilot » Sat Sep 12, 2015 11:54 pm

I've got it. Try making adding the interior shading effect to that bit!
User avatar
MIG29pilot
 
Posts: 1465
Joined: Tue May 19, 2015 5:03 pm
Location: 6 feet under Snow
Callsign: MIG29pilot
Version: 2020.1.3
OS: Windows 10

Re: FIAT G91-R (Gina) - JSBSim

Postby Thorsten » Sun Sep 13, 2015 6:22 am

Cross-posting this from the devel list.

I've been tinkering with an interesting lighting workaround yesterday. The problem is that I have a semi-enclosed space and objects in it (the payload bay of the Shuttle in the event). As long as the doors are closed, it should be dark, but once they're open, the bay is of course illuminated by strong directional light and in addition can be illuminated by floodlights in opened or closed state. However a forward renderer knows nothing of closed doors, it only knows of whether a surface faces sunward or not.

Rembrandt solves this (but in a rather expensive way) of course, but we don't seem to have a graceful alternative. Killing the diffuse material via animation can make all objects go dark and not respond to direct light - but then they won't respond to the lightmap either.

However - in a single channel lightmap we have an unusued alpha channel. In a multi-channel lightmap, we have four light channels, out of which we could use one for something else. So by optionally assigning the alpha channel of the lightmap to a darkmap with a property-controlled strength it is possible to find a satisfactory solution - the alpha strength maps regions not reached by direct light. As the payload bay opens, direct light is allowed to filter in.

The effect isn't visually fully 'correct' - but it is plausible enough - and unlike Rembrandt dead-cheap, it's just two lines of fragment shader.

I will include it into the space shader effects, but I was wondering if there are use-cases in the lower atmosphere as well. From the top of my head, I'd think of deployable cargo in a cargo plane, and perhaps the gondola of an airship which is under very easy to determine conditions always shadowed by the gas bag. I don't know how we handle these situations right now, but if there are use cases, let me know.


Some visuals of the thing on my page.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: FIAT G91-R (Gina) - JSBSim

Postby abassign » Sun Sep 13, 2015 11:38 am

I think it's the lightmap is a good solution, but the lightmap must be build? There is some information that relates the shape of the light cache with the result that you can get?
Otherwise I like walking in the dark ...
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 14 guests