Bug?: Invisible bikes behind transparent walls

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
Lackadaisical
Shutout Match Winner
Posts: 823
Joined: Sun Dec 21, 2003 4:58 pm
Location: Amsterdam, Netherlands
Contact:

Bug?: Invisible bikes behind transparent walls

Post by Lackadaisical »

Hi, I was testing out 2020's incam server and I realized i couldn't see any bike when they were behind a wall, even though they are transparent and i could see other walls and their names.

Walltexture i use from http://wiki.armagetronad.net/index.php/ ... ist#Linear

Screenshot for clarification:
Attachments
rain is behind one transparent walls, and his bike + lagometer is gone, i can see the background just fine though.
rain is behind one transparent walls, and his bike + lagometer is gone, i can see the background just fine though.
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Post by Jonathan »

Heh, took you a while. :) The problem is that Armagetron doesn't have a real rendering engine. It just throws stuff at the GPU without reordering to help transparency. If you look carefully you should notice that not even all walls show through.
ˌɑrməˈɡɛˌtrɑn
User avatar
Z-Man
God & Project Admin
Posts: 11736
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

That, and transparent walls on an incam server would be cheating anyway :) What will work is walls with whole bits cut out, blotches of full transparency.
User avatar
andi75
On Lightcycle Grid
Posts: 44
Joined: Mon Dec 19, 2005 4:57 pm
Contact:

Post by andi75 »

To avoid texture based cheating on incam servers do this:

step 0: draw world geometry (floor, walls)

step 1:
- Disable color buffers (glColorMask)
- Disable alpha test
- Draw cycle trails

step 2: draw everything normally

step 1 will prevent any 'see through' lightcycle trails, and still look like the user of the transparent texture wants it to appear (most of the time).
User avatar
Lucifer
Project Developer
Posts: 8756
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

Me, I wouldn't consider that cheating. But I don't consider the hud map cheating on an incam server either. My personal experience with see-through walls is that if they're too see-through, they hurt, because you can see the cycles fine, but you can't see the walls very well. A little bit, just a teeny tiny bit, is what's best, because more than that and you start getting confused which side of the wall the target cycle is actually on.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
Post Reply