Board index FlightGear Development Scenery

Line overlapping a ground sign

Questions and discussion about enhancing and populating the FlightGear world.

Line overlapping a ground sign

Postby Wizmo » Mon Oct 16, 2017 3:50 pm

Hello guys,

I made some ground signs for my airport and I have an issue with the lines. Indeed, the lines overlap my ground signs ( which is only a plane object on the ground).
Image

Do you have any idea on how i can fix it ?

Wizmo
Wizmo
 
Posts: 18
Joined: Mon Sep 25, 2017 3:53 pm

Re: Line overlapping a ground sign

Postby legoboyvdlp » Mon Oct 16, 2017 5:04 pm

Presuming you used the UFO, move the 3D object up a little bit :)
User avatar
legoboyvdlp
 
Posts: 7981
Joined: Sat Jul 26, 2014 2:28 am
Location: Northern Ireland
Callsign: G-LEGO
Version: next
OS: Windows 10 HP

Re: Line overlapping a ground sign

Postby aTazul » Mon Oct 16, 2017 6:41 pm

legoboyvdlp wrote in Mon Oct 16, 2017 5:04 pm:Presuming you used the UFO, move the 3D object up a little bit :)


How do u edit the scenery with the UFO (windows 7)?
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Re: Line overlapping a ground sign

Postby Zequinha » Mon Oct 16, 2017 8:04 pm

1. Copy the .ac model (and png texture) into your C:\Programs\Flightgear\data\models folder (not sure the exact folder, since I am using the GNU operating system).

2. Start up FlightGear and choose the UFO from the list of installed aircrafts

3. Travel to the place where you want to add your object and press the 'space' key. A menu will appear with your models that you can add.

4. Press '=' to get a menu where you change orientation, height, ...

And that should be it!

Good luck :)
Zequinha
 
Posts: 204
Joined: Sun Mar 13, 2016 5:26 pm
OS: GNU

Re: Line overlapping a ground sign

Postby aTazul » Tue Oct 17, 2017 2:34 am

Zequinha wrote in Mon Oct 16, 2017 8:04 pm:1. Copy the .ac model (and png texture) into your C:\Programs\Flightgear\data\models folder (not sure the exact folder, since I am using the GNU operating system).

2. Start up FlightGear and choose the UFO from the list of installed aircrafts

3. Travel to the place where you want to add your object and press the 'space' key. A menu will appear with your models that you can add.

4. Press '=' to get a menu where you change orientation, height, ...

And that should be it!

Good luck :)


Thanks for that, I needed that (I'm such a noob)
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7

Re: Line overlapping a ground sign

Postby Wizmo » Tue Oct 17, 2017 9:13 am

This solutio doesn't work.

I have to add that I modify the file " Effects/lfeat.eff" the factor of the polygon offset in order to stop the lines' flickering.
Code: Select all
<polygon-offset>
   <factor>-10</factor>
   <units>-1.0</units>
 </polygon-offset>


Thanks to that the lines stop flickering but now they overlap the ground signs.
Wizmo
 
Posts: 18
Joined: Mon Sep 25, 2017 3:53 pm

Re: Line overlapping a ground sign

Postby Thorsten » Tue Oct 17, 2017 10:11 am

You can not request an agressive offset and then complain that the offset does something.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Line overlapping a ground sign

Postby Wizmo » Tue Oct 17, 2017 10:20 am

So is there another possibility to have a correct line and a correct ground sign ?
Wizmo
 
Posts: 18
Joined: Mon Sep 25, 2017 3:53 pm

Re: Line overlapping a ground sign

Postby Thorsten » Tue Oct 17, 2017 11:22 am

It's a z-ordering issue - probably you have to delve deep into the rendering pipeline - three planar objects stacked on top of each other are always problematic and might need manual intervention.

Well, you could try rendering the sign with lfeat.eff and give it a slightly more agressive offset than used for the lines. Maybe this does the trick, maybe not.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Line overlapping a ground sign

Postby Catalanoic » Tue Oct 17, 2017 2:28 pm

Same issue for my airport ramps, i set some positive offset and made uncolisionable for vehicles and aircraft: viewtopic.php?f=5&t=31928
User avatar
Catalanoic
 
Posts: 1099
Joined: Mon Mar 05, 2012 1:33 am
Location: Barcelona (LEBL)
Callsign: Catalanoic
Version: 2017.3
OS: Lubuntu/Windows 7

Re: Line overlapping a ground sign

Postby Wizmo » Tue Oct 17, 2017 2:45 pm

I don't get it, how do you set a positiv offset for this object ?
How can I try rendering the sign with lfeat.eff ??

Your problem doens't seems to be the same as mine.
Wizmo
 
Posts: 18
Joined: Mon Sep 25, 2017 3:53 pm

Re: Line overlapping a ground sign

Postby Catalanoic » Tue Oct 17, 2017 3:27 pm

well, you made a 2d object and placed on ground, right?, so, when you get coordinates and altitude you can count some minimal positive offset to see that object over ground and rendered taxiway lines. i don't think modifying an effect will solve this until code can't check ground signs, markings and ramps.
PS: to elevate object use key "=" with ufo when you added an object and play with the elev. bar. or if you saved the STG line, modify the altitude but keep record the original altitude to know the offset
Last edited by Catalanoic on Tue Oct 17, 2017 3:36 pm, edited 1 time in total.
User avatar
Catalanoic
 
Posts: 1099
Joined: Mon Mar 05, 2012 1:33 am
Location: Barcelona (LEBL)
Callsign: Catalanoic
Version: 2017.3
OS: Lubuntu/Windows 7

Re: Line overlapping a ground sign

Postby Thorsten » Tue Oct 17, 2017 3:35 pm

i don't think modifying an effect will solve this until code can't check ground signs, markings and ramps.


I think it may, because the effect doesn't need to do this because you can tell it what is what.

How can I try rendering the sign with lfeat.eff ??


http://wiki.flightgear.org/Howto:Add_ef ... n_aircraft
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Line overlapping a ground sign

Postby aTazul » Tue Oct 17, 2017 6:26 pm

Zequinha wrote in Mon Oct 16, 2017 8:04 pm:1. Copy the .ac model (and png texture) into your C:\Programs\Flightgear\data\models folder (not sure the exact folder, since I am using the GNU operating system).

2. Start up FlightGear and choose the UFO from the list of installed aircrafts

3. Travel to the place where you want to add your object and press the 'space' key. A menu will appear with your models that you can add.

4. Press '=' to get a menu where you change orientation, height, ...

And that should be it!

Good luck :)


Thanx. It's in C:/program files/flightgear2017.3.1/data/models. I really needed that.
-aTazul
aTazul
 
Posts: 26
Joined: Sun Oct 15, 2017 1:24 pm
Location: I fly in the London area (EGLL, EGLC, EGKK...)
Callsign: BAW95, AAL1337
Version: 2018.2
OS: Windows 7


Return to Scenery

Who is online

Users browsing this forum: No registered users and 4 guests