diff --git a/CMakeLists.txt b/CMakeLists.txt index 8bcf7b794..acc9c7ca4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ set(GZ_CMAKE_VER ${gz-cmake3_VERSION_MAJOR}) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) -gz_configure_project(VERSION_SUFFIX pre2) +gz_configure_project(VERSION_SUFFIX) #============================================================================ # Set project-specific options diff --git a/Changelog.md b/Changelog.md index 0d04736c0..1c52eba54 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,102 @@ ### Gazebo Rendering 8.X -### Gazebo Rendering 8.0.0 (202X-XX-XX) +### Gazebo Rendering 8.0.0 (2023-09-29) + +1. Remove gazebo scene viewer example + * [Pull request #915](https://github.com/gazebosim/gz-rendering/pull/915) + +1. Fix projector FOV, orientation, and crashes + * [Pull request #913](https://github.com/gazebosim/gz-rendering/pull/913) + +1. Include the CGL header on macOS + * [Pull request #911](https://github.com/gazebosim/gz-rendering/pull/911) + +1. ogre2: use CMAKE_INSTALL_RPATH + * [Pull request #909](https://github.com/gazebosim/gz-rendering/pull/909) + +1. Fixed build on MSVC. + * [Pull request #897](https://github.com/gazebosim/gz-rendering/pull/897) + +1. Documentation fixes + * [Pull request #895](https://github.com/gazebosim/gz-rendering/pull/895) + * [Pull request #906](https://github.com/gazebosim/gz-rendering/pull/906) + * [Pull request #907](https://github.com/gazebosim/gz-rendering/pull/907) + +1. Fix wide angle camera visibility flags + * [Pull request #900](https://github.com/gazebosim/gz-rendering/pull/900) + +1. Fix arrow visual indexing + * [Pull request #889](https://github.com/gazebosim/gz-rendering/pull/889) + +1. Do not load optix engine in examples + * [Pull request #893](https://github.com/gazebosim/gz-rendering/pull/893) + +1. Infrastructure + * [Pull request #888](https://github.com/gazebosim/gz-rendering/pull/888) + * [Pull request #868](https://github.com/gazebosim/gz-rendering/pull/868) + +1. Clean up internal resources on Destroy + * [Pull request #886](https://github.com/gazebosim/gz-rendering/pull/886) + +1. ign -> gz + * [Pull request #877](https://github.com/gazebosim/gz-rendering/pull/877) + +1. Remove inheritance from Singleton class. + * [Pull request #876](https://github.com/gazebosim/gz-rendering/pull/876) + * [Pull request #874](https://github.com/gazebosim/gz-rendering/pull/874) + +1. Add private data class to Image + * [Pull request #875](https://github.com/gazebosim/gz-rendering/pull/875) + +1. Override PreRender function in Ogre2ParticleEnitter + * [Pull request #871](https://github.com/gazebosim/gz-rendering/pull/871) + +1. Fix calling GpuRays::Destroy more than once + * [Pull request #860](https://github.com/gazebosim/gz-rendering/pull/860) + +1. Use std::vector instead of std::map in BaseStorage + * [Pull request #831](https://github.com/gazebosim/gz-rendering/pull/831) + +1. Limit Global Illumination CI CVT method to vulkan backend + * [Pull request #798](https://github.com/gazebosim/gz-rendering/pull/798) + +1. Global illumination VCT & CI VCT + * [Pull request #675](https://github.com/gazebosim/gz-rendering/pull/675) + +1. Add LensFlare to ogre1 + * [Pull request #775](https://github.com/gazebosim/gz-rendering/pull/775) + +1. Cleanup config.hh.in and deprecate public HAVE_ macros + * [Pull request #791](https://github.com/gazebosim/gz-rendering/pull/791) + +1. Add GZ_RENDERING_HAVE_VULKAN to guard vulkan code in header + * [Pull request #790](https://github.com/gazebosim/gz-rendering/pull/790) + +1. Look for vulkan in CMakeLists + * [Pull request #782](https://github.com/gazebosim/gz-rendering/pull/782) + +1. Add LensFlarePass (ogre2 engine) + * [Pull request #752](https://github.com/gazebosim/gz-rendering/pull/752) + +1. Add Support for wide-angle cameras in ogre2 + * [Pull request #733](https://github.com/gazebosim/gz-rendering/pull/733) + +1. Fix wrong Z check in OgreWideAngleCamera::Project3d + * [Pull request #746](https://github.com/gazebosim/gz-rendering/pull/746) + +1. Add necessary headers for Vulkan QML GUI backend + * [Pull request #706](https://github.com/gazebosim/gz-rendering/pull/706) + +1. Revert "Expose camera intrinsic matrix API (#700)" + * [Pull request #756](https://github.com/gazebosim/gz-rendering/pull/756) + +1. Expose camera intrinsic matrix API + * [Pull request #700](https://github.com/gazebosim/gz-rendering/pull/700) + +1. ⬆️ Bump main to 8.0.0~pre1 + * [Pull request #699](https://github.com/gazebosim/gz-rendering/pull/699) + ### Gazebo Rendering 7.X diff --git a/ogre2/src/Ogre2Projector.cc b/ogre2/src/Ogre2Projector.cc index 6052acc5d..ef68310de 100644 --- a/ogre2/src/Ogre2Projector.cc +++ b/ogre2/src/Ogre2Projector.cc @@ -163,9 +163,11 @@ void Ogre2Projector::UpdateCameraListener() { // if a custom visibility flag is set, we will need to use a listener // for toggling the visibility of the decal - if (this->VisibilityFlags() == GZ_VISIBILITY_ALL) + if ((this->VisibilityFlags() & GZ_VISIBILITY_ALL) == GZ_VISIBILITY_ALL) { this->dataPtr->decalNode->setVisible(true); + this->dataPtr->decalNode->getCreator()->setDecalsDiffuse( + this->dataPtr->decal->getDiffuseTexture()); for (auto &ogreCamIt : this->dataPtr->camerasWithListener) {