#include <osg/Billboard>
Go to the source code of this file.
|
void | CreateSkyBox (osg::ref_ptr< osg::Geode > skyboxGeode, long x, long y, long z, long width, long height, long length) |
|
void | CreateGround (osg::ref_ptr< osg::Geode > groundGeode, long x, long y, long z, long width, long length, long tileCount) |
|
void | CreateSun (osg::ref_ptr< osg::Billboard > sunBillBoard, int x, int y, int z) |
|
- Author
- Jakub Kroupal (original Atmospheric plug-in)
-
Rastislav Tisovcik (revised Clouds ability)
- Version
- 2.0
- Date
- 2008 (Atmospheric), December 2010 (Clouds)
void CreateGround |
( |
osg::ref_ptr< osg::Geode > |
groundGeode, |
|
|
long |
x, |
|
|
long |
y, |
|
|
long |
z, |
|
|
long |
width, |
|
|
long |
length, |
|
|
long |
tileCount |
|
) |
| |
Creates a basic ground with texture
- Parameters
-
[out] | groundGeode | Pointer to the osg::geode, where the ground should be stored |
[in] | x | X coordinate of the center of the ground |
[in] | y | Y coordinate of the ground (since the thickness is zero the parameter only determines the Y coordinate) |
[in] | z | Z coordinate of the center of the ground |
[in] | width | Width of the ground |
[in] | length | Length of the ground |
[in] | tileCount | Number of tiles in one coordinate |
void CreateSkyBox |
( |
osg::ref_ptr< osg::Geode > |
skyboxGeode, |
|
|
long |
x, |
|
|
long |
y, |
|
|
long |
z, |
|
|
long |
width, |
|
|
long |
height, |
|
|
long |
length |
|
) |
| |
Creates a skybox
- Parameters
-
[out] | skyboxGeode | Pointer to the osg::geode, where the skybox should be stored |
[in] | x | X coordinate of the center of the skybox |
[in] | y | Y coordinate of the center of the skybox |
[in] | z | Z coordinate of the center of the skybox |
[in] | width | Width of the skybox |
[in] | height | Height of the skybox |
[in] | length | Length of the skybox |
void CreateSun |
( |
osg::ref_ptr< osg::Billboard > |
sunBillBoard, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
z |
|
) |
| |
Creates a basic ground with texture
- Parameters
-
[out] | sunBillBoard | Pointer to the osg::BillBoard, where the sun should be stored |
[in] | x | X coordinate of the center of the sun |
[in] | y | Y coordinate of the center of the sun |
[in] | z | Z coordinate of the center of the sun |