摘要:
uniform mat4 osg_ViewMatrix;uniform mat4 osg_ViewMatrixInverse;uniform mat4 osg_ModeViewMatrix;uniform mat4 osg_ProjectionMatrix;uniform float osg_SimulationTime;uniform sampler2D ocean_data;const float radiusEquator = 6378137.0;const float radiusPolar = 6356752.3142;vec3 ECEF_TO_LLH(in vec3 xyz){ . 阅读全文
摘要:
Ogre Hello World 阅读全文
摘要:
#include #include #include int window_width = 1024;int window_height = 800;float rtri = 0.0;float rquad = 0.0;void init();void display();void resize(int w, int h);int main(int argc, char ** argv){ glutInit(&argc, argv); glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE); glutInitWindowSize(1024, 800.. 阅读全文
摘要:
几何着色器在osg中的使用 阅读全文
摘要:
片元着色器在osg中的使用 阅读全文
摘要:
简单的一个C++调用Python的例子 阅读全文