|
| | gSkybox () |
| |
| virtual | ~gSkybox () |
| |
| unsigned int | loadTextures (const std::vector< std::string > &texturePaths) |
| |
| unsigned int | load (const std::vector< std::string > &fullPaths) |
| |
| unsigned int | loadEquirectangular (const std::string &fullPath) |
| |
| unsigned int | loadTextureEquirectangular (const std::string &texturePath) |
| |
| void | loadFromData (std::array< int, 6 > widths, std::array< int, 6 > heights, std::array< void *, 6 > rawdata, std::array< bool, 6 > ishdr) |
| |
| void | draw () |
| |
| void | generatePbrMaps () |
| |
| void | bindPbrMaps () |
| |
| void | loadSkybox (gImage *images) |
| |
| void | loadDataSkybox (std::string *data, int width, int height) |
| |
| | gNode () |
| |
| virtual | ~gNode () |
| |
| void | move (float dx, float dy, float dz) |
| |
| void | move (const glm::vec3 &dv) |
| |
| void | rotate (const glm::quat &q) |
| |
| void | rotate (float radians, float ax, float ay, float az) |
| |
| void | rotateDeg (float degrees, float ax, float ay, float az) |
| |
| void | rotateAround (float radians, const glm::vec3 &axis, const glm::vec3 &point) |
| |
| void | rotateAroundDeg (float degrees, const glm::vec3 &axis, const glm::vec3 &point) |
| |
| void | scale (float sx, float sy, float sz) |
| |
| void | scale (float s) |
| |
| void | setPosition (float px, float py, float pz) |
| |
| void | setPosition (const glm::vec3 &pv) |
| |
| void | setOrientation (const glm::quat &o) |
| |
| void | setOrientation (const glm::vec3 &angles) |
| |
| void | setScale (const glm::vec3 &s) |
| |
| void | setScale (float sx, float sy, float sz) |
| |
| void | setScale (float s) |
| |
| void | truck (float distance) |
| |
| void | boom (float distance) |
| |
| void | dolly (float distance) |
| |
| void | tilt (float radians) |
| |
| void | tiltDeg (float degrees) |
| |
| void | pan (float radians) |
| |
| void | panDeg (float degrees) |
| |
| void | roll (float radians) |
| |
| void | rollDeg (float degrees) |
| |
| float | getPosX () const |
| |
| float | getPosY () const |
| |
| float | getPosZ () const |
| |
| const glm::vec3 & | getPosition () const |
| |
| const glm::quat & | getOrientation () const |
| |
| const glm::vec3 & | getScale () const |
| |
| glm::vec3 | getScalarDirectionX () const |
| |
| glm::vec3 | getScalarDirectionY () const |
| |
| glm::vec3 | getScalarDirectionZ () const |
| |
| void | setTransformationMatrix (const glm::mat4 &transformationMatrix) |
| |
| const glm::mat4 & | getTransformationMatrix () const |
| |
| int | getId () const |
| |
| void | setParent (gNode *parent) |
| |
| gNode * | getParent () const |
| |
| void | removeParent () |
| |
| void | addChild (gNode *child) |
| |
| void | removeChild (gNode *child) |
| |
| void | removeChild (int gObjectId) |
| |
| void | setEnabled (bool isEnabled) |
| |
| bool | isEnabled () const |
| |
| void | pushMatrix () const |
| |
| void | popMatrix () const |
| |
| | gRenderObject () |
| |
| int | getScreenWidth () |
| |
| int | getScreenHeight () |
| |
| void | pushMatrix () |
| |
| void | popMatrix () |
| |
| | gObject () |
| |
| void | logi (std::string message) |
| |
| void | logd (std::string message) |
| |
| void | logw (std::string message) |
| |
| void | loge (std::string message) |
| |
| void | logi (std::string tag, std::string message) |
| |
| void | logd (std::string tag, std::string message) |
| |
| void | logw (std::string tag, std::string message) |
| |
| void | loge (std::string tag, std::string message) |
| |
gSkybox creates a 6-sided textured sky box around the scene.
| unsigned int gSkybox::loadTextures |
( |
const std::vector< std::string > & |
texturePaths | ) |
|
Loads skybox textures from the assets/textures folder. 6 textures needed for the 6 sided skybox. Due to OpenGL instructions, the textures should be in this order: right, left, top, bottom, front, back.