Giter Club home page Giter Club logo

arknights-tile-pos's People

Contributors

lancarus avatar misteo avatar q0314 avatar yuanyan3060 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

arknights-tile-pos's Issues

Perspective projection matrix could be simplified (?

想问一下 MatrixP 中的 1000 和 0.3 是游戏中摄像机的真实配置吗, 如果不是, 考虑到这里只需要获得屏幕坐标, 没有裁切等操作, 用 MatrixP 把坐标换到完整的 NDC space 中是不必要的, 应该可以直接写成
$$\begin{bmatrix} \frac{h}{2} \cot\frac{\text{FOV}_h}{2} & & & \\ & \frac{h}{2} \cot\frac{\text{FOV}_h}{2} \\ & & 0 & 0 \\ & & -1 & 0 \end{bmatrix}$$
后面也不用再对 view_point 乘以 heightwidth 缩放了.

(如果这是正确的话, 这部分应该也只是进行了简单的透视除法, 看上去所有变换都可以不使用任何矩阵库来进行, 但可能降低一些可读性)
(开摆, 我不想写 pr 了喵, 不过回头可能开个新 repo 尝试去重写一下

Add OpenCV stuff in cpp/3rdparty to .gitignore?

If one has OpenCV installed in the system already, it would be annoying if OpenCV dependency was cloned with the repo. (git clone command cannot exclude files)

Assuming code here works fine even with a slightly different OpenCV version. 看上去应该不会导致依赖爆炸 (思考

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.