Random questions about anything NEAR and IN the realm of YSFlight

Questions, comments, concerns, & fixes
User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3737
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1527 times
Been thanked: 1651 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by Neocon » Thu Jul 14, 2016 1:44 am

Assuming Windows, select multiple pink boxes, and ground objects, and anything else you want to rotate, by holding the CTRL key while clicking them with your mouse.

User avatar
Barr
Veteran
Veteran
Posts: 1003
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 268 times
Been thanked: 199 times

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by Barr » Thu Jul 14, 2016 2:42 am

Also if you just imported an fld. Immediately go and slept the edit>rotate option
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.

User avatar
Flake
Staff
Staff
Posts: 4252
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR1000RR (2004).
Location: Australia
OS: Windows 10 (x64)
Has thanked: 809 times
Been thanked: 1158 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by Flake » Thu Jul 14, 2016 3:20 am

Okay this is a bit advanced, copy paste the contents of the second FLD file onto the end of the first FLD file and see what happens.

User avatar
MrFunnybone
Contributor
Contributor
Posts: 376
Joined: Sat May 21, 2011 11:22 pm
Favorite Aircraft: UFO
Location: Northern California
Has thanked: 26 times
Been thanked: 84 times

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by MrFunnybone » Fri Jul 15, 2016 6:35 am

Does anyone know why the shrinkwrap projection isn't working? It doesn't even try to wrap around the object whearas when I use the "nearest surface point" option it works.

User avatar
u2fly
Veteran
Veteran
Posts: 1185
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 664 times
Been thanked: 267 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by u2fly » Fri Jul 15, 2016 9:11 am

MrFunnybone wrote:Does anyone know why the shrinkwrap projection isn't working? It doesn't even try to wrap around the object whearas when I use the "nearest surface point" option it works.
Your question not clear. Give more details, step-by-step and screenshots.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
Barr
Veteran
Veteran
Posts: 1003
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 268 times
Been thanked: 199 times

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by Barr » Fri Jul 15, 2016 12:49 pm

MrFunnybone wrote:Does anyone know why the shrinkwrap projection isn't working? It doesn't even try to wrap around the object whearas when I use the "nearest surface point" option it works.

It could be that the mesh you are trying to shrink-wrap doesn't have enough vertices to bend and wrap itself around the object.

Try cutting it up and try it again.

I think decaff covered it in his tutorial but just to mention it again, when you shrinkwrap you want to move the mesh as close the object as you can. Then enter the side view and try to get the vertices to align. This will give you a clean wrap and no "ghost" faces that cross each other.
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.

User avatar
decaff_42
First Class Membership
First Class Membership
Posts: 3412
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 535 times
Been thanked: 1192 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by decaff_42 » Fri Jul 15, 2016 1:00 pm

The most common mistake with projection is that we forget it is dependent on the object rotation/orientation of the object being shrinkwrapped. Reset the orientation of the object being shrinkwrapped w/ ctrl -> a -> 1. Then the projection directions should work with the global directions like you are expecting. Also try flipping positive and negative if the first step doesn't work.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

User avatar
kiwiflieger
Contributor
Contributor
Posts: 227
Joined: Thu Mar 27, 2014 7:09 am
Favorite Aircraft: Die Fledermaus
Has thanked: 125 times
Been thanked: 92 times

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by kiwiflieger » Sun Jul 17, 2016 9:09 pm

Hello everyone,
I've noticed a difference in how DirectX and OpenGL render large elevation grids.
The top image is DirectX and the lower OpenGL 2.
directx.png
opengl.png
When your POV is at an acute angle to horizontal, OpenGL appears to make the elev. grid in front of any lower faces disappear, including polygons. It also makes some mountains appear transparent, and you only realise they're there once it's too late. :evil:
However, DirectX appears to be immune to this. :?: Is there any sort of graphics card / YSF setting that might change this?
Currently dormant... playing IL2 Cliffs of Dover

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3737
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1527 times
Been thanked: 1651 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by Neocon » Sun Jul 17, 2016 11:02 pm

OpenGL2 doesn't like elevation grids with protected faces/maps on them.

User avatar
kiwiflieger
Contributor
Contributor
Posts: 227
Joined: Thu Mar 27, 2014 7:09 am
Favorite Aircraft: Die Fledermaus
Has thanked: 125 times
Been thanked: 92 times

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by kiwiflieger » Sun Jul 17, 2016 11:10 pm

Patrick31337 wrote:OpenGL2 doesn't like elevation grids with protected faces/maps on them.
Damn. Oh well.
Currently dormant... playing IL2 Cliffs of Dover

User avatar
u2fly
Veteran
Veteran
Posts: 1185
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 664 times
Been thanked: 267 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by u2fly » Sun Jul 17, 2016 11:26 pm

Patrick31337 wrote:OpenGL2 doesn't like elevation grids with protected faces/maps on them.
Did you reported it to Soji?
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
MrFunnybone
Contributor
Contributor
Posts: 376
Joined: Sat May 21, 2011 11:22 pm
Favorite Aircraft: UFO
Location: Northern California
Has thanked: 26 times
Been thanked: 84 times

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by MrFunnybone » Sun Jul 17, 2016 11:37 pm

I think that issue has been known for a long time, which is why patrick's hawaii map must be run in D3d

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3737
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1527 times
Been thanked: 1651 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by Neocon » Mon Jul 18, 2016 12:16 am

That's strange. I run it fine on OpenGL2. Of course, you can see through the elevation grid on the big island at the military base.

User avatar
u2fly
Veteran
Veteran
Posts: 1185
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 664 times
Been thanked: 267 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by u2fly » Sun Aug 14, 2016 12:14 am

How hide ground objects from radars?
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
Flake
Staff
Staff
Posts: 4252
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR1000RR (2004).
Location: Australia
OS: Windows 10 (x64)
Has thanked: 809 times
Been thanked: 1158 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by Flake » Sun Aug 14, 2016 3:51 am

Did you try using the RADAR CROSS SECTION (RADARCRS?) Dat variable? Did that work?

User avatar
u2fly
Veteran
Veteran
Posts: 1185
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 664 times
Been thanked: 267 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by u2fly » Sun Aug 14, 2016 3:55 am

OfficerFlake wrote:Did you try using the RADAR CROSS SECTION (RADARCRS?) Dat variable? Did that work?
RADARCRS is for aircraft or ground? I don`t remember now. How use it?
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

NightRaven
Senior Veteran
Senior Veteran
Posts: 1843
Joined: Tue Feb 07, 2012 10:00 am
Favorite Aircraft: .
OS: windoze 10 64-bit
Has thanked: 528 times
Been thanked: 606 times

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by NightRaven » Sun Aug 14, 2016 4:17 am

I think RADARCRS applies only to aircraft.

I remember the 2ch maps have some SAM sites that are invisible to radar. Might want to look into that.
fk dis place kthxbai

User avatar
u2fly
Veteran
Veteran
Posts: 1185
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 664 times
Been thanked: 267 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by u2fly » Sun Aug 14, 2016 4:44 am

NightRaven wrote:I think RADARCRS applies only to aircraft.
I remember the 2ch maps have some SAM sites that are invisible to radar. Might want to look into that.
Interesting
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
Flake
Staff
Staff
Posts: 4252
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR1000RR (2004).
Location: Australia
OS: Windows 10 (x64)
Has thanked: 809 times
Been thanked: 1158 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by Flake » Sun Aug 14, 2016 6:32 am

I think I understand the question.

GAMEOBJE FALSE

Used in ground/tree1.dat

User avatar
u2fly
Veteran
Veteran
Posts: 1185
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 664 times
Been thanked: 267 times
Contact:

Re: Random questions about anything NEAR and IN the realm of YSFlight

Post by u2fly » Thu Aug 18, 2016 2:18 am

Anybody know how set font (typeface) in ".../YSFLIGHT/config/option.cfg" file?
Here is two strings that related to font inside this file

Code: Select all

FONTNAME ""
FONTHEIGHT 14
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest