摘要: 顶点:一堆属性的集合,如VBO,方位,颜色 顶点着色器:处理顶点的gpu程序;输入:顶点属性(e.g. 位置,颜色,法线...), 全局变量 uniforms(e.g. light position, global colors, viewing transform...) 输出:顶点属性 e.g. 阅读全文
posted @ 2020-01-27 17:14 溪边老圃 阅读(151) 评论(0) 推荐(0)
摘要: 【算法正确性】所有的输入,都能停止,并有正确的输出 【算法选择】易懂:),优雅:),高效:)(时间+空间) 【θ】θ(g(n)) = {f(n) | Exist positive constant: c1, c2, n0 && 0 <= c1g(n) <= f(n) <= c2g(n) for al 阅读全文
posted @ 2020-01-24 15:27 溪边老圃 阅读(157) 评论(0) 推荐(0)
摘要: 【GLuint】 unsigned binary integer(in "glad.h", typedef unsigned int GLuint;) 【::】在类外部,定义成员函数;在类外部,引用静态成员函数 【#ifdef】如果定义了LINUX,则执行#endif前的语句(用于根据环境选择是否用 阅读全文
posted @ 2020-01-23 15:03 溪边老圃 阅读(137) 评论(0) 推荐(0)
摘要: 1) i can not compile the assignment sucessfully on mac It is said the shader file is corrupted: The vertex and fragment files can not be opened and I 阅读全文
posted @ 2020-01-22 16:00 溪边老圃 阅读(115) 评论(0) 推荐(0)
摘要: 【进程同步】在多进程之间,管理及控制对于共享变量的执行和访问 【竞争条件】多进程同步执行,共享至少一个变量,执行结果取决于不同进程对变量的改变顺序 【临界区】要求使用共享资源或变量的一段码 【临界区问题】多进程用来达成合作的一个协议:互斥(同一时间,只有一个进程执行临界区的码);进展通知(一个进程离 阅读全文
posted @ 2020-01-22 14:56 溪边老圃 阅读(506) 评论(0) 推荐(0)
摘要: Mac复制路径 option+cammand+C 阅读全文
posted @ 2020-01-22 03:59 溪边老圃 阅读(192) 评论(0) 推荐(0)