上一页 1 2 3 4 5 6 ··· 40 下一页
摘要: QToolButton { border-image: url(a.png); } QToolButton:hover { border-image: url(b.png); } QToolButton:pressed,QToolButton:checked { border-image: url( 阅读全文
posted @ 2020-06-10 11:00 酷熊 阅读(2010) 评论(0) 推荐(0) 编辑
摘要: 数据源是一个县的局部tif 运行 osgearth_package.exe cutTif.earth --tms cutTif.earth --out d:/output --max-level 20 --out-earth export.earth --ext png 其中cutTif.earth 阅读全文
posted @ 2020-05-28 15:30 酷熊 阅读(1037) 评论(3) 推荐(1) 编辑
摘要: //输入框添加自动搜索按钮和自动补全控件 void addSerachIconAndCompleterToLineEdit(QLineEdit* lineEdit) { QCompleter* completer = new QCompleter(lineEdit); QStringListMode 阅读全文
posted @ 2020-05-26 15:58 酷熊 阅读(1011) 评论(0) 推荐(0) 编辑
摘要: osg::TriangeFunctor examples/osggeometry 阅读全文
posted @ 2020-05-25 15:12 酷熊 阅读(323) 评论(0) 推荐(0) 编辑
摘要: set_target_properties(myApplication PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "$<TARGET_FILE_DIR:myApplication>" VS_DEBUGGER_COMMAND "$<TARGET_FILE:myA 阅读全文
posted @ 2020-05-15 09:36 酷熊 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: #ifndef SCHECKBOXHEADERVIEW_H #define SCHECKBOXHEADERVIEW_H #include <QtGui> #include <QPainter> #include <QHeaderView> #include <QStyleOptionButton> 阅读全文
posted @ 2020-05-07 17:25 酷熊 阅读(3617) 评论(0) 推荐(0) 编辑
摘要: osg3.4版本的有问题,特别是一个比较大的三角形包含一部分多面体,他的计算过程是每次计算三角形的一条边与多面体求交,这种情况就无法计算多面体内部覆盖的三角部分 osg3.6.4版本更新了计算方法,但是有个Bug,需要修改PolygonIntersectorUtil::IntersectFuncto 阅读全文
posted @ 2020-04-05 10:36 酷熊 阅读(958) 评论(0) 推荐(0) 编辑
摘要: 可以参考osg示例代码osggeometryshaders 它用glsl版本比较老#version 120 #extension GL_EXT_geometry_shader4 : enable 使用gl_PositionIn[],而不能使用gl_in[],这个需要更高版本 类似以下代码: #ver 阅读全文
posted @ 2020-03-21 13:46 酷熊 阅读(761) 评论(0) 推荐(0) 编辑
摘要: https://www.geeks3d.com/hacklab/20180514/demo-wireframe-shader-opengl-3-2-and-opengl-es-3-1/#more-1349 gs: #version 150 layout(triangles) in; layout(t 阅读全文
posted @ 2020-03-18 17:31 酷熊 阅读(1244) 评论(0) 推荐(0) 编辑
摘要: 摘自:https://www.jianshu.com/p/848d982db9f2 阅读全文
posted @ 2020-03-16 15:39 酷熊 阅读(4324) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 40 下一页