Giter Club home page Giter Club logo

cub3d's People

Contributors

kimhan-nah avatar nyeoni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cub3d's Issues

[Bug] RGB ๋ฌธ์ž ์—๋Ÿฌ์ฒ˜๋ฆฌ

Bug ๊ฐœ์š”

  • 255gg ์™€ ๊ฐ™์€ ์ŠคํŽ˜์ด์Šค ์ˆซ์ž๊ฐ€ ์•„๋‹Œ ๋ฌธ์ž๊ฐ€ ์˜ค๋ฉด ์—๋Ÿฌ์ฒ˜๋ฆฌ
  • 0 ~ 255 ๋ฒ”์œ„ ๋ฒ—์–ด๋‚˜๋Š” ๊ฒฝ์šฐ ์—๋Ÿฌ ์ฒ˜๋ฆฌ

Solution

[Bug] texture img path error

Bug ๊ฐœ์š”

  • texture img path img/a.xpm ์œผ๋กœ ์™”์„ ๋•Œ ์—๋Ÿฌ์ฒ˜๋ฆฌ

Solution

[Feature] Texture Rendering

์š”๊ตฌ์‚ฌํ•ญ

  • 3d ๊ณต๊ฐ„์˜ ๋ฒฝ texture rendering ํ•˜๊ธฐ

์„ค๋ช…

  • 3d ๊ณต๊ฐ„์˜ ๋ฒฝ texture rendering ํ•˜๊ธฐ

Todo

  • texture ์„ ํƒํ•˜๊ธฐ
  • ๋น„์œจ์— ๋”ฐ๋ผ ๋น„ํŠธ ์ถ”์ถœํ•˜๊ธฐ
  • ์ถ”์ถœ๋œ ๋น„ํŠธ๋ฅผ ๋ Œ๋”๋งํ•˜๊ธฐ

ETC

[Feature] Map-Parsing

์š”๊ตฌ์‚ฌํ•ญ

cub3D map parsing

์„ค๋ช…

cub3D ์— ์‚ฌ์šฉ๋  ๋งต์„ ํŒŒ์‹ฑํ•˜๊ณ  ๊ฒ€์ฆํ•˜๋Š”๊ธฐ๋Šฅ

Todo

  • #2 @chloekkk
  • validate extension
  • #4
  • validate character (' ', '0', '1', 'N', 'S', 'E', 'W') @Kimhan-nah
  • validate one player (N, S, E, W) @Kimhan-nah
  • NO, SE, WE, EA ๋’ค์— texture file ์˜ค๋Š”์ง€ ๊ฒ€์ฆ
  • C, F, RGB 3๊ฐœ์˜ ๋ฌธ์ž , ์œผ๋กœ ๊ตฌ๋ถ„ํ•ด์„œ 0~255 ์ˆซ์ž์ธ์ง€ ๊ฒ€์ฆ

ETC

  • ๋งต ๋ฒฝ์œผ๋กœ ๋‘˜๋Ÿฌ์Œ“์—ฌ์žˆ๋Š” ๋กœ์ง ๊ตฌ์ƒํ•ด์•ผํ•จ

[Feature] wall collision

์š”๊ตฌ์‚ฌํ•ญ

  • wall์— ์ถฉ๋Œ ์ฒ˜๋ฆฌ

์„ค๋ช…

  • ์ง„ํ–‰ํ•˜๋ ค๋Š” ๋ฐฉํ–ฅ์œผ๋กœ๋ถ€ํ„ฐ ๋ฒฝ๊นŒ์ง€์˜ ๊ฑฐ๋ฆฌ๊ฐ€ 1๋ณด๋‹ค ์ž‘์œผ๋ฉด ์ด๋™ ๋ถˆ๊ฐ€๋Šฅํ•˜๊ฒŒ ์ฒ˜๋ฆฌํ•˜๊ธฐ

ETC

[Feature] map read and parsing

  1. RGB ๊ฐ’ ๋ Œ๋”๋ง ์ด์Šˆ
  • 255, 2, 2
  • 255dd, 44gg , ddd
    ์œ„์˜ ์ผ€์ด์Šค๋“ค ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ• ์ง€

[Feature] Ray-Casting

์š”๊ตฌ์‚ฌํ•ญ

  • Ray-casting ๊ด€๋ จ ๋กœ์ง ํ•จ์ˆ˜๋“ค ๊ตฌํ˜„

์„ค๋ช…

  • Ray-casting ์— ํ•„์š”ํ•œ ๋ฒกํ„ฐ๋“ค์— ๋Œ€ํ•œ ๊ณ„์‚ฐ ๋กœ์ง๊ณผ ๋ฏธ๋‹ˆ๋งต ๊ทธ๋ž˜ํ”ฝ ๋ Œ๋”๋ง๊นŒ์ง€ ์™„๋ฃŒ

Todo

  • minimap - drawline
  • minimap - rotate
  • raycasting - wall hit logic
  • raycasting - rotate
  • raycasting - eyesight logic

ETC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.