Headlights!??? someone with a good vidcard show me!

For developmental things relating to the graphics of the game.
Post Reply
User avatar
SuPeRTaRD
Round Winner
Posts: 300
Joined: Fri Nov 05, 2004 11:53 pm
Location: bedlam
Contact:

Headlights!??? someone with a good vidcard show me!

Post by SuPeRTaRD »

anyone got a nice vidcard & wanna show us poor folks what the new headlights in 2.8 look like?

anyone on the dev team wanna say how they work.. like.. the big words
(how they work, like what they do graphics wise to achive what we're looking at)

thx :wink:
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

They use a little ARB script that Jonathan wrote to render the headlights.

That's all I know about it (and I put jonathan's code in there, heh). Jonathan?
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

It's an ARB_fragment_program, i.e. a little program uploaded to the GPU and run per pixel. I made the first "prototype" (<< includes screenshots) a while ago to show a sensor problem (and my framerate with -O0 and thousands of sensors :(). Later z-man made a headlight and I went thinking "how can I make this look good, and get good performance too?".

The program places a point light 1 distance above the cycle, of brightness speed^2 and the color of its cycle. It does diffuse lighting with quadratic attenuation.
ˌɑrməˈɡɛˌtrɑn
User avatar
SuPeRTaRD
Round Winner
Posts: 300
Joined: Fri Nov 05, 2004 11:53 pm
Location: bedlam
Contact:

Post by SuPeRTaRD »

thx :)

pssst lucifer , new map!!!!!

heh
User avatar
Lucifer
Project Developer
Posts: 8640
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Post by Lucifer »

pssst, supertard, you only uploaded the screenshot.
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
User avatar
SuPeRTaRD
Round Winner
Posts: 300
Joined: Fri Nov 05, 2004 11:53 pm
Location: bedlam
Contact:

Post by SuPeRTaRD »

nuh-uh

refresh mang..

clear yer browser cache or sth

*shrugs*


oh..

pssst. your server is offline

wah

i got to play ppl on my new maps tonight tho, while it was up

radness
Attachments
ClovFite-0[1].7.1.aamap.xml
(6.11 KiB) Downloaded 502 times
Post Reply