Board index FlightGear Development Scenery

EDDT (BERLIN-TEGEL) SCENERY

Questions and discussion about enhancing and populating the FlightGear world.

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby IceBreaker » Wed Feb 27, 2019 12:51 am

@Ger272 the modeling style of objects I really like it! All very clean, with a low-poly style that I prefer because the final effect is really nice and satisfying.

I would like Flighgear to adopt this style of modeling for the airports because I think it combines the right optimization with the excellent overall graphic style of the objects (well visible even at a distance).

I'd be curious to see the effect on VFR night flights.

Really a good job, these are days that I reflected on how to create the models of the airports and thanks to you I have confirmed that this style is the best to be adopted.
IceBreaker
 
Posts: 35
Joined: Sun Feb 24, 2019 12:00 am
Location: Italy
OS: Linux

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby Ger272 » Wed Feb 27, 2019 8:19 am

Thank you very much IceBreaker :)

For the appearance at night I want to creat a secound model with different coloring. Therefore I have a question: As other models also change their appearance is it possible to create an .xml-File which schedules the time for the .ac-File from which on the "Night-Model" is being used?

For example:
Model #1 = Day Model
Model #2 = Night Model
If daytime use Day Model
If nighttime use Night Model

<object-name>Day Model</object-name>
<condition>
<greater-than>
<property>/sim/time/sun-angle-rad</property>
<value>????</value>
</greater-than>
</condition>

<object-name>Night Model</object-name>
<condition>
<greater-than>
<property>/sim/time/sun-angle-rad</property>
<value>????</value>
</greater-than>
</condition>

Is there someone who is able to write such an .xml-File for EDDB and EDDT?
Download-Links to all available Ger272 liveries:

A320/A319 - A350XWB - A<380 - A310MRTT - C-160 Transall

--- DUE TO THE A320 RE-DESIGN ALL MY A320 TEXTURE AND LIVERY DEVELOPMENTS ARE ON A HOLD ---

For "How to download" check topic: Ger272 HQ Liveries.
Ger272
 
Posts: 222
Joined: Tue Nov 24, 2015 1:13 pm
Location: Germany (EDDT, EDDH, EDDC, EDDP, EDDF)
Callsign: LH390/ BER4EVR
Version: 2017.3.1
OS: Mac OS X 10.12.6

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby fmg » Wed Feb 27, 2019 9:44 am

There are several options for a night version. Depends what you prefer. I guess building a complete model therefore might be the worst one, since it doubles the data size.
1. You can use textranslate to shift the texture to a night-version. Then you you have normally to illuminate the model via xml at night. Pros: Just one model with no additions. Cons: it doubles your texture size.
Used for exaple here: https://scenery.flightgear.org/app.php? ... ew&id=1570

2. You can add parts to the model that are illuminated in the model that would be selected at night. I have done this for example in this model:
https://scenery.flightgear.org/app.php? ... ew&id=3289
For the night I only add some windows that become selected when it gets dark. The windows are just rects slightly in front of the building. So kind of fake, but if it's dark and you didn't go rather, rather close to the building you can't tell.

3. You can place SharedObjects via xml at your model, in this case probably lights, that become selected at night. I have done this for the red warning-lights in the model.
Pros: Your model can be smaller and less complex, with no redundant elements. Cons: Depends on that the SharedObject is available.

Using Rembrandt, Canvas or ALS there are even more possibilities, but I like to keep it simple and this stuffs dosen't work anyway in my old FG version here.
User avatar
fmg
 
Posts: 541
Joined: Tue Jun 29, 2010 5:13 pm
Location: EDDI
Callsign: fotomas
Version: 2
OS: Mac OS X 10.6.8

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby pb321 » Wed Feb 27, 2019 12:59 pm

Nice work! It looks great!
Night illumination is explained well in this Wiki:
http://wiki.flightgear.org/Howto:Illuminate_faces
pb321
 
Posts: 140
Joined: Sun Nov 27, 2016 4:08 pm
Version: 2019.2.1
OS: Windows 10 Pro

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby Ger272 » Wed Feb 27, 2019 5:14 pm

Thanks to all of these answers!!!
Just to avoid misunderstandings: My models do not have a texture map as the models are simply colorized in sketchUp (just one .ac-File). Therefore I thougth that it would be easier to simply copy the day-time model and change the colors for night-time and have two models in the end (EDDT-Day.ac and EDDT-Night.ac). This way I would just need an xml-File which schedules the use of these two models.
Download-Links to all available Ger272 liveries:

A320/A319 - A350XWB - A<380 - A310MRTT - C-160 Transall

--- DUE TO THE A320 RE-DESIGN ALL MY A320 TEXTURE AND LIVERY DEVELOPMENTS ARE ON A HOLD ---

For "How to download" check topic: Ger272 HQ Liveries.
Ger272
 
Posts: 222
Joined: Tue Nov 24, 2015 1:13 pm
Location: Germany (EDDT, EDDH, EDDC, EDDP, EDDF)
Callsign: LH390/ BER4EVR
Version: 2017.3.1
OS: Mac OS X 10.12.6

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby fmg » Wed Feb 27, 2019 6:00 pm

If you have no textures I would suggest to use method 2 that I described. Model just the things that should be illuminated (windows, lamps... *) with a emission defined in their model material. Then select this parts if it gets dark.

*guess you must already have the windows as a single surface without a texture
User avatar
fmg
 
Posts: 541
Joined: Tue Jun 29, 2010 5:13 pm
Location: EDDI
Callsign: fotomas
Version: 2
OS: Mac OS X 10.6.8

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby IceBreaker » Wed Feb 27, 2019 8:04 pm

Ger272 wrote in Wed Feb 27, 2019 5:14 pm:Thanks to all of these answers!!!
Just to avoid misunderstandings: My models do not have a texture map as the models are simply colorized in sketchUp (just one .ac-File). Therefore I thougth that it would be easier to simply copy the day-time model and change the colors for night-time and have two models in the end (EDDT-Day.ac and EDDT-Night.ac). This way I would just need an xml-File which schedules the use of these two models.


quiet, your style is the top in my opinion. Much better low-poly colored (without textures), lightweight and that give a really nice effect in the scenario of FG. In addition to this, it is a light style that is perfectly optimized and simple to make.
IceBreaker
 
Posts: 35
Joined: Sun Feb 24, 2019 12:00 am
Location: Italy
OS: Linux

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby Catalanoic » Wed Feb 27, 2019 10:46 pm

for textured buildings i prefer to have two separated texture files, one for night and the other for night like other sims/games, but we haven't the code yet for FG
User avatar
Catalanoic
 
Posts: 1056
Joined: Mon Mar 05, 2012 12:33 am
Location: Barcelona (LEBL)
Callsign: Catalanoic
Version: 2017.3
OS: Lubuntu/Windows 7

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby sidi762 » Thu Feb 28, 2019 10:00 am

Catalanoic wrote in Wed Feb 27, 2019 10:46 pm:for textured buildings i prefer to have two separated texture files, one for night and the other for night like other sims/games, but we haven't the code yet for FG


Hi Catalanoic,

Guessing you mean one for daytime and one for night, we actually can do that in FG by using lightmap eff files.
Here is my eff file used in my ZBNY scenery.


Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<PropertyList>
        <name>terminal</name>
        <inherits-from>/Effects/model-combined-deferred</inherits-from>
        <parameters>
                <!-- Light Map -->
                <lightmap-enabled type="int">1</lightmap-enabled>
                <lightmap-multi type="int">1</lightmap-multi>
                <texture n="3">
                  <image>org.aericaps.ZBNY/ZBNY01_02_LIT.png</image>
                  <wrap-s>repeat</wrap-s>
                  <wrap-t>repeat</wrap-t>
                </texture>
                <lightmap-factor type="float" n="0">1</lightmap-factor>
                <lightmap-factor type="float" n="1">1</lightmap-factor>
                <lightmap-factor type="float" n="2">1</lightmap-factor>
                <lightmap-color type="vec3d" n="0"> 1. 0. 0. </lightmap-color>
                <lightmap-color type="vec3d" n="1"> 0. 1. 0. </lightmap-color>
                <lightmap-color type="vec3d" n="2"> 0. 0. 1. </lightmap-color>
                <lightmap-factor type="float" n="3">0</lightmap-factor>
        </parameters>
</PropertyList>
sidi762
 
Posts: 130
Joined: Sat Jun 18, 2016 8:15 am
Location: Beijing, China
Callsign: DAG0762
Version: 2018.3.2
OS: MacOS Mojave

Re: EDDT (BERLIN-TEGEL) SCENERY

Postby Catalanoic » Fri Mar 01, 2019 11:22 pm

Exactly, thanks sidi762, i'll try it
User avatar
Catalanoic
 
Posts: 1056
Joined: Mon Mar 05, 2012 12:33 am
Location: Barcelona (LEBL)
Callsign: Catalanoic
Version: 2017.3
OS: Lubuntu/Windows 7

Previous

Return to Scenery

Who is online

Users browsing this forum: Bing [Bot] and 2 guests