What happened to the PlanarReflections library? Topic is solved

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


jwwalker
Goblin
Posts: 267
Joined: Thu Aug 12, 2021 10:06 pm
Location: San Diego, CA, USA
x 19

What happened to the PlanarReflections library?

Post by jwwalker »

Some months ago, there was an OgrePlanarReflections library. But now after updating the ogre repo to the tip of the master branch and running Cmake, I get a project that does not build that library. The sources still exist in Components/PlanarReflections/src. Is this omission deliberate? Or did I do something wrong?

User avatar
Crystal Hammer
Orc
Posts: 405
Joined: Sat Jun 23, 2007 5:16 pm
x 115

Re: What happened to the PlanarReflections library?

Post by Crystal Hammer »

Have to enable it in CMake-Gui (or pass in cmake command line), or edit the file CMakeCache.txt and set the line to ON:

Code: Select all

  OGRE_BUILD_COMPONENT_PLANAR_REFLECTIONS:BOOL=ON

Then rebuild OgreNext.
Yeah, I'd also like to have it on by default.