Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1387086 Posts in 66512 Topics- by 59064 Members - Latest Member: Vhalenn

January 19, 2021, 04:10:44 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Handling blind spots in isometric 3D?
Pages: [1]
Print
Author Topic: Handling blind spots in isometric 3D?  (Read 138 times)
RileyDylan
TIGBaby
*


View Profile
« on: January 06, 2021, 12:17:32 AM »

In isometric games, the scenery disappears or fades out when you walk behind it.  It looks like this is usually done by the level designer flagging certain tiles as "roof", "wall", or whatnot.  Anyone have more insight into how this is done in different games?  Is there perhaps an ugly but general solution that doesn't require manual annotation?
Logged
Schrompf
Level 8
***

C++ professional, game dev sparetime


View Profile WWW
« Reply #1 on: January 06, 2021, 12:40:17 AM »

This is probably another reddit copied post, but there's an easy answer: you can do a whole lot of automated solutions.

Use the ZBuffer of the GPU, draw the landscape and objects in order, then draw outlines of important objects if their depth test fails.

Or use the ZBuffer of the GPU, draw the landscape and the objects but blend out fragments if their depth is < PlayerDepth and they're close to the screen center.
Logged

Snake World, multiplayer worm eats stuff and grows DevLog
ThemsAllTook
Global Moderator
Level 10
******



View Profile WWW
« Reply #2 on: January 06, 2021, 06:22:46 AM »

This is probably another reddit copied post

Close. Looks like this is the source: https://forums.tigsource.com/index.php?topic=68049.0

User is banned, but I'll leave this thread here.
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic