10 2017 档案
摘要:IF(CMAKE_CL_64) set(platform x64) ELSE(CMAKE_CL_64) set(platform x86) ENDIF(CMAKE_CL_64)
阅读全文
摘要://设置背部剔除看不见背面东西 osg::ref_ptr cullface=new osg::CullFace(osg::CullFace::BACK); state->setAttribute(cullface.get()); state->setMode(GL_CULL_FACE,osg::StateAttribute::ON);
阅读全文
摘要:运行build_vs140.cmd,运行之前可以修改一些参数,例如编译64位 buildwin 140 build shared both x64 nosamples notests devenv 修改buildwin.cmd里面的OPENSSL_DIR路径, 另外重要的是,如果你用VS2015,需
阅读全文
摘要:https://www.microsoft.com/zh-CN/download/details.aspx?id=22 https://docs.microsoft.com/zh-cn/dotnet/framework/install/dotnet-35-windows-10
阅读全文
摘要:attribute:应用程序与顶点着色器的接口,使用顶点属性定义函数进行定义; uniform:应用程序与所有着色器的接口,定义不随顶点变化的“一致变量”; varying:着色器之间的“易变变量”接口,用于传递插值得到的顶点数据; const:用于声明常量数据; in:作为函数形参进行传递,函数返
阅读全文
摘要:#include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef _DEBUG #pragma comment(lib,"osgd.lib") #pragma comment(li...
阅读全文