Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
testSceneGraph.cpp File Reference
#include <cassert>
#include <Ult/DynamicModel.h>
#include <Ult/Effect/Effect.h>
#include <Ult/Effect/TextureShader.h>
#include <Ult/Input.h>
#include <Ult/Renderer/OpenGLRenderer.h>
#include <Ult/SceneGraph.h>
#include <Ult/Shapes/Shapes.h>
#include <Ult/GeometryNode.h>
#include <Ult/TransformationNode.h>

Macros

#define WINDOW_NAME   "Scene Graph Test"
 
#define WINDOW_CLASS   "UPGCLASS"
 
#define WINDOW_WIDTH   800
 
#define WINDOW_HEIGHT   600
 
#define WINDOW_FULLSCREEN   0
 

Functions

void DemoResize (int width, int height)
 
bool DemoInitialize (Ult::RenderParams &params)
 
void DemoUpdate ()
 
void DemoRender ()
 
void DemoShutdown ()
 
int main ()
 

Variables

Ult::DynamicModel gGameModel [4]
 
Ult::Handle< Ult::ModelResourceTaggBoxDataHandle
 
Ult::Handle< Ult::EffectResourceTaggTex1EffectHandle
 
ULT_MODEL_RESOURCE_MANAGER gModelManager
 
ULT_EFFECT_RESOURCE_MANAGER gEffectManager
 
Ult::SceneGraph gSceneGraph
 
int gXRot = 0
 
int gOldXRot = 0
 
int gYRot = 0
 
int gOldYRot = 0
 
Ult::OpenGLRenderer gRender
 
bool gQuitDemo = false
 

Macro Definition Documentation

◆ WINDOW_CLASS

#define WINDOW_CLASS   "UPGCLASS"

◆ WINDOW_FULLSCREEN

#define WINDOW_FULLSCREEN   0

◆ WINDOW_HEIGHT

#define WINDOW_HEIGHT   600

◆ WINDOW_NAME

#define WINDOW_NAME   "Scene Graph Test"

◆ WINDOW_WIDTH

#define WINDOW_WIDTH   800

Function Documentation

◆ DemoInitialize()

bool DemoInitialize ( Ult::RenderParams & params)

◆ DemoRender()

void DemoRender ( )

◆ DemoResize()

void DemoResize ( int width,
int height )

◆ DemoShutdown()

void DemoShutdown ( )

◆ DemoUpdate()

void DemoUpdate ( )

◆ main()

int main ( )

Variable Documentation

◆ gBoxDataHandle

◆ gEffectManager

◆ gGameModel

Ult::DynamicModel gGameModel[4]

◆ gModelManager

◆ gOldXRot

int gOldXRot = 0

◆ gOldYRot

int gOldYRot = 0

◆ gQuitDemo

bool gQuitDemo = false

◆ gRender

◆ gSceneGraph

Ult::SceneGraph gSceneGraph

◆ gTex1EffectHandle

Ult::Handle<Ult::EffectResourceTag> gTex1EffectHandle

◆ gXRot

int gXRot = 0

◆ gYRot

int gYRot = 0