2022年9月14日

OSG 嵌入到Qt 后 模型拉伸变形的解决方法

摘要: double aspectRatio = static_cast<double>(this->width()) / static_cast<double>(this->height() ); getOsgViewer()->getCamera()->setProjectionMatrixAsPers 阅读全文

posted @ 2022-09-14 18:44 明太宗朱棣 阅读(119) 评论(0) 推荐(0) 编辑

Qt 下 OSG 的 环境搭建

摘要: osg的下载:直接去OSG的官网上下载:https://www.openscenegraph.com/; osg的编译安装:参考 https://blog.csdn.net/qq_43627907/article/details/118280739; osg嵌入Qt的安装:参考https://blo 阅读全文

posted @ 2022-09-14 16:36 明太宗朱棣 阅读(134) 评论(0) 推荐(0) 编辑

导航