AlgebraMaster

Modern C++ 创造非凡 . 改变世界 一起铲除毒瘤KPI

导航

05 2020 档案

OpenGL Transform Feedback
摘要:1,实际上这个原理类似opencl,将数据通过draw api做运算,一般通过的绘制方法: glBeginTransformFeedback(GL_POINTS); glDrawArrays(GL_POINTS, 0, 5); glEndTransformFeedback(); 如上绘制5个点,每个 阅读全文

posted @ 2020-05-30 16:34 gearslogy 阅读(1078) 评论(0) 推荐(0)

OpenGL Instance Advanced
摘要:1, General Method #define GLEW_STATIC // GLEW #include <GL/glew.h> #include <cstdlib> #undef GLFW_DLL // GLFW #include <GLFW/glfw3.h> #include <iostre 阅读全文

posted @ 2020-05-20 16:41 gearslogy 阅读(293) 评论(0) 推荐(0)

Raytracing On OpenGL Compute Shader
摘要:Compute Shader GLSL Variables uvec3 gl_NumWorkGroups global work group size we gave to glDispatchCompute() uvec3 gl_WorkGroupSize local work group siz 阅读全文

posted @ 2020-05-10 15:00 gearslogy 阅读(956) 评论(0) 推荐(0)