qt osgearth 使用粒子模型生成爆炸以及火箭尾焰

直接上代码:

qt+osgearth 加载火箭模型并飞行

#include <osgViewer/Viewer>
#include <osgEarth/EarthManipulator>
#include <osgDB/ReadFile>
#include <osg/Geode>
#include <osg/MatrixTransform>
#include <osg/LineWidth>
#include <osg/LineStipple>
#include <QWidget>
#include <osgViewer/Viewer>
#include <osg/Node>
#include <osgEarth/Map>
#include <osgEarth/Sky>
#include <osgEarth/Utils>
#include <osgEarth/Ephemeris>

#include <osgEarthDrivers/sky_gl/GLSkyNode>
#include<osg/PositionAttitudeTransform>
#include <osgEarth/GDAL>
#include <osgEarth/URI>
#include <osgEarth/MBTiles>
#include <osgEarth/ShaderGenerator>
#include <osgEarth/GeoTransform>
#include <osg/ShapeDrawable>
#include <osgDB/ReadFile>
#include <osgGA/TrackballManipulator>
#include<osgGA/FlightManipulator>
#include <osgViewer/View>
#include <osg/ArgumentParser>
#include <osgGA/CameraManipulator>
#include <osgEarth/MapNode>
#include <osgEarth/Map>
#include <osgEarth/MapNode>
#include <osgEarth/TMS>
#include <osgEarth/EarthManipulator>
#include <osg/ArgumentParser>
#include <osgDB/ReadFile>
#include <osgGA/TrackballManipulator>
#include<osgGA/FlightManipulator>
#include <osgViewer/View>
#include <osgQOpenGL/osgQOpenGLWidget>
#include <osg/Timer>
#include <osg/ArgumentParser>
#include <osgGA/CameraManipulator>
#include <osgEarth/ElevationQuery>

#include "osgEarthDrivers\sky_simple\SimpleSkyNode"    //for the sky
#include "osgEarthDrivers\sky_simple\SimpleSkyOptions"     //for the sky


#include "src/pugiconfig.hpp"
#include "src/pugixml.hpp"
#include "osgEarth/Style"
#include "osgEarth/PlaceNode"
#include "osg/LineWidth"
#include "osg/LineStipple"
#include 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

weixin_45247650

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值