BGS - The BackgroundSet

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2553
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: BGS - The BackgroundSet v1.10.9

Post by spara » Sat May 23, 2015 10:33 am

Norby wrote:Please test it for sure and feel free to make a proper fix. ;)
Thanks, I'll test it a bit :D . This being one the most used OXPs around, it's somewhat essential that the default install after download is as flawless as possible. My plate is quite full at the moment, but that status will change over time. At that point, if no one else has upgraded the XMapping component to use SystemInfo.setInterstellarProperty, I can take a look at it.

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: BGS - The BackgroundSet

Post by Svengali » Sat May 23, 2015 11:04 am

Thanks Cody and Day.
If it's just one moment its most likely Oolite setting up the new system. The shader is expensive and using discard may be another factor (there's no other way though).

Other options would be to change expensive code parts (atan2 > atan or even sqrt, length > sqrt or even dot, smoothstep > max or min) and helping the compiler by using scalar ops and changing the evaluation order. Before I left a new shader was nearly done (~50% less instructions), only some minor details were missing. Probably just a few minutes work to get the settings right.

@Norby, spara: If you are at it shaderEffectsLevel in BGS-M.js needs also to be changed .-)

User avatar
Norby
---- E L I T E ----
---- E L I T E ----
Posts: 2543
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: BGS - The BackgroundSet

Post by Norby » Sat May 23, 2015 12:54 pm

Svengali wrote:shaderEffectsLevel in BGS-M.js needs also to be changed
A simple replace to the new detailLevel is not enough so I do not do this atm.

1. The current bug is working as a help also which allow to see the nice docking effect regardless of the player set down the detail to get more FPS in combat.

2. There is another problem (at least at me on Intel HD) which display a static centered texture instead of the old docking animation when bgsDockingFX is false, which currently is solved by the mentioned bug and I do not want to fix something which cause another bug what I can not solve easily.

Zireael
---- E L I T E ----
---- E L I T E ----
Posts: 1396
Joined: Tue Nov 09, 2010 1:44 pm

Re: BGS - The BackgroundSet

Post by Zireael » Sat May 23, 2015 2:32 pm

Svengali wrote:Thanks Cody and Day.
If it's just one moment its most likely Oolite setting up the new system. The shader is expensive and using discard may be another factor (there's no other way though).

Other options would be to change expensive code parts (atan2 > atan or even sqrt, length > sqrt or even dot, smoothstep > max or min) and helping the compiler by using scalar ops and changing the evaluation order. Before I left a new shader was nearly done (~50% less instructions), only some minor details were missing. Probably just a few minutes work to get the settings right.

@Norby, spara: If you are at it shaderEffectsLevel in BGS-M.js needs also to be changed .-)
I have the stutter when arriving at the new system, too. So whatever is being done on this end would be very welcome!

User avatar
Day
---- E L I T E ----
---- E L I T E ----
Posts: 518
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: BGS - The BackgroundSet

Post by Day » Sat May 23, 2015 5:14 pm

Svengali wrote:Thanks Cody and Day.
If it's just one moment its most likely Oolite setting up the new system. The shader is expensive and using discard may be another factor (there's no other way though).

Other options would be to change expensive code parts (atan2 > atan or even sqrt, length > sqrt or even dot, smoothstep > max or min) and helping the compiler by using scalar ops and changing the evaluation order. Before I left a new shader was nearly done (~50% less instructions), only some minor details were missing. Probably just a few minutes work to get the settings right.
Yum, seems quite fun coding :-p

Layne
---- E L I T E ----
---- E L I T E ----
Posts: 355
Joined: Sat Mar 28, 2015 11:14 pm

Re: BGS - The BackgroundSet

Post by Layne » Sat May 23, 2015 5:43 pm

Zireael wrote:I have the stutter when arriving at the new system, too.
Perhaps you're just shy around pirates you haven't met yet?
Reports of my death have been greatly underestimated.

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: BGS - The BackgroundSet

Post by Svengali » Sun May 24, 2015 9:50 am

Is OO_REDUCED_COMPLEXITY still available in v1.80+? Or any other attibute to allow control about it?

User avatar
Day
---- E L I T E ----
---- E L I T E ----
Posts: 518
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: BGS - The BackgroundSet

Post by Day » Sun May 24, 2015 7:40 pm

Layne wrote:
Zireael wrote:I have the stutter when arriving at the new system, too.
Perhaps you're just shy around pirates you haven't met yet?
Rolling on the floor laughing...

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 960
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: BGS - The BackgroundSet

Post by Getafix » Mon May 25, 2015 5:21 pm

Statter at the first jump, but no stutter if I directly perform a second jump.
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: BGS - The BackgroundSet

Post by Svengali » Mon May 25, 2015 9:26 pm

I've uploaded the new files (shader+texture) -> https://app.box.com/s/m3p4nutld442eb30sv6hkigf0thdgnek (29.2 KB).

Performance should be much better now.

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13693
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: BGS - The BackgroundSet

Post by Cody » Mon May 25, 2015 10:10 pm

They need to be dropped into the latest version of BGS, I presume? In my slightly older version, they produce strange results.

I'll install the latest .oxz version of BGS and check that. Done - same result. Have I done something wrong?
Their dreams a tattered sail in the wind

User avatar
phkb
Commodore
Commodore
Posts: 2438
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

Re: BGS - The BackgroundSet

Post by phkb » Tue May 26, 2015 5:01 am

I'm seeing the same strange results as well with the next shaders/textures.

User avatar
Day
---- E L I T E ----
---- E L I T E ----
Posts: 518
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: BGS - The BackgroundSet

Post by Day » Tue May 26, 2015 10:17 am

I wonder how much of this stutter is due to oxps working their own operations?

User avatar
Svengali
---- E L I T E ----
---- E L I T E ----
Posts: 2365
Joined: Sat Oct 20, 2007 2:52 pm

Re: BGS - The BackgroundSet

Post by Svengali » Tue May 26, 2015 12:15 pm

Cody wrote:In my slightly older version, they produce strange results.
I guess my driver isn't picky enough about NaN and silently 'optimizes' :?

So, next try -> https://app.box.com/s/mavp90c7p1jfo8l4038zzmut0hqie13n

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 13693
Joined: Sat Jul 04, 2009 9:31 pm
Location: Corke's Drift
Contact:

Re: BGS - The BackgroundSet

Post by Cody » Tue May 26, 2015 2:08 pm

Alas, still the same problem, amigo!
Their dreams a tattered sail in the wind

Post Reply