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: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: BGS - The BackgroundSet v1.10.9

Post by spara »

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
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: BGS - The BackgroundSet

Post by Svengali »

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: 2577
Joined: Mon May 20, 2013 9:53 pm
Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
Contact:

Re: BGS - The BackgroundSet

Post by Norby »

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 »

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: 545
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: BGS - The BackgroundSet

Post by Day »

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 »

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
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: BGS - The BackgroundSet

Post by Svengali »

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: 545
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: BGS - The BackgroundSet

Post by Day »

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: 979
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 »

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
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: BGS - The BackgroundSet

Post by Svengali »

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: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: BGS - The BackgroundSet

Post by Cody »

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?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: BGS - The BackgroundSet

Post by phkb »

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: 545
Joined: Tue Mar 03, 2015 11:35 am
Location: Paris

Re: BGS - The BackgroundSet

Post by Day »

I wonder how much of this stutter is due to oxps working their own operations?
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: BGS - The BackgroundSet

Post by Svengali »

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: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: BGS - The BackgroundSet

Post by Cody »

Alas, still the same problem, amigo!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply