lkml.org 
[lkml]   [2003]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Flame Linus to a crisp!
Daniel Phillips wrote:
> On Fri 25 Apr 03 00:45, Alan Cox wrote:
[...]
>>In the MUD world we solved that by not telling anyone about objects they
>>can't see.
>
> Doing the visibility calculations on the server, down to the pixel, is
> possible but not really practical.
>
Sure, but one can do better than quake. The server can have
a look at the "terrain" at startup, and divide it into a
bunch of regions and calculate which regions cannot
bee seen from each other. You can then do
fast simplified visibility calculation on the server,
by looking up positions in a lookup table. Players
in tunnels and such isn't visible from most of the
level so such structures would then provide the
desired surprises - even for cheaters.

Also, one can use a representation that makes it hard for
an AI to guess what is "wall" and what is a "player".
The players could be polygons just like everything else,
and a good level would have more moving items than
players so movement detection won't be a good
heuristic either.

Helge Hafting




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.036 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site