Giter Club home page Giter Club logo

inverseda_blog's Issues

2022/11/14/ComputerGraphics/14.%E7%A1%AC%E9%98%B4%E5%BD%B1/

OpenGL教程:14. 最简单的阴影生成算法——硬阴影生成 - InverseDa Blog

硬阴影是最暴力的一种求阴影的方法,比较逆天,但很简单,原理如下: 设光位置为$(x_l,y_l,z_l)$,片元位置为$(x,y,z)$,片元的投影位置为$(x_k,y_k,z_k)$。 由几何关系:$$\frac{x_l-x}{x-x_k}=\frac{y_l-y}{y-y_k}$$解得:$$x=\frac{x_l(y-y_k)+x(y_k-y_l)}{y-y_l}$$同理

http://blog.inverseda.top/2022/11/14/ComputerGraphics/14.%E7%A1%AC%E9%98%B4%E5%BD%B1/

2023/02/17/Linux/%E9%87%87%E7%94%A8CMake%E5%92%8CCodeLLDB%E9%85%8D%E7%BD%AEVscode%E7%9A%84Cpp%E7%8E%AF%E5%A2%83/

采用CMake和CodeLLDB配置Vscode的C++环境 - InverseDa's Blog

为什么要选择CMake + Clangd + CodeLLDB?Microsoft的C++插件补全比较垃圾,并且采用LLDB更好一些。这个配方是跨平台的(Windows要使用WSL2),所以大家可以随便cv配置。 需要你对系统比较熟悉,并且会一点点CMake的语法,反正不难。 安装插件需要安装CMake、CMake Tools、CodeLLDB和Clangd的插件。

http://blog.inverseda.top/2023/02/17/Linux/%E9%87%87%E7%94%A8CMake%E5%92%8CCodeLLDB%E9%85%8D%E7%BD%AEVscode%E7%9A%84Cpp%E7%8E%AF%E5%A2%83/

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.