buildaworldnet / IrrlichtBAW

Build A World fork of Irrlicht
http://www.buildaworld.net
Apache License 2.0
122 stars 28 forks source link

BRDF Explorer GUI #254

Closed manhnt9 closed 5 years ago

manhnt9 commented 5 years ago

We can discuss and update progress on GUI development of BRDF Explorer extension here.

Developer: @Florastamine Adviser: @manhnt9 @devshgraphicsprogramming

Screenshots: to be updated when there's new progress from @Florastamine

Notes after discussion on Discord:

Task list made by @Florastamine:

How to integrate CEGUI into IrrBAW:

How to render CEGUI with IrrBAW: Use this code snippet for GUI rendering

auto renderState = irr::video::COpenGLState::collectGLState();
irr::video::COpenGLState guiState;
executeGLDiff(guiState.getStateDiff(renderState));  
CEGUI::System::getSingleton().renderAllGUIContexts();
executeGLDiff(renderState.getStateDiff(irr::video::COpenGLState::collectGLState()));

See more about how to use IrrBAW's OpenGL state manager at this file.

Notes: