[Release] Trails v1.11
Moderators: winston, another_commander
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
[Release] Trails v1.11
[wiki]Trails[/wiki] make condensation trails after NPC ships.
Need good hardware but the built-in FPS check will reduce the length of trails if needed.
The idea is based on Zireael's Engine Trails but rewritten from scratch to fix the Universe is full error.
Need good hardware but the built-in FPS check will reduce the length of trails if needed.
The idea is based on Zireael's Engine Trails but rewritten from scratch to fix the Universe is full error.
Last edited by Norby on Sun May 22, 2016 7:37 pm, edited 9 times in total.
Re: [Release] Trails v1.0
This looks awesome. Will be tested very soonNorby wrote:[wiki]Trails[/wiki] make condensation trails after NPC ships.
Need good hardware but the built-in FPS check will reduce the length of trails if needed.
The idea is based on Zireael's Engine Trails but rewritten from scratch to fix the Universe is full error.
Does it really "create" condensation trails (like: if a ship goes slower, the trails are thicker/bigger) or only a more or less blue line regardless the speed? Would it be possible to do the first? That would even increase awesomeness! And does the trail behave differently with the angle of the sun?
Edit: removed the images from the quote, sorry
Last edited by QCS on Thu Apr 30, 2015 10:37 am, edited 1 time in total.
- 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: [Release] Trails v1.0
Not yet, maybe in the next version.QCS wrote:if a ship goes slower, the trails are thicker/bigger?
No, and I think a cloud is equally bright regardless of the angle of the sun (except behind a planet).QCS wrote:does the trail behave differently with the angle of the sun?
Due to the technical solution this smoke has its own fluorescent light.
Re: [Release] Trails v1.0
Hm I don't know about space (but I guess there will be some astrophysics cracks who will tell us soon ) but at least in the atmosphere of Earth, the clouds do reflect the sun. That's why sometimes you see lighter and darker areas in clouds; that's why when flying in a plane and looking on the clouds from above, they are mostly a bright shade of white.Norby wrote:No, and I think a cloud is equally bright regardless of the angle of the sun (except behind a planet).QCS wrote:does the trail behave differently with the angle of the sun?
Re: [Release] Trails v1.0
The pictures looks amazing. Can't wait to try it out.
edit :
Tried it. Went from 100+ FPS to around 10-15 FPS.
Also the trails would sometimes disappear and then start again, while others would start a long way behind the ships.
Looks good though.
edit :
Tried it. Went from 100+ FPS to around 10-15 FPS.
Also the trails would sometimes disappear and then start again, while others would start a long way behind the ships.
Looks good though.
"There is a single light of science, and to brighten it anywhere is to brighten it everywhere." - Isaac Asimov
Re: [Release] Trails v1.0
Another great add on Norby.
I am particularly impressed with how splinters get their own vapour trails as it makes the blighters easier to see and therefore scoop.
I am particularly impressed with how splinters get their own vapour trails as it makes the blighters easier to see and therefore scoop.
Flying Python Class Cruiser, Chapter & Verse IV
Re: [Release] Trails v1.0
Ok, tested.
Looks quite good, I have the same issues as others... trails appearing/disappearing without reason. Also, on my Laptop (Linux, Nvidia Optimus natively with modeswitching) it stutters, quite low fps, unfortunately I can't tell you a number, as I don't know how to find that number
Strangely it also has low fps even when no ships are visible. But it looks great, especially since the escorts also get those trails
Looks quite good, I have the same issues as others... trails appearing/disappearing without reason. Also, on my Laptop (Linux, Nvidia Optimus natively with modeswitching) it stutters, quite low fps, unfortunately I can't tell you a number, as I don't know how to find that number
Strangely it also has low fps even when no ships are visible. But it looks great, especially since the escorts also get those trails
- 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: [Release] Trails v1.0
Both happen when the number of nearby nearby ships step over the performance limit: the current code do a restart with halved trail length to reduce load and the gap caused by fast ships when FPS is below a level. My first attempt to fix these caused more problems than results so I decided to release in the current state and improve later.Vincentz wrote:the trails would sometimes disappear and then start again, while others would start a long way behind the ships.
Until then there is a $MaxLength variable in trails.js what you can reduce by hand. The default is 100 element (2km) and should be at least 10 to be longer than the engine plumes.
This is an unplanned side effect but interesting so I am inclined to leave in.Duggan wrote:I am particularly impressed with how splinters get their own vapour trails as it makes the blighters easier to see and therefore scoop.
Shift+FQCS wrote:quite low fps, unfortunately I can't tell you a number, as I don't know how to find that number
Re: [Release] Trails v1.0
Mkay... external view from outside front to back, station in the background, half speed, 5 escorts behind meNorby wrote:Shift+FQCS wrote:quite low fps, unfortunately I can't tell you a number, as I don't know how to find that number
Without trails: around 180fps
With trails: around 18fps
I don't know what the reason is, is the effect too complex? Would it be possible to have a less beautiful and less demanding but comparably useful version?
By the way, just noticed, one of the "trails disappearing" issues is when the Q-Charger kicks in.
Re: [Release] Trails v1.0
Im working on finding a nice setting, so instead of long trail (though i really like the trail) it becomes "exhaust fumes".QCS wrote:Mkay... external view from outside front to back, station in the background, half speed, 5 escorts behind meNorby wrote:Shift+FQCS wrote:quite low fps, unfortunately I can't tell you a number, as I don't know how to find that number
Without trails: around 180fps
With trails: around 18fps
I don't know what the reason is, is the effect too complex? Would it be possible to have a less beautiful and less demanding but comparably useful version?
By the way, just noticed, one of the "trails disappearing" issues is when the Q-Charger kicks in.
Problem is, if i understand correcly, that its adding 8x100 light entities from each ship. Add a couple of ships+escorts it all adds up.
"There is a single light of science, and to brighten it anywhere is to brighten it everywhere." - Isaac Asimov
Re: [Release] Trails v1.0
A very interesting take on this! I tried it last night when you first uploaded it and found the effect slightly 'fake' looking, more like a long ribbon trailing after the ship than an actual contrail. Probably not an easy thing to accomplish with the graphics engine, I grant you. While I did love the Engine Trails oxp this was inspired by, I'm not sure if my laptop can handle this sort of thing in the long run.
Reports of my death have been greatly underestimated.
Re: [Release] Trails v1.0
I'm loving this mod. No longer :"hey! on radar there is ship. But where is it???"
Did a few changes to make it less heavy on the resources and (imho) more "natural" looking.
Only problem is Trail not disappearing when ship is stopped. If it somehow could be connected to speed, that'd be great
Changes in trails.js :
and all of effectdata.plist :
and... without FPS hit btw (147 fps with a couple of ships closeby and closeview of a viper
Did a few changes to make it less heavy on the resources and (imho) more "natural" looking.
Only problem is Trail not disappearing when ship is stopped. If it somehow could be connected to speed, that'd be great
Changes in trails.js :
this.$MaxLength = [b]10[/b]; //how many elements are in a trail
and all of effectdata.plist :
Code: Select all
{
"trails" = {
subentities = (
{ type=flasher; position=(0,0,-50); frequency=0; phase=0; size=40; color="0.0 0.1 0.2 0.5"; },
);
};
"trails-end" = {
subentities = (
{ type=flasher; position=(0,0,-50); frequency=0; phase=0; size=40; color="0.0 0.08 0.16 0.5"; },
{ type=flasher; position=(0,0,-70); frequency=0; phase=0; size=50; color="0.0 0.06 0.12 0.5"; },
{ type=flasher; position=(0,0,-95); frequency=0; phase=0; size=70; color="0.0 0.04 0.08 0.5"; },
{ type=flasher; position=(0,0,-130); frequency=0; phase=0; size=100; color="0.0 0.02 0.04 0.5"; },
);
};
}
"There is a single light of science, and to brighten it anywhere is to brighten it everywhere." - Isaac Asimov
- 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: [Release] Trails v1.1
Thank you Vincentz, I included some of your ideas into the new v1.1. Now playable against a dozen ships at me on integrated graphics for a cost of somewhat shorter and wider trails as requested.
This version use different way of speedup: the low FPS will not shorten the trais but change all trails to thicker which use less light sources. The length will be reduced only when there are too many ships nearby.
You still can set shorter max. length or enable the previous thin but power consuming trail variation in the trails.js.
Moreover the visibility of trails is increased, sometimes up to 2x scanner range.
This version use different way of speedup: the low FPS will not shorten the trais but change all trails to thicker which use less light sources. The length will be reduced only when there are too many ships nearby.
You still can set shorter max. length or enable the previous thin but power consuming trail variation in the trails.js.
Moreover the visibility of trails is increased, sometimes up to 2x scanner range.
Re: [Release] Trails v1.1
Hi Norby,
this version is much better, from the visual point of view (love this "foggy" design) as well as the demand on the hardware Now I am at around 60fps, which is playable.
Some nitpicks:
You seem to have fixed the Q-Charger issue, but with Injectors, the same issue applies
Also, I love that the docked escorts (and possibly, didn't test it, towed ships) exhaust those fumes as they create a great visual appearance. But this makes fighting (read: keeping those baddies away from my back) with the aft laser (and docked escorts because I simply do want to escape) extremely difficult I can't see nothing anymore except a nice blue shaded sky. So please, when docked, those escorts should not exhaust those fumes (I already regret this request...) I guess with the towed ships this would be no problem as there is no fighting with the aft laser anyway.
this version is much better, from the visual point of view (love this "foggy" design) as well as the demand on the hardware Now I am at around 60fps, which is playable.
Some nitpicks:
You seem to have fixed the Q-Charger issue, but with Injectors, the same issue applies
Also, I love that the docked escorts (and possibly, didn't test it, towed ships) exhaust those fumes as they create a great visual appearance. But this makes fighting (read: keeping those baddies away from my back) with the aft laser (and docked escorts because I simply do want to escape) extremely difficult I can't see nothing anymore except a nice blue shaded sky. So please, when docked, those escorts should not exhaust those fumes (I already regret this request...) I guess with the towed ships this would be no problem as there is no fighting with the aft laser anyway.
Re: [Release] Trails v1.1
Looks nice and thanks for the credits
I have some suggestions, though not sure if all is possible (but you kinda did some with Escortdeck) :
1) Speed = Length.
The faster a ship flies the longer the trail. (Which means by 0 speed only finishing trail appears).
Could be either 1 Lenght = 1/10th speed or 1 Length=2% speed
2) Initial trail starts is positioned at engines...
... or atleast like escortdeck, at the end of the ship. I put -30 in my "fumes" above, but it didnt fit for all ships.
I have some suggestions, though not sure if all is possible (but you kinda did some with Escortdeck) :
1) Speed = Length.
The faster a ship flies the longer the trail. (Which means by 0 speed only finishing trail appears).
Could be either 1 Lenght = 1/10th speed or 1 Length=2% speed
2) Initial trail starts is positioned at engines...
... or atleast like escortdeck, at the end of the ship. I put -30 in my "fumes" above, but it didnt fit for all ships.
"There is a single light of science, and to brighten it anywhere is to brighten it everywhere." - Isaac Asimov