3 #include "CloudCreateVolume.h"
4 #include <osgViewer/Viewer>
6 #include <osg/ShapeDrawable>
7 #include <osgViewer/ViewerEventHandlers>
8 #include <osgDB/ReadFile>
9 #include <osg/Texture2D>
10 #include <osgGA/StateSetManipulator>
11 #include <osg/Program>
12 #include <osg/PolygonMode>
14 #include <osg/ref_ptr>
16 #include <osg/Geometry>
20 #include <osg/Program>
22 #include <osg/Uniform>
23 #include <osg/BlendFunc>
25 #include <osgViewer/Viewer>
30 namespace osgCloudyDay
62 osg::ref_ptr<osg::Vec3Array> vertices,
63 osg::ref_ptr<osg::Vec4Array> rotation,
64 osg::ref_ptr<osg::Vec4Array> center,
65 osg::ref_ptr<osg::Vec4Array> ids,
66 osg::ref_ptr<osg::Vec4Array> boxcenters,
67 osg::ref_ptr<osg::Vec3Array> ambientlight_h,
68 osg::ref_ptr<osg::Vec3Array> ambientlight_t,
69 osg::ref_ptr<osg::Vec3Array> diffuselight,
70 osg::ref_ptr<osg::Vec4Array> color);
155 osg::ref_ptr<osg::Vec3Array> vertices;
156 osg::ref_ptr<osg::Vec4Array> rotation;
157 osg::ref_ptr<osg::Vec4Array> center;
158 osg::ref_ptr<osg::Vec4Array> ids;
159 osg::ref_ptr<osg::Vec4Array> box_centers;
160 osg::ref_ptr<osg::Vec4Array> color;