Search:

Type: Posts; User: oajfh

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    1,549

    Re: Raycasting troubles

    Solved those weird wall drawing issues. Only a few rounding issues with corners left, but that's a minor niggle for now. Sorry for the sort of monologue.
  2. Replies
    6
    Views
    1,549

    Re: Raycasting troubles

    Ah, I can post some code. Essentially, the issues are with the raycast method.
    (source code is unoptimised, and hopelly not too illegible).

    This method is supposed to return the distance of a...
  3. Replies
    6
    Views
    1,549

    Re: Raycasting troubles

    All right, I've cleared up some more of the issues, but there still seems to be some problems with corners and such. a couple of walls come out of nowhere, and when one gets closer to the far walls,...
  4. Replies
    6
    Views
    1,549

    Re: Raycasting troubles

    Here's a .jar so that people can better visualise my issue (I've cleared up the 180° problem, but I still have trouble with the wal drawing).

    2252

    One can move with the arrow keys. The level is...
  5. Replies
    6
    Views
    1,549

    Re: Raycasting troubles

    I'm writing all this in Java, and I'm not sure all my issues are purely of an algorithmic nature.
  6. Replies
    6
    Views
    1,549

    [SOLVED] Raycasting troubles

    Greetings.

    I am writing a raycasting engine right now, based off the Permadi tutorial, and I seem to have encountered two problems concerning wall drawing.

    The first is that when I turn 180°, I...
Results 1 to 6 of 6