Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old June 25, 2009, 20:35   #11
RogerN
Swordsman
 
RogerN's Avatar
 
Join Date: Jul 2008
Posts: 308
RogerN is on a distinguished road
Regarding the section "Diamond walls, point visibility". A possible disadvantage is that, for certain arrangements of pillars, you can end up with disconnected regions of visibility (i.e. a dotted line of visible tiles which do not touch):

Code:
@#?????
...
###.#
    .
     ?.?

        ?.?
RogerN is offline   Reply With Quote
Old June 25, 2009, 20:38   #12
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by RogerN View Post
Code:
@#?????
...
###.#
    .
     ?.?

        ?.?
I think that's worth adding to the wiki. I think I'll do up a larger scale diagram to double check (not that I doubt you, but to make it easier to visualize).
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old June 25, 2009, 20:47   #13
RogerN
Swordsman
 
RogerN's Avatar
 
Join Date: Jul 2008
Posts: 308
RogerN is on a distinguished road
Quote:
Regarding the section "Diamond walls, point visibility". A possible disadvantage is that, for certain arrangements of pillars, you can end up with disconnected regions of visibility (i.e. a dotted line of visible tiles which do not touch)
Incidentally, these artifacts are the result of allowing line-of-sight to pass through tiles which aren't visible. In other words, a line going to the center of tile A is obstructed by some other intervening wall, making tile A invisible. But a line which passes through the corner of tile A is allowed to go through (since it doesn't intersect the diamond), and therefore you may end up with disconnected visible tiles on the far side of tile A.
RogerN is offline   Reply With Quote
Old June 25, 2009, 21:01   #14
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
OK, here's my version of your fig.

Green diamonds = visible walls
Red diamonds = out-of-LOS walls
Dots = visible floor tiles

There's a big version at the wiki page. (A bit too big really ;-)
Attached Thumbnails
Click image for larger version

Name:	diamond.jpg
Views:	103
Size:	21.1 KB
ID:	220  
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old June 25, 2009, 21:47   #15
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
Quote:
Originally Posted by PaulBlay View Post
OK, here's my version of your fig.

Green diamonds = visible walls
Red diamonds = out-of-LOS walls
Dots = visible floor tiles

There's a big version at the wiki page. (A bit too big really ;-)
I'll take issue with that. The 2 southernmost dots, are not visible. The furthest dot is a borderline case, normally visible, but since it is borderline blocked from 2 opposing sides, is has to be considered non-visible (even if a special exception be made). The dot above it has no line of sight to the center point.
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
My banding life on Buzzkill's ladder.
buzzkill is offline   Reply With Quote
Old June 25, 2009, 21:59   #16
RogerN
Swordsman
 
RogerN's Avatar
 
Join Date: Jul 2008
Posts: 308
RogerN is on a distinguished road
Quote:
The 2 southernmost dots, are not visible. The furthest dot is a borderline case, normally visible, but since it is borderline blocked from 2 opposing sides, is has to be considered non-visible (even if a special exception be made). The dot above it has no line of sight to the center point.
Paul's diagram is not exactly the same as mine. In my diagram, the two southernmost points are 1 tile farther to the right. In the situation as I originally described it, both points clearly have LOS to the center and neither case is borderline.

Diagram to follow...
RogerN is offline   Reply With Quote
Old June 25, 2009, 22:02   #17
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
I'll take issue with that. The 2 southernmost dots, are not visible. The furthest dot is a borderline case, normally visible, but since it is borderline blocked from 2 opposing sides, is has to be considered non-visible (even if a special exception be made). The dot above it has no line of sight to the center point.
This isn't the Digital Field of View method, there is nothing stated in the definition to disallow a LOV just because it touches exactly the point of a wall tile above in one place and below in another.

You're probably right about the dot in the middle, although it should be noted that my diagram is not 100% accurate and should be checked with maths before being taken as gospel.

Code:
@#?????
...
###.#
    .
     ? ?

        ?.?
Probably the middle dot shouldn't be there - as shown above.
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old June 25, 2009, 22:13   #18
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by RogerN View Post
Paul's diagram is not exactly the same as mine.
Yeah, it's a lot easier to see when you replace the spaces with x's.

Code:
@#?????xxxx
...xxxxxxxx
###.#xxxxxx
xxxx.xxxxxx
xxxxx?.?xxx
xxxxxxxxxxx
xxxxxxxx?.?
I'll put up a mark two.
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old June 25, 2009, 22:15   #19
RogerN
Swordsman
 
RogerN's Avatar
 
Join Date: Jul 2008
Posts: 308
RogerN is on a distinguished road
This is the correct diagram. You can see that the two southernmost points are not borderline (although they are close to borderline); they are clearly visible according to the rules.

RogerN is offline   Reply With Quote
Old June 25, 2009, 22:19   #20
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by RogerN View Post
This is the correct diagram. You can see that the two southernmost points are not borderline
The third of the horizontal trio is borderline, though. I think it 'just' touches the diamond, so it's safe under the definitions used.
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
targetting and LOS PowerDiver Vanilla 187 July 6, 2009 00:02
feature request - disturb on reverse LOS PowerDiver Vanilla 2 May 18, 2009 07:46
Angband User Manual Wiki JamesDoyle Oook! 31 February 7, 2008 01:25
Angband Wiki K.I.L.E.R Oook! 7 June 4, 2007 09:48
I need a forum for non-variant specific development discussion CJNyfalt Oook! 6 May 19, 2007 01:16


All times are GMT +1. The time now is 18:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.