Glowing

Got something that makes Armagetron look shiny? Post it here.
Post Reply

Glowing in tron?

Nobody needs it
2
8%
Do it yourself
4
15%
it takes too long to make it
0
No votes
We like this to be done
17
65%
Dream on
3
12%
 
Total votes: 26

Word
Reverse Adjust Outside Corner Grinder
Posts: 4258
Joined: Wed Jan 07, 2009 6:13 pm

Glowing

Post by Word »

I don't know if there was someone before me who suggested this. Would it be possible to enable a 3-dimensional glowing textures and models? I know there exists a "cycle_walls_glow" command but it doesn't change anything graphical i could tell. I think glowing is a tool that has a big influence on the atmosphere of both the tron movies and the other related games.

Image
Image
Image
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Glowing

Post by Z-Man »

It's already on my private the list. There's two ways:
a) just use HDR
b) Do what Tron 2.0 did, which is:
1. render the scene normally
2. render the scene into a lowres texture where all object textures are replaced with their 'glow' texture
3. blur that texture
4. render it on top of the scene
Either way, it's a lot of work, mostly on the data side.
Word
Reverse Adjust Outside Corner Grinder
Posts: 4258
Joined: Wed Jan 07, 2009 6:13 pm

Re: Glowing

Post by Word »

thanks Z-man :)
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: Glowing

Post by sinewav »

How did andi do it in glTron?
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Glowing

Post by Z-Man »

As far as I can tell, via the even more difficult to manage (data scale wise) approach of just adding glow objects that are larger than their base objects.
User avatar
Lucifer
Project Developer
Posts: 8641
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Re: Glowing

Post by Lucifer »

Didn't he use mist? I thought I saw mist in his code, but it's been awhile since I looked at it...
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
Word
Reverse Adjust Outside Corner Grinder
Posts: 4258
Joined: Wed Jan 07, 2009 6:13 pm

Re: Glowing

Post by Word »

Lucifer wrote:Didn't he use mist? I thought I saw mist in his code, but it's been awhile since I looked at it...
lol mist is the german word for bullshit

(sorry my laughter forced me to write this) :)
User avatar
andi75
On Lightcycle Grid
Posts: 44
Joined: Mon Dec 19, 2005 4:57 pm
Contact:

Re: Glowing

Post by andi75 »

The 'glow' in GLtron is just a bunch of polygons on top of the lightcycle (kinda like a roof). The trick to make it look decent is to use a variable value for alpha, diminishing it when the lightcycle is closer to the camera.

Check drawGlow() in src/video/graphics_fx.c

The code can be easily ripped without much editing.
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: Glowing

Post by sinewav »

andi75 wrote:The code can be easily ripped without much editing.
Hi there andi75! Thanks for stopping by. BTW I love glTron. The recognizer flying around the grid is so cool. Hope all is well.
User avatar
andi75
On Lightcycle Grid
Posts: 44
Joined: Mon Dec 19, 2005 4:57 pm
Contact:

Re: Glowing

Post by andi75 »

All is well, except that I'm sorely neglecting GLtron.

I guess I should try to work less, put up the kids for adoption, sell the guitar, and most importantly, stop raiding Ulduar (damn you Blizzard!) in order to make some progress on the project again.
Word
Reverse Adjust Outside Corner Grinder
Posts: 4258
Joined: Wed Jan 07, 2009 6:13 pm

Re: Glowing

Post by Word »

Maybe you could join the armagetron devs ;)
User avatar
andi75
On Lightcycle Grid
Posts: 44
Joined: Mon Dec 19, 2005 4:57 pm
Contact:

Re: Glowing

Post by andi75 »

No comment :)
User avatar
17na
Average Program
Posts: 94
Joined: Wed Nov 10, 2010 2:14 am
Location: Fcon server. you are a true tron fan if you get the reference.

Re: Glowing

Post by 17na »

I believe your suggesting that they addd bloom effects am I irght? I was going to suggest that myself it would make the game look alot better if it supported bloom effects ALOT better
User avatar
RYON
Average Program
Posts: 84
Joined: Sat Jul 10, 2010 7:54 am
Location: OREGON U.S
Contact:

Re: Glowing

Post by RYON »

most of it will be that blue glow but the white areas are transparent and your dir_wall color will be there. dont forget the cycle zip that goes with these bike.png's. can someone please take a screenshot of it and post it here so i could see it that. i dont have a good graphics card so i dont know what it looks like.

-edit- i just saw what these bikes look in the game....they are no good...fail. :)
Attachments
bike3.png
cycle.zip
goes into models folder
(57.99 KiB) Downloaded 182 times
rename to bike and goes into textures folder
rename to bike and goes into textures folder
Post Reply