Different colors for engine plumes
Moderators: winston, another_commander
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Different colors for engine plumes
I like the blue plumes but is it an idea to introduce yellow, white and red plumes? Purple is the still the injector color. Don't know if its doable. But it would be nice for some variation.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Different colors for engine plumes
nobody?
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: Different colors for engine plumes
If you could get different engines, then maybe, but I don't see the need currently?
Re: Different colors for engine plumes
Sorry, missed this one. Changing the baseline colour RGBA(0.7, 0.9, 1.0, 0.9) is easy enough to add, but the exhaust functions define various transformations on that colour depending on the distance from the exhaust origin, the speed travelled at relative to maxspeed [1], random numbers, and the ship's damage levels, so any major changes to the baseline would probably give very odd results.
Baseline is set on line 114 of OOExhaustPlumeEntity.m if anyone wants to try a different colour to see what happens.
[1] There is no "injector" or "torus" colour defined, as such - it's just the results of applying the defined transformations to the baseline colour as speed/maxSpeed exceeds 1.
Baseline is set on line 114 of OOExhaustPlumeEntity.m if anyone wants to try a different colour to see what happens.
[1] There is no "injector" or "torus" colour defined, as such - it's just the results of applying the defined transformations to the baseline colour as speed/maxSpeed exceeds 1.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Different colors for engine plumes
I think I suggested this a long time ago - when Thargoid first introduced his fuel stations I suggested the concept of that different fuel companies (possibly used by the race teams (another OXP that didn't go anywhere after Capt. Hesperus disappeared)) could colour their fuels relative to their logo colours (as additional brand advertising and/or to show that the fuel was more efficient say in injector mode (which lead to a whole new set of suggestions about tweaking Injector burn speed based on more expensive fuels - which was another suggestion))pagroove wrote:I like the blue plumes but is it an idea to introduce yellow, white and red plumes? Purple is the still the injector color. Don't know if its doable. But it would be nice for some variation.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: Different colors for engine plumes
Exhaust emissive colors on a per-ship basis are now possible on the dev versions, following git commit d5e274aee7. As cim has already mentioned, not all colors are ideal for exhausts; some like pure red are less spectacular than what we are used to and others fluctuate a bit as a result of the transformations applied during the exhaust plume rendering. Having said that, I think the overall effect is not bad at all.
The shipdata key
Unfortunately, until we sort out the nightly builds system so that it generates nightlies from github instead of svn, the only way to test a binary with this change is to build from source from the github repository.
The shipdata key
exhaust_emissive_color
is used to set the desired exhaust color on the desired ship types. The definition of the color is similar to that of laser color, i.e. it can be an RGBA array or a string like "orangeColor". The default standard exhaust color is used when this key is not found in the shipdata entries. Some screenies of what it looks like:Unfortunately, until we sort out the nightly builds system so that it generates nightlies from github instead of svn, the only way to test a binary with this change is to build from source from the github repository.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Re: Different colors for engine plumes
Looks really good!! Well done all!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Different colors for engine plumes
<sobs quietly>another_commander wrote:... until we sort out the nightly builds system so that it generates nightlies from github instead of svn, the only way to test a binary with this change is to build from source from the github repository.
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!
- Griff
- Oolite 2 Art Director
- Posts: 2483
- Joined: Fri Jul 14, 2006 12:29 pm
- Location: Probably hugging his Air Fryer
Re: Different colors for engine plumes
Oh wow, that looks awesome A_C!
You could tweak the engine glow colours in that cobraIII's fragment shader too so they are also a bit more orange/yellow! these are the lines, just change the numbers in the vec3 (they stand for the red, green, blue colour values).
You could tweak the engine glow colours in that cobraIII's fragment shader too so they are also a bit more orange/yellow! these are the lines, just change the numbers in the vec3 (they stand for the red, green, blue colour values).
Code: Select all
// Cyan color exhaust glow effect
vec3 cyanGlow(float level)
{
vec3 result;
result.rgb = vec3(0.2, 0.7, 0.9) * level * 1.5;
return result;
}
// Red/Orange color heated metal effect
vec3 redGlow(float level)
{
vec3 result;
result.rgb = vec3(1.5, 0.55, 0.2) * level * 1.3;
return result;
}
Wiki homepage for my OXP: http://wiki.alioth.net/index.php/Griff_Industries
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Different colors for engine plumes
This is great!.
You can now faithfully reproduce box art as seen here (with yellow engine plumes)
http://spong.com/game/covers-box-art/11 ... des/259015
Thank you for including this suggestion. It might seem like a little thing but variation in colors are a big influence on immersion.
You can now faithfully reproduce box art as seen here (with yellow engine plumes)
http://spong.com/game/covers-box-art/11 ... des/259015
Thank you for including this suggestion. It might seem like a little thing but variation in colors are a big influence on immersion.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
Re: Different colors for engine plumes
Now someone's come up with a drive oxp. The plumes begin blue but when your drive ages slowly changes to yellow and then orange.
Last edited by pagroove on Sun Jul 14, 2013 12:52 pm, edited 1 time in total.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: Different colors for engine plumes
Really? That would be good!pagroove wrote:Now someone's come up with a drive oxp. The plumes begin blue but when your drive anges slowly changes to yellow and then orange.
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: Different colors for engine plumes
The exhaust color is now accessible and settable also from JS via the ship read/write property
exhaustEmissivecolor
, as of git commit 185ea13e56.- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Different colors for engine plumes
Griff wrote:You could tweak the engine glow colours in that cobraIII's fragment shader too so they are also a bit more orange/yellow!
Feature request: shader binding. :-)another_commander wrote:The exhaust color is now accessible and settable also from JS via the ship read/write propertyexhaustEmissivecolor
, as of git commit 185ea13e56.
E-mail: [email protected]
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Different colors for engine plumes
Shouldn't be too hard to set up, seeing as how github still allows you to check out source using SVN.another_commander wrote:... until we sort out the nightly builds system so that it generates nightlies from github instead of svn
In the meantime, which github branch should we mere mortals be building from? Maintenance/1.77 or Master? I've currently checked out Master, which has all the branches, plus trunk. SVN now reports it has checked out r4991, which can't be right.. The new arrangement is a tad confusing. An overview of building from Github would be a helpful thing to have, too.
Don't panic.. until the automated nightlies get sorted, I'm thinking the Dizzy Trunk Builds might have to make a reappearance..Cody wrote:<sobs quietly>
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied