Code: Select all
#include "QOgreWidgetDemo.hpp"
#include "OGRE/RenderSystems/GL/OgreGLPlugin.h" //note that changing this header file to directx renderer also didnt solve
#include "QOgreWidget.hpp" // must be included after the OGRE plugin
#include "QCameraMan.h"
#include <OgreVector3.h>
#include <OgreResourceGroupManager.h>
#include <QGroupBox>
#include <QPushButton>
#include <QVBoxLayout>
void QOgreWidgetDemo::setupResources(void) {
// Load resource paths from config file
Ogre::ConfigFile cf;
cf.load("resources.cfg");
// Go through all sections & settings in the file
Ogre::ConfigFile::SectionIterator seci = cf.getSectionIterator();
Ogre::String secName, typeName, archName;
while (seci.hasMoreElements()) {
secName = seci.peekNextKey();
Ogre::ConfigFile::SettingsMultiMap *settings = seci.getNext();
Ogre::ConfigFile::SettingsMultiMap::iterator i;
for (i = settings->begin(); i != settings->end(); ++i) {
typeName = i->first;
archName = i->second;
Ogre::ResourceGroupManager::getSingleton().addResourceLocation(archName, typeName, secName);
}
}
}
void QOgreWidgetDemo::setupRenderSystem() {
// look for the openGL renderer in Ogre
Ogre::RenderSystemList::const_iterator availableRendererIt = mOgreRoot->getAvailableRenderers().begin();
while (availableRendererIt != mOgreRoot->getAvailableRenderers().end()) {
Ogre::String rName = (*availableRendererIt)->getName();
if (rName == "OpenGL Rendering Subsystem") {
break;
}
++availableRendererIt;
}
if (availableRendererIt == mOgreRoot->getAvailableRenderers().end()) {
throw std::runtime_error("We were unable to find the OpenGL renderer in ogre's list, cannot continue");
}
// use the OpenGL renderer in the root config
mRenderSystem = *availableRendererIt;
mOgreRoot->setRenderSystem(mRenderSystem);
mRenderWindow = mOgreRoot->initialise(false);
}
void QOgreWidgetDemo::createScene() {
mSceneManager = mOgreRoot->createSceneManager(Ogre::ST_EXTERIOR_CLOSE);
mCamera = mSceneManager->createCamera("QOgreWidget_Cam");
mCamera->setPosition(5.0, 5.0, 200);
mCamera->setAutoAspectRatio(true);
mCameraMan = new OgreBites::QCameraMan(mCamera);
mCameraMan->setCamera(mCamera);
mOgreViewport = mOgreWidget->getEmbeddedOgreWindow()->addViewport(mCamera);
this->resize(640, 480);
this->setWindowTitle("QOgreWidget demo");
Ogre::Plane plane(Ogre::Vector3::UNIT_Y, -10);
Ogre::MeshManager::getSingleton().createPlane("plane",
Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, plane,
1500,1500,200,200,true,1,5,5,Ogre::Vector3::UNIT_Z);
Ogre::Entity* ent = mSceneManager->createEntity("LightPlaneEntity", "plane");
mSceneManager->getRootSceneNode()->createChildSceneNode()->attachObject(ent);
Ogre::String matname("Examples/BeachStones");
ent->setMaterialName(matname);
Ogre::SceneNode* node = mSceneManager->createSceneNode("Node1");
mSceneManager->getRootSceneNode()->addChild(node);
Ogre::SceneNode* node2 = node->createChildSceneNode("node2");
node2->setPosition(0,100,0);
Ogre::Light* light = mSceneManager->createLight("Light1");
light->setType(Ogre::Light::LT_SPOTLIGHT);
light->setDirection(Ogre::Vector3(1,-1,0));
light->setSpotlightInnerAngle(Ogre::Degree(5.0f));
light->setSpotlightOuterAngle(Ogre::Degree(45.0f));
light->setSpotlightFalloff(0.0f);
light->setDiffuseColour(Ogre::ColourValue(0.0f,1.0f,0.0f));
node2->attachObject(light);
}
void QOgreWidgetDemo::createQtWidgets() {
QGroupBox *mainGroup = new QGroupBox;
QVBoxLayout *mainLayout = new QVBoxLayout;
mOgreWidget = new QOgreWidget(mOgreRoot, this, mainGroup);
QPushButton *buttonZoomIn = new QPushButton(tr("Zoom &In"));
QPushButton *buttonZoomOut = new QPushButton(tr("Zoom &Out"));
mainLayout->addWidget(buttonZoomIn);
mainLayout->addWidget(buttonZoomOut);
connect(buttonZoomIn, SIGNAL(released()), this, SLOT(onZoomIn()));
connect(buttonZoomOut, SIGNAL(released()), this, SLOT(onZoomOut()));
mainLayout->addWidget(mOgreWidget);
mainGroup->setLayout(mainLayout);
setCentralWidget(mainGroup);
}
void QOgreWidgetDemo::onZoomIn() {
mCamera->moveRelative(Ogre::Vector3(0, 0, -10.0));
}
void QOgreWidgetDemo::onZoomOut() {
mCamera->moveRelative(Ogre::Vector3(0, 0, 10));
}
void QOgreWidgetDemo::ogreMousePressEvent(QMouseEvent *event) {
mCameraMan->injectMouseDown(*event);
}
void QOgreWidgetDemo::ogreMouseMoveEvent(QMouseEvent *event) {
if (event->buttons() & Qt::LeftButton) {
std::cout << "mouse Moved (left button pressed)";
} else if (event->buttons() & Qt::RightButton) {
std::cout << "mouse Moved (right button pressed)";
}
int x = event->x();
int y = event->y();
int dx = mMouseMoveXOld - x;
int dy = mMouseMoveYOld - y;
mMouseMoveXOld = x;
mMouseMoveYOld = y;
mCameraMan->injectMouseMove(*event);
}
QOgreWidgetDemo::QOgreWidgetDemo()
{
mOgreRoot= new Ogre::Root("plugins_d.cfg");
setupResources();
setupRenderSystem();
createQtWidgets();
createScene();
mOgreRoot->renderOneFrame();
this->show(); // give focus to our application and make it visible
}
QOgreWidgetDemo::~QOgreWidgetDemo() {
delete mOgreRoot;
delete mOgreWidget;
}
Code: Select all
# Resources required by the sample browser and most samples.
[Essential]
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/SdkTrays.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/profiler.zip
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/thumbnails
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs/Cg
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs/HLSL
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs
FileSystem=../../../../../stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/scripts
FileSystem=..\\..\\..\\..\\..\\stuff\\ogre_msvc11\\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\\media\\materials\\scripts
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/textures
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/textures/nvidia
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/models
FileSystem=.
FileSystem=resources\\materials\\scripts
FileSystem=resources\\materials\\exam
FileSystem=D:\masteraplikasi\transfer21des\10des\ogre-tips\ogre_17_skrip\example15_qt\resources\exam
FileSystem=resources//materials//exams
FileSystem=resources\\materials\\textures
FileSystem=resources\\materials\\programs
# Common sample resources needed by many of the samples.
# Rarely used resources should be separately loaded by the
# samples which require them.
[Popular]
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/fonts
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs/Cg
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs/HLSL
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/models
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/particle
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/DeferredShadingmedia
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/PCZAppmedia
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/RTShaderLib
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/RTShaderLib/materials
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/scripts/SSAO
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/textures/SSAO
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/volumeTerrain
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/cubemap.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/cubemapsJS.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/dragon.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/fresneldemo.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/ogretestmap.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/ogredance.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/Sinbad.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/packs/skybox.zip
Zip=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/volumeTerrain/volumeTerrainBig.zip
FileSystem=resources\\materials\\exam
FileSystem=resources/materials/exam
[General]
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/scripts
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/textures
FileSystem=D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/textures/nvid
Code: Select all
19:31:35: Creating resource group General
19:31:35: Creating resource group Internal
19:31:35: Creating resource group Autodetect
19:31:35: SceneManagerFactory for type 'DefaultSceneManager' registered.
19:31:35: Registering ResourceManager for type Material
19:31:35: Registering ResourceManager for type Mesh
19:31:35: Registering ResourceManager for type Skeleton
19:31:35: MovableObjectFactory for type 'ParticleSystem' registered.
19:31:35: ArchiveFactory for archive type FileSystem registered.
19:31:35: ArchiveFactory for archive type Zip registered.
19:31:35: ArchiveFactory for archive type EmbeddedZip registered.
19:31:35: DDS codec registering
19:31:35: FreeImage version: 3.16.1
19:31:35: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
19:31:35: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,webp
19:31:35: ETC codec registering
19:31:35: Registering ResourceManager for type HighLevelGpuProgram
19:31:35: Registering ResourceManager for type Compositor
19:31:35: MovableObjectFactory for type 'Entity' registered.
19:31:35: MovableObjectFactory for type 'Light' registered.
19:31:35: MovableObjectFactory for type 'BillboardSet' registered.
19:31:35: MovableObjectFactory for type 'ManualObject' registered.
19:31:35: MovableObjectFactory for type 'BillboardChain' registered.
19:31:35: MovableObjectFactory for type 'RibbonTrail' registered.
19:31:35: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\RenderSystem_Direct3D9_d
19:31:35: Installing plugin: D3D9 RenderSystem
19:31:35: D3D9 : Direct3D9 Rendering Subsystem created.
19:31:36: D3D9: Driver Detection Starts
19:31:36: D3D9: Driver Detection Ends
19:31:36: Plugin successfully installed
19:31:36: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\RenderSystem_Direct3D11_d
19:31:36: Installing plugin: D3D11 RenderSystem
19:31:36: D3D11 : Direct3D11 Rendering Subsystem created.
19:31:36: D3D11: Driver Detection Starts
19:31:36: D3D11: Driver Detection Ends
19:31:36: Plugin successfully installed
19:31:36: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\RenderSystem_GL_d
19:31:36: Installing plugin: GL RenderSystem
19:31:36: OpenGL Rendering Subsystem created.
19:31:37: Plugin successfully installed
19:31:37: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_ParticleFX_d
19:31:37: Installing plugin: ParticleFX
19:31:37: Particle Emitter Type 'Point' registered
19:31:37: Particle Emitter Type 'Box' registered
19:31:37: Particle Emitter Type 'Ellipsoid' registered
19:31:37: Particle Emitter Type 'Cylinder' registered
19:31:37: Particle Emitter Type 'Ring' registered
19:31:37: Particle Emitter Type 'HollowEllipsoid' registered
19:31:37: Particle Affector Type 'LinearForce' registered
19:31:37: Particle Affector Type 'ColourFader' registered
19:31:37: Particle Affector Type 'ColourFader2' registered
19:31:37: Particle Affector Type 'ColourImage' registered
19:31:37: Particle Affector Type 'ColourInterpolator' registered
19:31:37: Particle Affector Type 'Scaler' registered
19:31:37: Particle Affector Type 'Rotator' registered
19:31:37: Particle Affector Type 'DirectionRandomiser' registered
19:31:37: Particle Affector Type 'DeflectorPlane' registered
19:31:37: Plugin successfully installed
19:31:37: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_BSPSceneManager_d
19:31:37: Installing plugin: BSP Scene Manager
19:31:37: Plugin successfully installed
19:31:37: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_CgProgramManager_d
19:31:37: Installing plugin: Cg Program Manager
19:31:37: Plugin successfully installed
19:31:37: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_PCZSceneManager_d
19:31:37: Installing plugin: Portal Connected Zone Scene Manager
19:31:37: PCZone Factory Type 'ZoneType_Default' registered
19:31:37: Plugin successfully installed
19:31:37: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_OctreeZone_d
19:31:37: Installing plugin: Octree Zone Factory
19:31:37: Plugin successfully installed
19:31:37: Loading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_OctreeSceneManager_d
19:31:37: Installing plugin: Octree Scene Manager
19:31:37: Plugin successfully installed
19:31:37: *-*-* OGRE Initialising
19:31:37: *-*-* Version 1.9.0 (Ghadamon)
19:31:37: Creating resource group Essential
19:31:37: Added resource location 'D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/thumbnails' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location 'D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs/Cg' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location 'D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs/HLSL' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location 'D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/programs' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location '../../../../../stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/scripts' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location '..\\..\\..\\..\\..\\stuff\\ogre_msvc11\\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\\media\\materials\\scripts' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location 'D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/textures' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location 'D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/materials/textures/nvidia' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location 'D:/masteraplikasi/stuff/ogre_msvc11/OGRE-SDK-1.9.0-vc110-x86-24.05.2014/media/models' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location '.' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location 'D:\masteraplikasi\transfer21des\10des\ogre-tips\ogre_17_skrip\example15_qt\resources\exam' of type 'FileSystem' to resource group 'Essential'
19:31:37: Added resource location 'resources\materials\exams' of type 'FileSystem' to resource group 'Essential'
19:31:38: CPU Identifier & Features
19:31:38: -------------------------
19:31:38: * CPU ID: GenuineIntel: Intel(R) Celeron(R) CPU 1000M @ 1.80GHz
19:31:38: * SSE: yes
19:31:38: * SSE2: yes
19:31:38: * SSE3: yes
19:31:38: * MMX: yes
19:31:38: * MMXEXT: yes
19:31:38: * 3DNOW: no
19:31:38: * 3DNOWEXT: no
19:31:38: * CMOV: yes
19:31:38: * TSC: yes
19:31:38: * FPU: yes
19:31:38: * PRO: yes
19:31:38: * HT: no
19:31:38: -------------------------
19:31:38: *** Starting Win32GL Subsystem ***
19:31:38: Registering ResourceManager for type Texture
19:31:39: GLRenderSystem::_createRenderWindow "OgreWidget_RenderWindow", 640x480 windowed miscParams: FSAA=8 parentWindowHandle=459680
19:31:39: Created Win32Window 'OgreWidget_RenderWindow' : 640x480, 32bpp
19:31:39: GL_VERSION = 4.0.0 - Build 9.17.10.2867
19:31:39: GL_VENDOR = Intel
19:31:39: GL_RENDERER = Intel(R) HD Graphics
19:31:39: GL_EXTENSIONS = GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_abgr GL_EXT_texture3D GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_SGIS_texture_edge_clamp GL_SGIS_generate_mipmap GL_EXT_draw_range_elements GL_SGIS_texture_lod GL_EXT_rescale_normal GL_EXT_packed_pixels GL_EXT_texture_edge_clamp GL_EXT_separate_specular_color GL_ARB_multitexture GL_EXT_texture_env_combine GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_secondary_color GL_EXT_fog_coord GL_EXT_texture_env_add GL_ARB_texture_cube_map GL_ARB_transpose_matrix GL_ARB_texture_env_add GL_IBM_texture_mirrored_repeat GL_EXT_multi_draw_arrays GL_SUN_multi_draw_arrays GL_NV_blend_square GL_ARB_texture_compression GL_3DFX_texture_compression_FXT1 GL_EXT_texture_filter_anisotropic GL_ARB_texture_border_clamp GL_ARB_point_parameters GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_EXT_texture_compression_s3tc GL_ARB_shadow GL_ARB_window_pos GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_ARB_vertex_program GL_EXT_texture_rectangle GL_ARB_fragment_program GL_EXT_stencil_two_side GL_ATI_separate_stencil GL_ARB_vertex_buffer_object GL_EXT_texture_lod_bias GL_ARB_occlusion_query GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_non_power_of_two GL_ARB_vertex_shader GL_NV_texgen_reflection GL_ARB_point_sprite GL_ARB_fragment_program_shadow GL_EXT_blend_equation_separate GL_ARB_depth_texture GL_ARB_texture_rectangle GL_ARB_draw_buffers GL_ARB_color_buffer_float GL_ARB_half_float_pixel GL_ARB_texture_float GL_ARB_pixel_buffer_object GL_EXT_framebuffer_object GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_occlusion_query2 GL_EXT_draw_buffers2 GL_WIN_swap_hint GL_EXT_texture_sRGB GL_ARB_multisample GL_EXT_packed_float GL_EXT_texture_shared_exponent GL_ARB_texture_rg GL_ARB_texture_compression_rgtc GL_NV_conditional_render GL_EXT_texture_swizzle GL_ARB_texture_gather GL_ARB_sync GL_ARB_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_ARB_depth_buffer_float GL_EXT_transform_feedback GL_ARB_transform_feedback2 GL_ARB_draw_indirect GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_ARB_framebuffer_object GL_EXT_texture_array GL_EXT_texture_integer GL_ARB_map_buffer_range GL_EXT_texture_snorm GL_ARB_blend_func_extended GL_INTEL_performance_queries GL_ARB_copy_buffer GL_ARB_sampler_objects GL_NV_primitive_restart GL_ARB_seamless_cube_map GL_ARB_uniform_buffer_object GL_ARB_depth_clamp GL_ARB_vertex_array_bgra GL_ARB_shader_bit_encoding GL_ARB_draw_buffers_blend GL_ARB_geometry_shader4 GL_ARB_texture_query_lod GL_ARB_explicit_attrib_location GL_ARB_draw_elements_base_vertex GL_ARB_instanced_arrays GL_ARB_fragment_coord_conventions GL_EXT_gpu_program_parameters GL_ARB_texture_buffer_object_rgb32 GL_ARB_compatibility GL_ARB_texture_rgb10_a2ui GL_ARB_texture_multisample GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_timer_query GL_INTEL_map_texture GL_ARB_tessellation_shader GL_ARB_vertex_array_object GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_texture_cube_map_array GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_shader_subroutine GL_ARB_transform_feedback3
19:31:39: Supported WGL extensions: WGL_EXT_depth_float WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format WGL_ARB_pbuffer WGL_EXT_extensions_string WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_ARB_multisample WGL_ARB_pixel_format_float WGL_ARB_framebuffer_sRGB WGL_ARB_create_context WGL_ARB_create_context_profile WGL_EXT_pixel_format_packed_float WGL_EXT_create_context_es2_profile
19:31:39: ***************************
19:31:39: *** GL Renderer Started ***
19:31:39: ***************************
19:31:39: Registering ResourceManager for type GpuProgram
19:31:39: GLSL support detected
19:31:39: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
19:31:39: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:39: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:39: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8
19:31:40: [GL] : Valid FBO targets PF_UNKNOWN PF_A8 PF_R5G6B5 PF_B5G6R5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_SHORT_RGB
19:31:40: RenderSystem capabilities
19:31:40: -------------------------
19:31:40: RenderSystem Name: OpenGL Rendering Subsystem
19:31:40: GPU Vendor: intel
19:31:40: Device Name: Intel(R) HD Graphics
19:31:40: Driver Version: 4.0.0.0
19:31:40: * Fixed function pipeline: yes
19:31:40: * Hardware generation of mipmaps: no
19:31:40: * Texture blending: yes
19:31:40: * Anisotropic texture filtering: yes
19:31:40: * Dot product texture operation: yes
19:31:40: * Cube mapping: yes
19:31:40: * Hardware stencil buffer: yes
19:31:40: - Stencil depth: 8
19:31:40: - Two sided stencil support: yes
19:31:40: - Wrap stencil values: yes
19:31:40: * Hardware vertex / index buffers: yes
19:31:40: * 32-bit index buffers: yes
19:31:40: * Vertex programs: yes
19:31:40: * Number of floating-point constants for vertex programs: 256
19:31:40: * Number of integer constants for vertex programs: 0
19:31:40: * Number of boolean constants for vertex programs: 0
19:31:40: * Fragment programs: yes
19:31:40: * Number of floating-point constants for fragment programs: 256
19:31:40: * Number of integer constants for fragment programs: 0
19:31:40: * Number of boolean constants for fragment programs: 0
19:31:40: * Geometry programs: no
19:31:40: * Number of floating-point constants for geometry programs: 0
19:31:40: * Number of integer constants for geometry programs: 0
19:31:40: * Number of boolean constants for geometry programs: 0
19:31:40: * Tesselation Hull programs: no
19:31:40: * Number of floating-point constants for tesselation hull programs: 0
19:31:40: * Number of integer constants for tesselation hull programs: 0
19:31:40: * Number of boolean constants for tesselation hull programs: 0
19:31:40: * Tesselation Domain programs: no
19:31:40: * Number of floating-point constants for tesselation domain programs: 0
19:31:40: * Number of integer constants for tesselation domain programs: 0
19:31:40: * Number of boolean constants for tesselation domain programs: 0
19:31:40: * Compute programs: no
19:31:40: * Number of floating-point constants for compute programs: 0
19:31:40: * Number of integer constants for compute programs: 0
19:31:40: * Number of boolean constants for compute programs: 0
19:31:40: * Supported Shader Profiles: arbfp1 arbvp1 glsl glsl100 glsl110 glsl120
19:31:40: * Texture Compression: yes
19:31:40: - DXT: yes
19:31:40: - VTC: no
19:31:40: - PVRTC: no
19:31:40: - ATC: no
19:31:40: - ETC1: no
19:31:40: - ETC2: no
19:31:40: - BC4/BC5: no
19:31:40: - BC6H/BC7: no
19:31:40: * Scissor Rectangle: yes
19:31:40: * Hardware Occlusion Query: yes
19:31:40: * User clip planes: yes
19:31:40: * VET_UBYTE4 vertex element type: yes
19:31:40: * Infinite far plane projection: yes
19:31:40: * Hardware render-to-texture: yes
19:31:40: * Floating point textures: yes
19:31:40: * Non-power-of-two textures: yes
19:31:40: * 1d textures: yes
19:31:40: * Volume textures: yes
19:31:40: * Multiple Render Targets: 8
19:31:40: - With different bit depths: yes
19:31:40: * Point Sprites: yes
19:31:40: * Extended point parameters: yes
19:31:40: * Max Point Size: 255
19:31:40: * Vertex texture fetch: yes
19:31:40: * Number of world matrices: 0
19:31:40: * Number of texture units: 16
19:31:40: * Stencil buffer depth: 8
19:31:40: * Number of vertex blend matrices: 0
19:31:40: - Max vertex textures: 16
19:31:40: - Vertex textures shared: yes
19:31:40: * Render to Vertex Buffer : no
19:31:40: * Hardware Atomic Counters: no
19:31:40: * GL 1.5 without VBO workaround: no
19:31:40: * Frame Buffer objects: yes
19:31:40: * Frame Buffer objects (ARB extension): no
19:31:40: * Frame Buffer objects (ATI extension): no
19:31:40: * PBuffer support: yes
19:31:40: * GL 1.5 without HW-occlusion workaround: no
19:31:40: * Vertex Array Objects: no
19:31:40: * Separate shader objects: no
19:31:40: Using FSAA from GL_ARB_multisample extension.
19:31:40: DefaultWorkQueue('Root') initialising on thread 11b8.
19:31:40: DefaultWorkQueue('Root')::WorkerFunc - thread 30c starting.
19:31:40: DefaultWorkQueue('Root')::WorkerFunc - thread 56c starting.
19:31:40: Particle Renderer Type 'billboard' registered
19:31:41: SceneManagerFactory for type 'BspSceneManager' registered.
19:31:41: Registering ResourceManager for type BspLevel
19:31:41: SceneManagerFactory for type 'PCZSceneManager' registered.
19:31:41: MovableObjectFactory for type 'PCZLight' registered.
19:31:41: MovableObjectFactory for type 'Portal' registered.
19:31:41: MovableObjectFactory for type 'AntiPortal' registered.
19:31:41: PCZone Factory Type 'ZoneType_Octree' registered
19:31:41: SceneManagerFactory for type 'OctreeSceneManager' registered.
19:31:42: Can't assign material Examples/BeachStones to SubEntity of LightPlaneEntity because this Material does not exist. Have you forgotten to define it in a .material script?
04:15:01: DefaultWorkQueue('Root') shutting down on thread 11b8.
04:15:01: DefaultWorkQueue('Root')::WorkerFunc - thread 30c stopped.
04:15:01: DefaultWorkQueue('Root')::WorkerFunc - thread 56c stopped.
04:15:02: PCZone Factory Type 'ZoneType_Octree' unregistered
04:15:02: Unregistering ResourceManager for type BspLevel
04:15:02: *-*-* OGRE Shutdown
04:15:02: Unregistering ResourceManager for type Compositor
04:15:02: Unregistering ResourceManager for type Skeleton
04:15:02: Unregistering ResourceManager for type Mesh
04:15:02: Unregistering ResourceManager for type HighLevelGpuProgram
04:15:02: Uninstalling plugin: Octree Scene Manager
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_OctreeSceneManager_d
04:15:02: Uninstalling plugin: Octree Zone Factory
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_OctreeZone_d
04:15:02: Uninstalling plugin: Portal Connected Zone Scene Manager
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_PCZSceneManager_d
04:15:02: Uninstalling plugin: Cg Program Manager
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_CgProgramManager_d
04:15:02: Uninstalling plugin: BSP Scene Manager
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_BSPSceneManager_d
04:15:02: Uninstalling plugin: ParticleFX
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\Plugin_ParticleFX_d
04:15:02: Uninstalling plugin: GL RenderSystem
04:15:02: Unregistering ResourceManager for type GpuProgram
04:15:02: *** Stopping Win32GL Subsystem ***
04:15:02: Unregistering ResourceManager for type Texture
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\RenderSystem_GL_d
04:15:02: Uninstalling plugin: D3D11 RenderSystem
04:15:02: D3D11 : Shutting down cleanly.
04:15:02: D3D11 : Direct3D11 Rendering Subsystem destroyed.
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\RenderSystem_Direct3D11_d
04:15:02: Uninstalling plugin: D3D9 RenderSystem
04:15:02: D3D9 : Shutting down cleanly.
04:15:02: D3D9 : Direct3D9 Rendering Subsystem destroyed.
04:15:02: Plugin successfully uninstalled
04:15:02: Unloading library D:\masteraplikasi\stuff\ogre_msvc11\OGRE-SDK-1.9.0-vc110-x86-24.05.2014\bin\Debug\RenderSystem_Direct3D9_d
04:5:02: Unregistering ResourceManager for type Material
picture attached.. thanks for your attentions before
