I just tried to use TwOgre, but I'm having some issues with CMake, looks like a missing file...
CMake Error: File c:/edit/ogre/twogre_src/twogregui/cmake/templates/TwOgre.pc.in does not exist.
CMake Error at CMakeLists.txt:151 (CONFIGURE_FILE):
configure_file Problem configuring file
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory c:/edit/ogre/twogre_src/twogregui
The second one looks like Boost is required -- I don't have it installed and I'd prefer not having to use it. Is it really required by TwOgre (why)?
I know this is a bit of an old topic, but thanks for this! I'm going to try and integrate it into my engine, should make tweaking and debugging a much more pleasant experience!
Hehe, definitely useful! I'm having a bit of a problem. Is there a way to only render to the main render target? I should know this, but I've been away from Ogre from a while and I'm a little rusty.
It's showing on my Env Map and Mirrors like this: -
One quick way is to disable overlay for the mirror viewports (Viewport::setOverlaysEnabled) - but that will only work if TwOgre is derived from OverlayElement (if I am not mistaken). Another is to register as viewport listener, and check if the viewports (car mirror) are rendering, then you want to hide the TwOgre object.
A willow deeply scarred, somebody's broken heart
And a washed-out dream
They follow the pattern of the wind, ya' see
Cause they got no place to be
That's why I'm starting with me
It doesn't use overlays at all.
I think it uses render queue events - so so.. I'm away from the source so I'm foggy.. :p
If it's not tied to a viewport then it could probably use a patch/change.
/* Less noise. More signal. */ Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion. OgreAddons - the Ogre code suppository.
@syedhs The viewports all had setOverlaysEnabled(false) previously, so unfortunately that didn't work
@jacmoe I assume you mean the renderQueueStarted method? I haven't disabled queueGroupIds for a particular viewport before, I'll do some googling, but if you know offhand it would be handy