Author Topic: TV Serie's lens flare (lightwave) effect  (Read 7121 times)

0 Members and 1 Guest are viewing this topic.

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
TV Serie's lens flare (lightwave) effect
This main topic will be for updates of the implementation of a new lens flare effect just like in the serie.

This is LightWave's lens flare, used on the B5's CGI, and an ingame scene.
B5's CGI==> - Ingame==>
« Last Edit: November 03, 2011, 04:05:08 pm by emi_100 »
DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
Ok. Problems here.
I have the Lightwave's lens flare textures. There are 16, TBP only use 7. So I modify the stars.tbl because i want to add more textures for the effect (corona00*.dds) but got the next error when lauch the game.

Code: [Select]
stars.tbl(line 259:
Error: Missing required token: [$FlareGlow1:]. Found [$FlareTexture7:   corona007]  instead.

Any advice?
« Last Edit: November 01, 2011, 05:05:51 pm by emi_100 »
DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: TV Serie's lens flare (lightwave) effect
Yeah nobody can help you unless we see the tbl in question.

Have you made sure it conforms to this spec?

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
It's attached.
I modify the "SunWhite".

[attachment deleted by a basterd]
DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: TV Serie's lens flare (lightwave) effect
IIRC, you're limited to 6 textures and 10 glows. That's why it looks for a glow or the end of the file after reading "$Flaretexture6:". This isn't mentioned on the wiki, but the limitation existed when I was making lens flares, and I'm pretty sure it still does now.

If someone else can confirm this I'll mention it on the relevant bits of the stars.tbl page.

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
ohh..
So there is no way I can add more textures?
is it imposible? is a Freespace 2 engine limitation?
DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: TV Serie's lens flare (lightwave) effect
Yes, that's what "limitation" means.

There are 2 ways around this. One slightly decreases quality, and the other is an ugly hack.

1) You could optimize your lens flare. Get rid of the glows that are almost unnoticeable and leave the obvious ones until you have 10 glows and 10 textures. Then, use the same texture for glows that look similar enough to be indistinguishable. You'll need to get down to 10 glows and 6 textures but it should look OK.

2) This is a horrible suggestion and FREDders will hate you for it but you could use two separate stars. Get rid of three of the textures- I know you can do that- so you have 12 textures and 15 glows. Take the first 6 textures and (anywhere between 5 and 10) glows and leave them on the SunWhite that you have already. Then take the remaining textures and glows, and put them on a new invisible star entry (by invisible, I mean use a blank texture and no glare). The result should be identical to the effect you have now, except that it works. FREDders would have to place the two stars in the same location which makes this nonintuitive and less than ideal.

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
Thanks for all the info and the sarcasm :)

Here are some results. It's not finish of course.

(the image have some noise fx add)
DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
Here are updates. I think it's final.

DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
Main post update with comparison between B5's CGI and in game fx.
DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • Moderator
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: TV Serie's lens flare (lightwave) effect
Now for the real question.  What the heck do we do with it.  There are at least 3 possibilities:

-First is a direct replacement via Zathras.  Not too sure this is a good idea as existing missions may want the no-flare version.

-Second is an additional entry in stars.tbl that can just be selected by the Fredder.  This would require any released missions where the designer wants to use it to update those missions.

-Third is to stick it in with the high poly stuff as new content. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: TV Serie's lens flare (lightwave) effect
I think that a direct replacement (perhaps along with the new sun bitmap) should be the way to go. I don't know why would anyone use the no-flare version, nor do I recall missions in which it could be a problem.

 

Offline Vidmaster

  • Moderator
  • 211
  • Inventor of FS2 bullettime ;-)
Re: TV Serie's lens flare (lightwave) effect
I vote second option Fub.
Devoted member of the Official Karajorma Fan Club (Founded and Led by Mobius).

Does crazy Software Engineering for a living, until he finally musters the courage to start building games for real. Might never happen.

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: TV Serie's lens flare (lightwave) effect
I second option two
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
Some more pics




DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
Just an other screen..

DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: TV Serie's lens flare (lightwave) effect
Spot on!  :yes:
The Trivial Psychic Strikes Again!

 

Offline den5

  • 27
Re: TV Serie's lens flare (lightwave) effect
Nice job. Seems the Babylon 5 model also has changed. :yes:

 

Offline emi_100

  • 28
  • www.artstation.com/emimartinez
    • Skype
    • artstation.com/emimartinez
Re: TV Serie's lens flare (lightwave) effect
Quote
Spot on!
Quote
Nice job
Thanks guys.

Quote
Seems the Babylon 5 model also has changed
Yes, it's from Homeworld 2 mod. I'm working on glow maps, results are promising. Now we can name it "a shining beacon in space". Screens soon.
DEDICATED TO ALL THE
PEOPLE WHO PREDICTED
THAT THE BABYLON
PROJECT WOULD FAIL IN
IT'S MISSION.

-------FAITH MANAGES------
  • Normal Maps for -The Babylon Project-
  • "Battle at ..." (Campaign) You can't choose when, but you will choose where... and you will fight! GO NOW!
  • "One Mistake" (Third Space Campaign)
  • "Each Night I Dream of Home" (Crusade Single Mision)

 

Offline snake60

  • 25
Re: TV Serie's lens flare (lightwave) effect
Quote
Seems the Babylon 5 model also has changed
Yes, it's from Homeworld 2 mod. I'm working on glow maps, results are promising. Now we can name it "a shining beacon in space". Screens soon.

Just a question : did you asked Cnl_Pepper or the team before using the B5 model ?

Edit : seems that you had permission from Pepper  :)
« Last Edit: April 16, 2012, 08:32:57 am by snake60 »