clever find there,hope he develop the mobile version that might soon be released,might try to install addons if it's finished.NajmiCreative wrote:recent post from Soji...just take the last paragraph and left all of itat last,the development continues back... especially for mobile ones (I guess? )Soji wrote:I need to resume YSFLIGHT development as well. .... Where was I stopping? I feel like decades have passed since I saw the YSFLIGHT code last time.
New things from Soji
-
- Contributor
- Posts: 432
- Joined: Mon Aug 10, 2015 1:35 pm
- Favorite Aircraft: Boeing 787
- OS: Mac OS X Yosemite
- Has thanked: 111 times
- Been thanked: 52 times
Re: New things from Soji
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: New things from Soji
Thanks, good news.NajmiCreative wrote:recent post from Soji...just take the last paragraph and left all of itat last,the development continues back... especially for mobile ones (I guess? )Soji wrote:I need to resume YSFLIGHT development as well. .... Where was I stopping? I feel like decades have passed since I saw the YSFLIGHT code last time.
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”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
- Gunny
- Business Class Membership
- Posts: 3250
- Joined: Sun Feb 06, 2011 6:17 pm
- Favorite Aircraft: Any thing with a prop.
- Location: New Iberia.LA.
- OS: Windows 10 & XP SP3
- Has thanked: 586 times
- Been thanked: 786 times
Re: New things from Soji
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: New things from Soji
So, KEEP CALM and WAIT FOR NEW POLYGON CREST!Soji Yamakawa wrote:2.06.2016, 03:29
Re: PolygonCrest
Hi U2fly,
Thank you for the E-Mail and I'm sorry for late reply.
I'll soon upload the new version of Polygon Crest. I was extremely busy for the past six months or so, and my out-of-work activities were very much reduced. But, I am trying to get back to speed.
Soji
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”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: New things from Soji
Soji Yamakawa wrote:Casting Shadow with the Shadow-Map Method
(November 26, 2016)
In YSFLIGHT for OpenGL 2.0, I have implemented the shadow-map method. I believe it can also be done with Direct X9, but, I don't want to spend even a second to learn an API that runs on only one operating system, and even declared deprecated by the vendor. Shadow-map feature will be available only in YSFLIGHT on OpenGL 2.0/ES 2.0 for now. If Vulkun API catches up the speed, I will add support for Vulkun. Then the shadow- map feature will be available in YSFLIGHT on Vulkun then. But, I don't know how popular Vulkun can become. It may just fade away. Right now, there is no replqcement of OpenGL 1.1. I need to go very high- level, which is pretty much useless for me, or very low-level, which needs work to make it useful for me. Not everyone needs photo-realistic movie- like graphics. For me, I need 3D graphics to prove my concept in my research. OpenGL 1.1 was just good for my purpose. To use OpenGL 2.0 with ease, I wrote a cover library. Maybe I'll need to do the same for Vulkan eventually.
But, what I desperately want to avoid is to spend considerable time to lean how to use Vulkun only to see Vulkun just fading away. I wasted too much time to learn Direct3D9. Microsoft ditched it in Direct X10. If I knew my knowledge in DirectX9 becomes useless in such a short time, I definitely wouldn't have wasted time learning Direct3D9. I learned from it. I will never spend time learning Direct X12.
The shadow-map method is a standard method for rendering shadow in the recent 3D graphics applications. However, most of the 3D- graphics techniques are not good for rendering a scene that expands up to 20 miles. First I need to render a texture in which each pixel is a distance from the light source. But, even if I use 2048x2048 texture, one pixel corresponds to 0.01 mile. A shadow of a F-18 becomes a square. Useless.
The solution is to use multiple shadow-maps. I have tried a method that is said to be the most efficient method to this day called Cascaded Shadow Map (CSM) with three shadow-map textures. But, it turned out still too coarse. Useless. If you have a high-end GPU, and if I can increase the shadow-map count to like 8 or 10, it may be useful. But, my goal is to keep YSFLIGHT comfortable with 3-year old hardware. Three shadow-maps seems to be the maximum, based on the performance on 2014 Mac mini. Actually, this method has a problem, too. Imagine a formation passes above you from the behind. The light source is also to the back far above. The shadow of the formation must be visible before the formation comes in to the view. However, if I implement the CSM method as described in the paper, the shadow won't be visible until the formation is in the view frustum.
In conclusion, I need to adjust the light volume depending on the view mode. CSM might be generally good solution, but if I am looking at a particular airplane, I want the maximum resolution around the airplane, not close to the view point. I haven't implement this adaptive light- volume yet, but I tested the implementation with a very ad-hoc light volumes.
By the way, I also reduced the shaking of the rendering when the view point is far from the origin. The problem was that the GPU calculates matrices in 32- bit floating points. I have modified my code so that CPU calculates the transformation matrices using 64-bit floating points. This change essentially gets rid of the shaking. A few years ago everyone was talking about General Purpose GPU. But, GPU vendors are stubbornly refusing to support 64-bit floating points. 32-bit floating point is too inprecise for serious applications. GPUs are pretty much useless for many engineering applications, until GPUs are capable of calculating 64-bit floating points.
Nonetheless, maximum Z-buffer precision used to be 16-bit. Now, it looks like the low-end GPU supports at least 24-bit Z-buffer. I am thinking to remove "Z-Buffer Quality" option in YSFLIGHT and simplify the rendering code.
By the way, I have tried machine learning to fly an airplane in YSFLIGHT, too. I tried to make a speed-controller with machine learning. Unless my machine-learning code can control the speed, there is no way to do more complex flying with it. The result was a failure. I let an airplane fly in many different conditions and used flight records as learning data. Then, I made my machine-learning code to control the airspeed. But, it didn't work well. I guess I need to study more about machine learning. Eventually I can make something. Let's see.
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”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
-
- Senior Veteran
- Posts: 1851
- Joined: Tue Feb 07, 2012 10:00 am
- Favorite Aircraft: .
- OS: windoze 10 64-bit
- Has thanked: 617 times
- Been thanked: 619 times
Re: New things from Soji
- Vic Viper
- Staff
- Posts: 541
- Joined: Thu Feb 24, 2011 7:01 pm
- Favorite Aircraft: de Havilland Mosquito
- Location: -9° 59' 6.90", -138° 49' 35.51
- OS: Windows 2001
- Has thanked: 392 times
- Been thanked: 199 times
- Contact:
Re: New things from Soji
VFA-49 FORUM
- Nodoka Hanamura
- Veteran
- Posts: 947
- Joined: Thu Apr 07, 2011 8:01 pm
- Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
- OS: Windows 10 / Linux
- Has thanked: 539 times
- Been thanked: 276 times
Re: New things from Soji
And that is how letters get shit done.By the way, I also reduced the shaking of the rendering when the view point is far from the origin. The problem was that the GPU calculates matrices in 32- bit floating points. I have modified my code so that CPU calculates the transformation matrices using 64-bit floating points. This change essentially gets rid of the shaking. A few years ago everyone was talking about General Purpose GPU. But, GPU vendors are stubbornly refusing to support 64-bit floating points. 32-bit floating point is too inprecise for serious applications. GPUs are pretty much useless for many engineering applications, until GPUs are capable of calculating 64-bit floating points.
But yeah, Good to see Soji applied that fix successfully. Hopefully we'll see a new build before the end of the year or by next spring.
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: New things from Soji
Ooooo I think I know where this is going. Sun/Moon?Casting Shadow with the Shadow-Map Method
Called it.By the way, I also reduced the shaking of the rendering when the view point is far from the origin. The problem was that the GPU calculates matrices in 32-bit floating points.
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: New things from Soji
Why Soji still not implement for scenery geographical coordinate system (as "globe" with 0...360 deg longitude and -90...+90 deg for latitude ) that is continued instead of current center-oriented coordinate system (now its is "plane" coordinates are -∞...0...+∞)???xX_SuperSic58_Xx wrote:Called it.By the way, I also reduced the shaking of the rendering when the view point is far from the origin. The problem was that the GPU calculates matrices in 32-bit floating points.
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”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1726 times
- Contact:
Re: New things from Soji
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- m88youngling
- Contributor
- Posts: 117
- Joined: Thu Nov 07, 2013 11:54 pm
- Favorite Aircraft: R-9A Arrowhead - F-16C Rainbow Falcon
- Has thanked: 38 times
- Been thanked: 42 times
- Contact:
Re: New things from Soji
Maybe even modifiable textures for them, and combined with OYS you could get moon phases over time.
- Neocon
- First Class Membership
- Posts: 3955
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1769 times
- Been thanked: 1810 times
- Contact:
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: New things from Soji
No, in geographical coordinates there no meaning for "far away", because its a sphere and it hasn't start or end.decaff_42 wrote:It is probably because you will run into a similar problem when really far away. The radial coordinate would be something like 356.34543463453..... You would still eventually run out of floating point precision, just in a different way.
Only thing needed to fix there is precision (0.01 or 0.00001, etc.) of YSFlight position. And it's possible use fixed-point numbers instead of floating there.
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”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
- decaff_42
- Staff
- Posts: 3838
- Joined: Sat Oct 29, 2011 7:23 pm
- Favorite Aircraft: SR-71 Blackbird
- Location: Eastern United States
- OS: Mac OSX
- Has thanked: 844 times
- Been thanked: 1726 times
- Contact:
Re: New things from Soji
Basically I think it all comes down to what already exists. A change to a geographical coordinate system would require a massive overhaul of the code for maps, replays, and probably a lot more that I'm not thinking of. Without some sort of translation code, any old FLD would become useless overnight.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories
YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
- u2fly
- Senior Veteran
- Posts: 1485
- Joined: Fri Oct 02, 2015 9:27 am
- Favorite Aircraft: Antonov An-225 Mriya
- Location: Ukraine
- OS: Linux
- Has thanked: 1051 times
- Been thanked: 339 times
Re: New things from Soji
Yeah, I think this was major mistake of Soji when he firstly choose how scenery would be represented in YSFlight. But, as for me, now its a time to fix it as I described above. There no need change DNM or SRF coordinate system, but FLD and YFS ("YSFlight's world")decaff_42 wrote:Okay I understand what you are saying now.
Basically I think it all comes down to what already exists. A change to a geographical coordinate system would require a massive overhaul of the code for maps, replays, and probably a lot more that I'm not thinking of. Without some sort of translation code, any old FLD would become useless overnight.
P.S.: "- Better (make this) late than never."
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”
pic.twitter.com/vkz0gdozVV [archived]
(31 DEC 2016)
- Neocon
- First Class Membership
- Posts: 3955
- Joined: Wed Oct 19, 2011 5:01 am
- Favorite Aircraft: Baron 58
- Location: Tennessee
- OS: Win 10
- Has thanked: 1769 times
- Been thanked: 1810 times
- Contact:
Re: New things from Soji
I just don't see it happening any time soon.
- Flake
- VFA-49
- Posts: 4375
- Joined: Thu Feb 10, 2011 8:47 pm
- Favorite Aircraft: Boeing F/A-18A
- Location: Australia
- OS: Windows 10 (x64)
- Has thanked: 861 times
- Been thanked: 1279 times
- Contact:
Re: New things from Soji
Because at the very least that would require another translation matrix and that would reduce render speed.u2fly wrote:Why Soji still not implement for scenery geographical coordinate system
Honestly I think he's done for now. With a 64 bit decimal the maps can be much MUCH larger. We could make a world map finally.
-
- Newbie
- Posts: 10
- Joined: Sun May 08, 2016 12:56 am
- Favorite Aircraft: B-1B Lancer
- OS: MacOS Ventura
- Has thanked: 4 times
- Been thanked: 4 times
Re: New things from Soji
Does that mean that Project Atlas will continue?xX_SuperSic58_Xx wrote:Because at the very least that would require another translation matrix and that would reduce render speed.u2fly wrote:Why Soji still not implement for scenery geographical coordinate system
Honestly I think he's done for now. With a 64 bit decimal the maps can be much MUCH larger. We could make a world map finally.
- Nodoka Hanamura
- Veteran
- Posts: 947
- Joined: Thu Apr 07, 2011 8:01 pm
- Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
- OS: Windows 10 / Linux
- Has thanked: 539 times
- Been thanked: 276 times
Re: New things from Soji
What's Project Atlas?Stormraider wrote:Does that mean that Project Atlas will continue?xX_SuperSic58_Xx wrote:Because at the very least that would require another translation matrix and that would reduce render speed.u2fly wrote:Why Soji still not implement for scenery geographical coordinate system
Honestly I think he's done for now. With a 64 bit decimal the maps can be much MUCH larger. We could make a world map finally.
Who is online
Users browsing this forum: No registered users and 8 guests