inverseda / inverseda_blog Goto Github PK
View Code? Open in Web Editor NEWMy personal blog based on hexo.
Home Page: https://inverseda-blog.vercel.app
My personal blog based on hexo.
Home Page: https://inverseda-blog.vercel.app
硬阴影是最暴力的一种求阴影的方法,比较逆天,但很简单,原理如下: 设光位置为$(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/
设置GOPROXY代理: 1go env -w GOPROXY=https://goproxy.cn,direct 设置GOPRIVATE来跳过私有库,比如常用的Gitlab或Gitee,中间使用逗号分隔: 1go env -w GOPRIVATE=.gitlab.com,.gitee.com
http://blog.inverseda.top/2023/01/17/Go/GO%E7%9A%84Proxy%E9%97%AE%E9%A2%98/
为什么要选择CMake + Clangd + CodeLLDB?Microsoft的C++插件补全比较垃圾,并且采用LLDB更好一些。这个配方是跨平台的(Windows要使用WSL2),所以大家可以随便cv配置。 需要你对系统比较熟悉,并且会一点点CMake的语法,反正不难。 安装插件需要安装CMake、CMake Tools、CodeLLDB和Clangd的插件。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.