I like that, especially it it is noticeable.Norby wrote:the effect can depend on the distance of the jump to show different distorsions in various speeds caused by the nonlinear distance vs. travel time formula.
BGS - The BackgroundSet
Moderators: winston, another_commander
Re: BGS - The BackgroundSet
Re: BGS - The BackgroundSet
I like Norby's idea of varying jump effects, too.
Where do I put those new effects for testing? I might have some time tomorrow...
Where do I put those new effects for testing? I might have some time tomorrow...
Re: BGS - The BackgroundSet
Sure, it's possible, but I think it would be better to add a second visual effect. The same shader is used for docking and launching (with only a time offset) so you'd need to handle this as well. Or separate them - then it's just another texture lookup replacing the line withCommander_X wrote:One last question: would it be hard to replace the black rectangle of death of the docking transition in BGS with the (say) manifest image background?
discard
.If you are using the OXZ, then you only need to place these files in the AddOns folder, e.g. in My.oxp\shaders and My.oxp\textures. If you want the more colorful settings you'll need to changeZireael wrote:Where do I put those new effects for testing? I might have some time tomorrow...
.bgsHyperControl
in BGS-M.js
though. The released script only uses 0,0 1,0 or 0,1 atm.-
- ---- E L I T E ----
- Posts: 675
- Joined: Sat Aug 09, 2014 4:16 pm
Re: BGS - The BackgroundSet
Thank you, the hint with discard helped!Svengali wrote:Sure, it's possible, but I think it would be better to add a second visual effect. The same shader is used for docking and launching (with only a time offset) so you'd need to handle this as well. Or separate them - then it's just another texture lookup replacing the line withdiscard
.
For the record:
- it's quite easy to handle docking/launching cases, as the time offset is an int to signal the launching (thus 0 when docking).
- these are the trivial changes (for BGS-A_1.10.9) if anyone is curious enough to see how it maps:
1. in effectdata.plist:
a. add a
Code: Select all
,{name="../Images/bgs-i_statusdocked.png"; repeat_s = false; repeat_t = false;}
[b]textures = {...}[/b]
section for [b]bgs_docking[/b]
effectb. insert a
Code: Select all
bgImage = {type = texture; value = 1;};
[b]diffuseMap = {...}[/b]
in the [b]uniforms[/b]
subsection of the above.2. in the bgs_docking.fragment:
a. add a
Code: Select all
uniform sampler2D bgImage;
[b]diffuseMap[/b]
b. replace the
Code: Select all
if(dt>0.1) discard;
Code: Select all
if(dt>0.1)
{
if (timeOffset != 1)
col = texture2D(bgImage,vec2(0.5 + vTexCoord.st.x, 0.5 - vTexCoord.st.y)).rgb;
else
discard;
}
Re: BGS - The BackgroundSet
@Commander_X: But be aware that this adds even more branching. Probably it's time to redo this shader.
Edit: I guess it doesn't hurt to pass the coloring of the tint and glowing lines as uniform.
Edit: I guess it doesn't hurt to pass the coloring of the tint and glowing lines as uniform.
-
- ---- E L I T E ----
- Posts: 675
- Joined: Sat Aug 09, 2014 4:16 pm
Re: BGS - The BackgroundSet
I won't redo it! (I know! I know! It was not me you were referring at.)Svengali wrote:@Commander_X: But be aware that this adds even more branching. Probably it's time to redo this shader.
On a more serious note, why not work from your old animation demo with a different setup -- e.g. a short zoom in the station interior faded to the docked background? I think the interior view of the station model as is, should be enough for the visual suggestion, without any extra modeling of the docks. Maybe a bit of playing with the lighting, to avoid the "duplication" of the scenery.
Re: BGS - The BackgroundSet
It's not possible to get this right. The docking effect has to be done as VisualEffect with theCommander_X wrote:On a more serious note, why not work from your old animation demo with a different setup -- e.g. a short zoom in the station interior faded to the docked background? I think the interior view of the station model as is, should be enough for the visual suggestion, without any extra modeling of the docks. Maybe a bit of playing with the lighting, to avoid the "duplication" of the scenery.
is_break_pattern = true;
flag when Oolite fires shipWillDockWithStation
. When the status changes to docked any VisualEffect will be discarded (VisualEffects are inflight effects). This means the effect ends (although it still runs) before the background e.g. through screenbackgrounds.plist
is displayed. All you can do is to fade to black before Oolite discards it.And doing complex animations with lots of subentities, shaders and heavy scripts is probably not the way to make it faster .-) Before we switched to the docking tunnel I thought about doing a little bit more complex things (see pic) using moved decals, animated cockpit elements and some noise, but it was simply too slow (even in v1.77.1).
Re: BGS - The BackgroundSet
Simpler stuff is possible though - for example install Aquatics and go visit their HQ in G3 (Aqualina, the system formerly known as Ribiara before the OXZ renames it).
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Norby
- ---- 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
The manifest of BGS is in my account, although I can not promise active maintenance.Cody wrote:Strangest paint job I've seen on a Cobra MK III (and BGS seems to be missing the 'Price' display - is anyone maintaining BGS?).
I am not understanding your price problem, what would you like to see which is not in the linked image?
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: BGS - The BackgroundSet
Marked - core game displays the price there as part of the description (I think). Also, there should be a space betweenNorby wrote:I am not understanding your price problem, what would you like to see which is not in the linked image?
model.
and Price:
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!
And any survivors, their debts I will certainly pay. There's always a way!
- Norby
- ---- 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
At me there is a price value and space also both with and without BGS. Could you check without BGS to confirm it is not BGS realted and other shipyards with another ships?Cody wrote:core game displays the price there as part of the description (I think). Also, there should be a space betweenmodel.
andPrice:
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: BGS - The BackgroundSet
Virgin Oolite 1.82 has the price (and the space) as it should - strange one. I'll disable BGS in 1.83 and check again.
Edit to add: with BGS disabled, it doesn't display correctly in
Virgin trunk is fine - so begins the hunt for which expansion is causing it. <scratches head>
Edit to add: with BGS disabled, it doesn't display correctly in
1.83.0.6639-151127-1a26ab5
- so not BGS (I think).Virgin trunk is fine - so begins the hunt for which expansion is causing it. <scratches head>
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!
And any survivors, their debts I will certainly pay. There's always a way!
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: BGS - The BackgroundSet
The culprit seems to be my personal
descriptions.plist
- odd, is that.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!
And any survivors, their debts I will certainly pay. There's always a way!
Re: BGS - The BackgroundSet
BGS 2.0 is available. Documentation may follow .-)
- phkb
- 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
I'm not sure if this is a bug or a feature, but the sound effects that play when you go to the various function screens (eg F8) play even when in space! I think they should only play when docked. This is BGS v2.0