OGRE ChangeLog

OGRE (Object-Oriented Graphics Rendering Engine)

Change Log

v1.8.1 [Byatis] (02 September 2012) - MAINTENANCE RELEASE

- [GLES2] Add missing shader for skeletal sample
- Fix crashes in OS X template code.
- [OS X] Resolve some issues with visibility of symbols preventing universal builds.
- [GLES] Improvements to pixel format selection. Reduces conversions at runtime and enables more formats.
- Fix a couple defines in GLEW headers that I mistakenly altered during a batch replace. Resolves issues with FSAA on Windows using OpenGL
- Disabling X11 check for all Apple platforms. Because it may not always be available on the system.
- Fix a bug with OctreeNodes that are not in the scene graph being updated improperly. As reported in viewtopic.php?f=4&t=70617&p=461051
- Patch 3517455 - Rename the COPYING file due to CPack not allowing files without extensions.
- Patch 3526568 - Fix for when a listener object unreferences itself from the listened object while in a callback
- Patch 3525902 - SceneManager - Fix for when a listener object unreferences itself from the listened object while in a callback
- Bug 521 - Copy the flag to control auto edge list building when cloning a mesh.
- Bug 532 - Default values not being returned on invalid input to StringConverter::parse* functions
- Patch 3519819 - Add missing setRenderQueueGroupAndPriority functions to ParticleSystem and BillboardParticleRenderer.
- OS X - Fix the "invalid drawable" error that pops up in the log when a window is created.
- Patch 3324815 - Fix incorrect zip archive behavior. This also fixes a few of our unit tests.
- Add a missing capabilities mapping
- Fix up the Xcode 4 template
- iOS: Fix crash caused by missing GL function pointers with GLES 2 on iOS 4
- Revert part of a change that I made several months ago that was causing problems with texture shadows without edge lists.
- Bug 538 - Support for boost 1.50
- Bug 536 - Freetype 2.4.10
- Fix [3538257]: Listener was never actually removed in SceneManager::removeListener
- added check for icon existance in bool GLXGLSupport
- Made SimpleRenderable::setMaterial virtual.
- [OS X] Use the path from the FindCg script to create the framework symlink instead of assuming the prebuilt dependencies are being used.
- Add a missing semicolon that has been causing some compile errors when using boost for threading.
- Moved call to wglShareLists before call to wglMakeCurrent to help Wine emulation
- [D3D9] Catch texture load exception in D3D9Texture::notifyOnDeviceCreate to prevent Ogre from crashing when moved to a new display
- [Papercut] Resolve ambiguity of get/setUserAny in InstanceBatch
- Fix [3545669]: Submesh operation type is not passed to tangent calculator causing triangle strips and fans to have improper tangents
- Fix [3542148] Properly set texture coordinate index in D3D9 if vertex program is used with projective texturing
- Fix [3538259]: Use _tempnam on Windows to generate temporary file name in OgreDeflate.cpp
- Fix [3535939]: In CompositorInstance::getTargetForTex search also for referenced texture name if referencing another compositor's texture
- [3531905] Fix a bug in LOD generation of XSI exporter
- [3531904] Update FindSoftimage.cmake to find Softimage 2013
- Applied and enhanced masterfalcon's patch to prevent BillboardChains from updating their vertex buffer except when they are actually being rendered.
- Fixed ParticleSystem's emitted emitters 'sputtering' when emission rate per frame near 1/2.
- Fix [522]: D3D9 / D3D11 destroyRenderTarget caused dangling pointer inside RS's
- Fix [504]: D3D9 Prevent infinite loop when CheckDeviceMultiSampleType fails when fsaa is 0
- Fix [454]: D3D9 add more error details when we can not create a vertex shader
- [3484580] Fix a potential crash when loading materials referencing non-existent shadow caster/receiver materials
- Increased size of GLX config dialog to accomodate for additional GL RenderSystem option
- TerrainGroup did not pass along parameters to underlying Terrain in update and updateDerivedData
- Fix [541]: In Rev 3513 the warning texture is created with a invalid context so the gl id was 0 - this broke materials without valid textures (if no texture is bounded the warning texture is bound)
- Fix for possible endless loop if requesting max number of mipmaps with 0 depth. Affects all GL render systems.
- Fixed -msse flag when building with MinGW.
- [OS X] Fix displaying garbage on first frame when using Cocoa windows. Also fixing the "invalid drawable" error.
- Fix incorrect header guard.
- Replace an ugly hack for GCC that was trying to force 16-byte stack alignment in OgreOptimisedUtilSSE, but causes trouble with recent GCC versions
- GLES/GLES2 move error checks into the right place
- Fixed bug: D3D9 can now be compiled in static with MinGW.
- Get PlayPen and VTests running with static builds like iOS. Also some minor code cleanup.
- Patches 3506252 & 3535295 - Profiler enhancements and support for GPU profile events.
- Fix [541]: viewportDestroyed were never called
- Fix a crash when starting/stopping the terrain sample with shadowing enabled. House entities need to be freed.
- Fix [549]: When ogre is compiled with profiler support link dx9 to dx11 so we can use D3DPERF_BeginEvent/D3DPERF_EndEvent/D3DPERF_SetMarker Fix some profiler crashes
- Bugfix: Instancing LOD distance strategy was considering entities that were not in the scene. Bugfix: Instancing LOD distance strategy was using very inaccurate distance formula.
- Bug 545: ScriptLexer is counting \r\n as 2 newlines
- Patch 3505652 - Fix for compositors recompiling every frame
- Patch 3489471 - Entity LOD animation bugfix
- Fixed a bug in the CMakeLists.txt that would cause an error when the user influences CMAKE_CXX_FLAGS manually in CMake.
- [GLES2] Attempt to resolve the isAttributeValid crash when shaders are either missing or have failed to compile/link. Also do a little more logging when reporting compile errors.
- Calling removeInstancedEntity on the same InstancedEntity more than once will now raise an exception.
- [iOS] Remove old GCC define to disable thumb and use a compiler flag instead. More reliable across gcc and clang.
- Make it possible to call Viewport::removeListener during viewportDestroyed event
- [OS X] Correctly compute Cocoa window origins and fix repositioning.
- HW-Instancing: Add support for meshes which use a shared vertex buffer
- Fixed the NaCl compile and link for the latest code changed in 1.8
- Fixed texture loading issues in GLES2 RS for NaCl.
- Changed RenderSystems on Windows to interpret externalWindowHandle and parentWindowHandle parameters as size_t instead of unsigned int, which has the wrong size on 64bit platforms
- Fix Unity builds for OSX (SampleBrowser did not compile)

v1.8.0 [Byatis] (25 May 2012) - MAJOR RELEASE

There have been well over 1000 commits since the release of v1.7.0. The following list shows only the highlights of new features.

- Platform support
  - iOS
    - Use the device's screen size to determine the default screen size on iPhone OS platforms.
    - Profiling showed that aligning loops on iPhone would be a good thing.
    - iOS: Changing OGRE_PLATFORM_IPHONE to OGRE_PLATFORM_APPLE_IOS
  - NaCl
    - Added NaCl platform support
- Render systems
  - GLES2 render system
    - Added GLES2 render system.
    - Uses the RT shader system for fixed-function emulation.
  - D3D9 render system
    - Hardware buffers system memory consumption reduced. Only write only access buffers allocates extra memory.
    - Fixed hardware buffer lock crashes when locked with read_only flag.
    - Fix hardware buffers crash when used create on active device policy.
    - Only default pool hardware buffers are re-created after device reset (Should fix resizing issues)
    - Added new config option related to system memory usage when multiple devices involved.
  - D3D11 render system
    - Removed the obsolete shader generator (Now that we have the RTSS – we don’t need it anymore).
    - A number of the Ogre samples now work with the D3D11 render system.
    - Added code to support copy of vertex buffers that where allocated in system memory. (The terrain sample does such a copy).
    - DX 11 Stream Out support (along the lines of the existing GL support).
    - texture2d-array support added
    - Various improvements.
- Components
  - Terrain component
    - Patch 2951501: allow changes in terrain size in vertices and world size on the fly
    - Support for Terrain vertex compression.
    - Terrain now defaults to saving compressed files (can still load uncompressed)
  - Real-Time Shader System (RTSS)
    - Added layered blending. Added an entity that shows the feature to the RTSS sample - a rock wall with the OGRE logo blended with the new "overlay" blend.
    - Blending modes for GLSL ES.
    - Added Hardware skeleton animation in RTSS - A patch by Mattan F.
    - Added instanced viewports.
- Additional updates (highlights only)
  - Fixed/silenced a number of compiler warnings on all platforms.
  - Patch 2942638: allow Mesh to have infinite and null AABBs.
  - D3D10 render system removed – the system is obsolete and all of its functionality exists in the D3D11 render system.
  - Remove TerrainSceneManager - no longer supported, use Components/Terrain instead.
  - Patch 2952444: support float1-4, short1-4, colour and ubyte4 in texture coordinates in XML converter
  - Patch 2955902: Add Grid3DPageStrategy for space scenes or similar
  - Patch 2963105: Add ability to set depth clear value on viewport
  - Added DeflateStream for compressing / decompressing regular streams
  - Support normals in vertex animation
  - MeshUpgrader can now also *downgrade* mesh files with the -V option
  - RenderWindows can now be hidden (useful for creating an invisible primary renderwindow).
  - Add vsync adjustment options to RenderWindow
  - Added new InstanceManager (see http://www.ogre3d.org/forums/viewtopic.php?f=4&t=59902)
  - Ogre can now run on Ubuntu in a VirtualBox.
  - Added optional shader cache feature: Compiled shaders can be saved to improve loading times.
  - Added EmbeddedZipArchiveFactory to OgreZip.
  - Fixed a number of papercuts.
  - Introduced Unity builds: Enabling OGRE_UNITY_BUILD in CMake will significantly speed up Ogre compile times. Still considered experimental, but should be fine.
  - Add nograb command line parameter to SampleBrowser to allow debugging with gdb
  - Allow skeletal and pose animations to be relative to a keyframe of an animation instead of the binding pose
  - GSoC 2011 project: Added VisualTest infrastructure
  - GSoC 2011 project: Dual Quaternion skinning

v1.7.4 [Cthugha] (14 January 2012) - MAINTENANCE RELEASE

- iOS: Fix the fix I did for libraries that are included in SDK builds. Use iOS 3.2 when building SDKs
- OS X: Add visibility attributes to Cocoa classes so the symbols are exported. Apparently symbol visibility only has an effect for Objective-C on x86_64 targets.
- OS X: Fix the OS X build
- Bug 443: Small fix for Image::setColourAt
- GL: Fix for a couple old bugs that could cause lots of GL errors. One is an assumption about 2 sided stencil support always being there. The other related to the wrong enumerations being used for the extension that we are checking. See relevant forum topic.
- Missing D3D9 Software vertex processing fix
- Xcode templates update
- Adding RTShaderLib files to Xcode templates
- OS X: Fix for input issues on Lion. NSTitledWindowMask is no longer implied when creating a NSWindow. To fix, we just add it to the style mask that we use.
- iOS: The Dynamic Texture sample works. It should be enabled.
- Add a forward slash to the beginning of paths in the Xcode 4 templates to workaround a weird bug in the template wizard that eats up any leading slashes in text fields
- GLES: A little cleanup and fixed GL errors when using BGRA textures.
- Fix the incorrect average and max FPS entries in SDK trays.
- The Xcode 4 templates will need to link to the CoreGraphics framework now.
- OS X: FSAA was not being applied to the both Carbon and Cocoa contexts at all.
- Updated FindOGRE.cmake to properly set OGRE_${COMPONENT}_BINARY variables with paths to the corresponding DLLs
- Updated FindTBB.cmake to correctly identify the version of Visual Studio used
- Consider OGRE_LIB_DIRECTORY when setting RPATH for SampleBrowser and OctreeZone plugin
- Fix D3D9 capabilities check for cubemaps
- Fixed a memory leak in InstancedGeometry
- Fix Boost license file location in CMake
- Fix definition of element extremes in ogremeshxml.dtd
- Have D3D9 rendersystem clean up properly when creating a renderwindow fails

v1.7.3 [Cthugha] (08 May 2011) - MAINTENANCE RELEASE

- iOS: Remove the animation timer. Since DisplayLink is used by default now, this only hurts performance of things like input.
- Some small changes to ensure that the terrain and paging libs are added to linker flags for SDK sample builds.
- Consider weight when scaling in AnimationTracks
- Only allow to set custom render capabilities before RenderSystem is fully created
- iOS: Fix to prevent absolute paths from being inserted into resources.cfg for iOS to fix running the sample browser on devices.
- OS X: The Cocoa view has no use inside the main library. Moving into the GL Rendersystem where it is actually used.
- OS X: Disabling CoreGraphics error checking by default
- OS X: 64 bit Cocoa support. New dependencies are also available to download. Fixed a few uninitialized variables along the way. Also updated GLEW to the same version as in default, the older version had some Apple specific bugs that needed to be resolved.
- Several fixes for the Xcode templates such as: file permissions for the installer, iOS device orientation.
- Adding Cocoa window event handling. Plus several other fixes for parameter parsing and other things. Thanks to jdiogo for finding the bugs.
- OS X: Build fix when targeting 10.5 or earlier.
- OS X: A few fixes for Cocoa windowing. Now plays nicer with externally created windows.
- Clean up several warnings(hidden local variables, unused functions)
- iOS: Fix orientation change support. Use UISupportedInterfaceOrientations in your apps info property list to restrict which orientations are supported by your application.
- Fix a couple comment typos
- GLES: Disable ENABLE_GL_CHECK, again.
- GLES: Fix for images with custom mipmaps. The dimensions were never being reduced for each mipmap level. As a side effect, memory usage is also reduced.
- iOS: IOKit isn't needed at all and causes link errors with iOS 4.2.
- Separate out all the OS X and iOS specific code from SampleBrowser.cpp. It was getting a bit unruly and difficult to maintain
- iOS: Improve orientation support. Separate EAGLView into its own files.
- iOS: Several fixes to the Xcode templates regarding viewport orientation and some cleanup for readability.
- Patch 3116577: Plane equality operators. Also cleaned up some documentation.
- Fix a catch-22 that prevented OGRE_BUILD_PLATFORM_IPHONE from showing up in CMake-Gui.
- Fixed an incorrect error message in the Terrain component.
- Do not offer the Carbon API option in 64-bit Mac builds and default to Cocoa
- Allow the retrieval of NSOpenGLContext and NSOpenGLPixelFormat easily in OSXCocoaWindow
- Specify the NSOpenGLFPAScreenMask to resolve ambiguity in the pixel format on multiple display systems
- In OSXCocoaWindow::createWindowFromExternal, don't force the window to be made key and ordered in front. As an external window, the calling application should have full control over window behaviour.
- When creating an external window in Cocoa, don't centre the window (app should be in charge of that) Also don't mess with the first responder.
- Fix using multiple Cocoa windows with Ogre. Previously the window delegate was incorrectly listening in on the events of *every* window, not just the one containing Ogre. This meant if the application had more than one window (Ogre or otherwise), the Ogre windows would get confused with all the events from different windows. Fix this by making sure each delegate only attaches to the NSNotifications of the specific window it's concerned with.
- Support getCustomAttribute() on Texture, only GL extracts anything interesting so far but more can be added This is pretty much essential if you want to get to internal API data for resource sharing without down-casting, which itself requires otherwise unnecessary linking to plugins. It's why we've offered this for RenderWindow etc in the past, I'm not sure why it's never been done for Texture. Also support retrieving the FBO ids directly from render targets on GL (already allowed retrieval of FBO struct but again that requires linking)
- Added support for spotlight_viewproj_matrix_array GPU parameter
- Changed DataStream::getAsString and MemoryDataStream constructors to deal with streams of unknown size
- [Papercut] Add destroyRenderTarget function to Ogre::Root
- Fix a problem with using some of the lower-level renderable callbacks such as RenderObjectListener to alter shader parameter state - mGpuParamsDirty would not be updated to reflect this and as such things like manual param variances within light iteration loops would not be propagated. Allow user to mark GPU params dirty themselves to resolve this.
- iOS: Rework some of the sample browser code to shut down properly on iOS
- GLES: Use the correct GL type for BGRA textures
- OS X: Use correct pixel format attribute name for specifying FSAA in Carbon windows.
- GL: Only bind up to the max supported number of render targets since not all implementations support 8. This prevents a few OpenGL errors.
- iOS: Clean up the FSAA/framebuffer code in swapBuffers. This should resolve issues on iOS 4.1 that have been reported. Bug #384
- iOS: Don't search for X11 if building for iOS. I'm surprised that this hasn't been found until now. Apparently most devs have the X11 package installed.
- iOS: 2 fixes. The compiler should be g++ instead of gcc and switching the architecture to build for both armv6 and armv7.
- OS X: A few CMake fixes to ease building for universal libraries. Upping the minimum OS to 10.5(it's required for x86_64). Also updating the list of Boost versions to be current.
- Don't apply visibility settings to statically built samples. Fixes linking problems with Xcode 4 and iOS. (Backporting to 1.7)
- Remove a GL ES 2 reference in the 1.7 branch
- iOS: The meaning of ARCHS_UNIVERSAL_IPHONE_OS changed in Xcode at some point to just armv7. Changing it to Standard will compile for both armv6 and armv7.
- OS X: A few small tweaks for Cocoa windows. Clearing the framebuffer right away, fixing multisampling for example
- iOS: Let's pretend that the iOS simulator doesn't have SSE. (Works around a Xcode 4 bug)
- OS X: Add support for 8 FSAA samples
- Update the boost versions to look for.
- Patch 3153910 - Fix a typo in MovableObject::setRenderQueueGroupAndPriority. Render queue priority should be set to the priority argument, not the queue ID.
- Patch 3221772 - iOS: Fixed bug in setting up the viewport if the lower-left corner is not 0,0.
- RTSS: Fix the "Disco" effect in the Shader Sample on OS X. Thanks to Wolfmanfx!
- Fix a documentation spelling error in 2 places
- Patch 3046729 - Improvements on previous ProgressiveMesh patch. "Sometimes it seems to be actually desired to list itself as neighbor, so instead of denying this, we rather make the loop in ProgressiveMesh::PMTriangle::notifyRemoved more robust to these edge conditions."
- GLES: Fix using PVR textures
- OS X: Fix a crash when switching between windowed and full screen when using the Cocoa interface.
- Bug #397: Fix the build with some versions of GCC.
- [Papercut] Image getColourAt parameters should be type size_t, not int
- 373 - [Papercut] Image has getColourAt but not setColourAt
- Bug 409 - System freezes in GLPixelUtil::getMaxMipmaps when width or height is 0. Bug was reported for GL but could affect GL ES as well.
- Reformat a little text in an exception so that it follows the format used elsewhere.
- Bug 374 - [Papercut] PixelBox should have getColourAt and setColourAt
- Bug 365 - [Papercut] void BillBoardSet::setMaterial (const MaterialPtr &material) is missing
- Bug 340 - Viewport::clear() saves and re-sets the previous Viewport, even if that Viewport has since been deleted
- Bug 344 - Add utility functions to enable/disable skybox/dome/planes instead of destroying and recreating.
- Bug 423 - Fix for looking up for texture definitions in very complex compositor setups in getSourceForTex and getTargetForTex
- iOS: Explicitly specify the release lib paths so that libraries are always installed to the correct places. This fixes the problem of duplicate, single architecture libraries in SDK builds.
- iOS: Remove -fno-regmove flag to keep Clang from complaining about it.
- Update the SDK CMakeList template
- Several updates and fixes for the OS X and iOS SDK build scripts
- OS X: Fix a long standing issue that often prevented 3 situations: Building with Clang, 64 bit debug builds and linking with Xcode 4.
- OS X: Add macAPI option to the config dialog
- Added Gentoo install location for Cg to the FindCg.cmake script
- Fixed a comment in OgrePixelFormat.h
- Modified FindTBB.cmake to cope with TBB 3 paths
- Fixed a build error with GCC 4.6
- Xcode 4 templates and installer files
- iOS: Normalize the case of the word Media in scripts. Simplifies a little scripting.

v1.7.2 [Cthugha] (03 November 2010) - MAINTENANCE RELEASE

- Fix bug 240: TextAreaOverlayElement incorrectly loads Font in background thread (OGRE_THREAD_SUPPORT == 2)
- Report errors if installable DLLs missing (e.g. cg.dll)
  Make sure OGRE_INSTALL_DEPENDENCIES always true
- Fix Cmake error with VS 2010
- Fixed a compile bug - in visual studio 2010 - 64 bit we get this error: "LINK : fatal error LNK1210: exceeded internal ILK size limit; link with /INCREMENTAL:NO"
- SDK build - added vcxproj ext to the batch file - for VC10 support
- Fix a breakage from rev 2133 on systems other than 64-bit VS 2010 - Cannot pass a blank string to LINK_FLAGS
- Fix an infinite loop that could occur with StringUtil::replaceAll if replaceWhat is a substring of replaceWith. Solved by advancing the string position after each replacement.
- Make sure the correct resource path is inserted into config files when building the OS X SDK.
- Correct the iPhone SDK disc image to use the correct background image file.
- Patch 2979571 by moagames : textures referenced with texture_ref can now be also used as render targets. http://www.ogre3d.org/forums/viewtopic.php?f=4&t=56671
- Dispose of Carbon window handles when the window object is destroyed. Fixes a problem with old windows remaining visible after the resolution has been changed.
- Removed redundant compositor creation call from deferred shading demo.
- Allow overriding Rectangle2D's vertex buffer usage, and using this in the compositor's quads. As discussed in http://www.ogre3d.org/forums/viewtopic.php?f=4&t=57656
- fixed parsing of matrix types from shared parameter definition
- ProgressiveMesh::PMVertex can list itself as a neighbor after collapsing vertices. This leads to a crash in ProgressiveMesh::PMTriangle::notifyRemoved. Changed ProgressiveMesh::PMVertex::removeIfNonNeighbor to always remove itself from the neighbor set.
- fixed destroySubMesh corrupting the mesh if it contains an edge list
- Add OgreOverlayElementFactory.cpp for methods which can't be inlined.
- Install ressources according to OGRE_LIB_DIRECTORY .
- Support LIB_SUFFIX. Which is the de-facto standard for cmake to support lib64|32 systems.
- Removing a few unused variables to lower the number of compiler warnings.
- GLES: Fixed a crash on texture creation. Added buffer mapping support(port from GL Rendersystem).
- Adding a few missing header search paths to the Xcode templates.
- Adding iPhone 4's native resolution.
- Xcode Templates: Use devices' native resolution. Shutdown properly. Add CADisplayLink support.
- iPhone: Adding CADisplayLink support to SampleBrowser. Shutdown the app properly on iPhone and disable the loading bar to speed up loading on iOS 4
- GL ES: 16 bit texture support.
- OS X: When targeting 10.6 only - Fixed an issue with old framebuffer contents being displayed when using non-native resolution full screen contexts. Also fixed a crash when switching resolutions. Added some error checking to the full screen context creation.
- Disabling DisplayLink on iPhone by default, as it can cause input lag sometimes.
- Fix a cross-endian bug in StreamSerialiser::calculateChecksum
  Files written on one endian system would fail checksums on another (even though the data can be converted on the fly) because the checksums were calculated on the raw memory of the header data Now always calculate checksums in little-endian
- Endian fix for FastHash - casting to uint16 is non-portable
  NOTE: this will break checksums if you're on a big-endian machine using files generated before this change.
- Fix StreamSerialiser::REVERSE_HEADER_ID which was only reverse for uint16, not the declared uint32
- OS X: Reworked windowing to fix setFullscreen and provide more robust GL context management
- Adding additional directories to search for the Ogre framework when using a prebuilt SDK with your own projects under OS X
- OS X & iOS: Simplify some post build commands by using wildcards. Updating pbxcp commands to exclude .hg directories.
- Refreshed iOS SampleBrowser icons and launch images
- Adding new iOS higher resolution icons and launch images
- Uncomment the use of the HideOnFullScreen attribute for Carbon windows
- Adding the using keyword to resolve a set of warnings. Also removed a switch for a simple if-else.
- Very minor cleanup from a bad copy/paste in Xcode template installer code
- iOS: Several additions to properly support newer iOS devices including: High resolution screen support, FSAA and Framebuffer discard. A config key has been added to allow you to manually configure the content scaling factor. For example, if you only want 720x480 on an iPhone 4, specify contentScalingFactor=1.5.
- iOS: Fixed the camera frustum and viewport dimensions if the device is in landscape. With this fix, the FOV and aspect ratio will be correct in all device orientations
- Patch 3034005: GLSL writers make wrong assumptions about the precedence of the || && operators (v1-7 applicable part)
- Patch 3034009: navigation bug in sample browser
- Build fixes for MinGW-w64
- (CMake) Properly determine if we are on a 64bit platform
- Allow embedding of Dependencies source build into the Ogre source tree
- Due to a change made in CMake 2.8.1, Xcode based projects for iPhone would be corrupted. This fixes the problem. Also, up the default SDK version to 4.0 since Apple is no longer shipping a 3.0 SDK but still supports targeting it.
- LLVM compile fix
- Patch 3040518: Fix link warnings when compiling Ogre with -fvisibility-hidden
- Updated sed script to work with the CMake 2.8.1+ fix for iOS
- iOS: Cache the system version so we don't query it every time we call swapBuffers
- Patch 3034010: Reduce a large number of compiler warnings, particularly shadowed local variables
- Backing out use of _OgreExport on AllocatedObject members, causes major build problems on VS
- SceneManager::renderVisibleObjectsCustomSequence was calling firePostRenderQueues at the start instead of firePreRenderQueues (thanks Lacero)
- Fix a script compile error introduced with the warning reduction patch
- Fixing iOS project generation. Running fix_linker_paths.sh may no longer be necessary, especially if using CMake 2.8.1 or later.
- Use RenderSystem capabilities to only load samples that require shaders if we support a shading language when linking statically.
- Bugfix : Scriptcompiler would crash when a specular attribute contained one number. As reported in http://www.ogre3d.org/forums/viewtopic.php?f=1&t=59742
- Fix a bug in Unix FileSystemLayerImpl if resolving a symlink fails
- Fixed animation track exporting to avoid XMLConverter to crash.
- Avoid sending tangent related params to XMLConverter when mesh does not have UV data.
- Materials will now fallback to Rendering Material mode when custom material template is invalid
- Added _tex[#] handlers to material template system allowing the use of indexed base texture binding.
- Improved material warnings for better readability.
- Updated help document on feature additions.
- D3D9RenderSystem: Fixed crash when HLSL compilation failed and trying to log errors but D3DXCompileShader returned a NULL pointer
- Fixed nasty memory corruption in OgreInstancedGeometry, when building the GeometryBucket. Discussed in http://www.ogre3d.org/forums/viewtopic.php?f=4&t=60432
- [3061946] Fix invalid fbConfig check in GL rendersystem
- Fix errors generated from RenderSystemCapabilitiesTests due to missing or misnamed capability keywords.
- GLES: Use _OgreGLESExport instead of _OgrePrivate to control symbol visibility for rendersystem classes.
- pkg-config can be used to properly build a PCZSceneManager application
- Installing OIS dependency didn't work on RelWithDebInfo with MingW
- [3059963] Fix a slight copy&paste error in PCZSM
- Change required CMake version to >=2.6.2
- [3078774] Convert home path to OEM codepage in FileSystemLayerImpl_Win32
- [3074121] Fix handling of lights for multiple displays in D3D9 rendersystem.
- [3032954] Properly adjust window size in D3D9 RenderSystem to get the desired client size when switching from fullscreen to windowed.
- [3067141] Generate user files with debug paths for Visual Studio 2010
- Change Manual & API license to Creative Commons ShareAlike v3.0. Apparently Debian will only accept the 3.0 license and not 2.x
- [3002754] Add OGRE_UNICODE_SUPPORT guard to OgreUTFString.cpp
- [3072166] Fixed a crash on exit when SdkSample is initialised before Ogre::Root
- [3053689] Terrain sample: Add Numpad +/- as alternative key bindings
- Add threading library's include directory to Ogre include directories in FindOGRE.cmake
- Correctly check for PBuffer support even if FBO is supported in GL rendersystem
- [3043021] Use CMake to make sure that GCC visibility settings are passed along to Xcode.
- [3054042] Fix for two frustums attached to one scene node. Cameras and Frustums should use the name member that they inherit from MoveableObject instead of their own.
- [3003231] Specify default values in StringConverter::parse*
- D3D9: RenderWindow::adjustWindow needs to take the current window style into consideration, otherwise the produced values can be off.
- D3D9: Fixed a bug where RenderWindow and Viewport sizes would not be in sync during a windowResized event.
- OS X: Fix use of macAPI in config files to specify Carbon or Cocoa windowing APIs
- A fix so ogre can run on Ubuntu that runs in "VirtualBox".
  At the date of this commit - chooseFBConfig was not supported on VirtualBox - http://www.virtualbox.org/ticket/7195
  Now glXGetFBConfigs is uses as an alternative if chooseFBConfig fails.
- iOS: Build script and CMake updates for iOS 4. Fixes several project creation bugs and includes a warning about CMake 2.8.2 which cannot create usable universal Xcode iOS projects.
- Add some error checking to the Xcode template installer to help alleviate installation problems
- Update documentation on Bone::setManuallyControlled to mention the option of using AnimationState::setBlendMask to prevent scripted animations applying to the bone.
- Patch 3097617: initialise mManager correctly in default hardware buffers. Modified slightly to maintain previous interfaces & not break build
- Apply patch 3097617 to the GL ES rendersystem too.
- [3057434] Fix RibbonTrail reset when attached to a SceneNode not positioned at the origin
- iOS: Guard a media dir variable update since we want to preserve the relative paths on iOS
- Remove a couple patterns from the Boost header exclude list. Some headers in these directories are needed indirectly.
- Add missing CMake file to list of scripts to install

v1.7.1 [Cthugha] (25 April 2010) - MAINTENANCE RELEASE

- Terrain: Fix memory leak after updating lightmaps
- Terrain: Ensure that imported position is used when preparing from ImportData
- Fix calcMorphKeyframeSize in serializer - there has never been an 'isOriginalGeometry' flag!
- Safety checks - use !mSkeleton.isNull() instead of hasSkeleton() when accessing the pointer, since hasSkeleton() determines whether the skeleton name is provided, not whether the skeleton has loaded & the pointer is valid
- Terrain: Fix a delete that should have been OGRE_DELETE as pointed out by harkon
- Focussed shadow camera setup dealt with extrusion of directional light volume incorrectly: - It clipped the extrusions against the scene AABB, which may exclude casters in sparse scenes where the main camera has stopped seeing them or their shadows for a frame or more - It should actually have been extruding the receivers AABB clipped to the camera by the shadow far distance - Focus regions would not be affected because extrusion along the light direction does not widen the focus; in fact the use of the whole scene BB instead of just the receivers BB may have led to worse focus
- ArchiveManager's constructor should be in source, not header, to avoid link errors if constructed from outside OgreMain (this fixes tests build on OS X) Fix some new/deletes in tests that should have been OGRE_NEW/OGRE_DELETE
- Mark a few more options as 'Advanced' to de-clutter the main CMake page. Disabling zip, freeimage, dds etc is definitely an advanced function.
- Patch 2981322 - allow OGRE_LIB_DIRECTORY to be set to install in alternate named directories such as lib64 for 64-bit Linuxes that use that convention.
- Fix for VC10
- Patch 2986452: avoid potential resource group change deadlocks
- Patch 2986446: For ACT_LIGHT_POSITION_OBJECT_SPACE for directional lights, we need to use the inverse of the inverse transpose as with ACT_LIGHT_DIRECTION_OBJECT_SPACE, to deal with non-uniform scalings
- Patch 2986441: MovableObject's queryLights and _notifyCurrentCamera didn't take account of object scaling when dealing with bounding radius
- Patch 2986437: auto-tracking update should be after the re-entrant call to update shadow textures, otherwise old tracking state may be used
- Fixed BillboardChain::getNumChainElements when tail < head
- Fix loading of mesh versions 1.30 and before They were picking up LOD loading from latest version instead of fallback in MeshSerializerImpl_v1_4 because of inheritance error
- In Mesh::destroySubMesh, fix up SubMesh name map for the removed item
- If group name on manual LOD level is blank, use parent mesh
- Make PlayPen plugin work on OS X
- Fix bug 308 according to user report - don't include _mingw.h in more recent MinGW packages
- Fix bug 313: doc build target doesn't handle spaces in directry names
- Fix terrain rendering on ATI/GL - no support for fp30/fp40 in latest ATI drivers but arbfp1 works
- Terrain morphing was missing from shader when alignment wasn't x/z
- Deal with CMAKE_OSX_ARCHITECTURES a little better: - Selectively remove 64-bit archs (Carbon requirement) instead of manually setting "i386 ppc", so that user can still customise archs for 10.6 - Set the default arch if none is specified (Cmake 2.8.0)
- Patch 2977286: Fix support for scene blending operations other than SBO_ADD on Dx9 because caps were not being set
- Patch 2979431: Matrix4::makeInverseTransform bug with non-uniform scale
- Patch 2978035: D3D9 should send a "DeviceLost" message to app-side listeners before a device is reset
- Deferred Shading Demo : Fixed 'is camera inside light' test for spotlights.
- Fix problem with picking the right shader generator in TerrainMaterialGeneratorA - Would not fall back from Cg when Cg not available (bad nesting) - Can only use ps_2_0 when not parallax mapping
- Fix memory leak in SharedPtr when initialised with a null pointer
- Ensure libdl exists before linking to it
- Fix install of tools PDBs in debug mode
- Add test for switching full screen modes without reinitialisation
- (Fixed commit) Applied l3fthn4d's compositor (material_scheme & shadows settings) patch as discussed in http://www.ogre3d.org/forums/viewtopic.php?f=4&t=56031
- Fix bug 305: Entity::setMaterialName(material, group) calls SubEntity::setMaterialName(material) without group.
- Add the rtshader materials directory to resources.cfg
- Correct case-sensitivity issue with samples media path
- Remove nested parenthesis, not supported on CMake 2.6 (only 2.8)
- Explicitly include errno.h. Otherwise build errors occur if not using boost and threading is turned off.
- Patch 2971821: Fix consistency of inclusions of OctreeSceneManager plugin (important when referenced with relative paths)
- Patch 2971818: deal with missing MinGW header & make inclusion specific to MinGW
- Just make sure meshes are being reloaded in LOD test
- Added tests for manual LOD, seems to work
- Explicitly note in the manual some directives which are irrelevant when using shaders
- Another bad svn:eol-style property
- Fix some bad svn:eol-style properties
- More Xcode template work. Cleaned up warnings. Changed iPhone template to use a NSTimer to make it more reliable at high framerates. Fixed the installer path.
- GLES 1.x patch: fix opengl es 1.1 compilation under windows - ID: 2961527. Thanks Thomas. http://sourceforge.net/tracker/?func=detail&atid=302997&aid=2961527&group_id=2997
- GLES 1.x render system: Replaced a printf with a log entry.
- RTSS: Extended the normal map texture unit settings script parsing caps. Now it can read the filtering type, max anisotropy and mip map bias.
- Patch 2965714: CMake Infinite Loop Fix for OS X using makefiles instead of XCode
- Patch 2968889: fix ExampleApplication loading config files in debug mode
- Fixed some iPhone remnants of the OGRE_CONFIG_DISABLE to OGRE_CONFIG_ENABLE change
- Implement missing wireframe and points rendering in GL ES. Also fixed a typo in a comment.
- Doc fix
- Fix copy & paste error that could cause crashes when unloading & reinitialising terrain
- Fix a couple bugs in the Xcode templates. Added an option to choose separate locations for OS X and iPhone SDK's. Cleaned up the installer package a little bit.
- Patch 2963406: Deal with negative scale in Entity::getBoundingRadius
- Patch 2963372: Matrix4::makeTransform/makeInverseTransform inefficiencies fixed Reduces complexity of this from 39MUL+30ADD to 18MUL+15ADD
- Must set the OGRE_MEDIA_DIR_* to an absolute path for build folder versions
- Patch 2959565: fix XSI exporter build
- Fix bug 264: problem with Camera::setDirection when using non-fixed yaw and a non-identity parent node.
- Fix bug 299: Sequence of light changes can cause crash because of light hash==0
- Make sure linking or copying media works in non-SDK builds for OS X and iPhone
- Mention that the default material generator requires the Cg plugin
- Fix water sample when exiting & reentering it by making sure mesh is removed from MeshManager
- Update Xcode templates for 1.7 final release
- Profiler: endProfile checks group id against mask.
- GpuProgram: Added init in the contractor to mMorphAnimation and mPoseAnimation members.
- Fix bug 297: Incorrect use of Boost_USE_STATIC_LIBS causes boost library search to fail when trying to switch to Boost dynamic libs
- Changes for building SDK for iPhone
- Should delete .exe not .7z when building SDK multiple times
- D3D9 Render System: Device multi thread flag is used now only when OGRE_THREAD_SUPPORT == 1. This will save us a few cycles in the other threading modes..
- FindOIS.cmake fixes: - Respect OGRE_DEPENDENCIES_DIR (useful if used outside of OGRE) - On Win32 define names of the OIS DLLs so they can be copied from wherever they are found
- FindOGRE.cmake fixes: - Use OGRE_DEPENDENCIES_DIR if defined (external dependencies) - Find media in the OGRE_SOURCE folder correctly - Use a zip file common to 1.6 and 1.7 to detect media (OgreCore.zip doesn't exist anymore in 1.7+)
- Compile fix for people using ExampleFrameListener
- RTSS: Fixed Normal map point and spotlight GPU parameters that weren't update correctly.
- Minor tweaks to the demos installer - Nicer defaults - License display (forced to be RTF unfortunately)
- Enable WiX installer interface and allow the user to specify the install directory for the demos Fix media installing Add missing samples.cfg
- Fixed remaining bugs for MinGW SDK and finished mingwsdk.sh
- Fix shortcut errors in WiX setup
- Generate WiX config files and custom task for building a demo installer on MSVC Remove space in OGRE_VERSION before suffix, more trouble than it's worth even for display strings demomedia.wxi.in was generated using 'heat dir Media -gg -cg OgreMedia -out demomedia.wxi.in -sfrag' on a clean Media export, then replacing SourceDir with Cmake variable
- Fixes and enhancements for MinGW SDK generation.
- Merged v9841 into tag since urgent change
- Merged v9841 into tag since urgent change
- In future, use the Windows-mode 7zip self-extractor not the default console-mode one
- Final changes for the OS X SDK. Fixes up all the absolute paths in CMake generated files.
- OGRE_VERSION has a whitespace and version suffix appended; this breaks builds if used as the .so version for shared libraries. Use a dedicated OGRE_SOVERSION instead.
- RTSS: Fixed Normal map and PSSM3 GPU parameters that weren't update on object switch scenario.

v1.7.0 [Cthugha] (28 February 2010) - MAJOR RELEASE

[View changes since RC1]

- License changes
  - OGRE 1.7 is now released under the MIT License
- Compositor changes
  - Allow 'pooled' compositor surfaces.
    - Separate compositor instances using the same size & format surfaces can share them, saving memory
    - System detects the compositor instance chaining to avoid problems with interdependence
    - 'pooled' has to be explicitly enabled on texture definitions, it is not the default because once enabled you cannot necessarily rely on being able to see all the intermediate texture results (because they can be ping-ponging across shared textures); people may be relying on this
  - Manual switching between supported compositor techniques is now possible on the fly
    - Compositor techniques can now have 'scheme' names, you can manually switch between supported techniques using the scheme name to drop to different approaches for reasons other than hardware compatibility (performance, alternative tweaks etc)
    - You can keep & share the textures used by previously active techniques so switching back & forth is faster (must use 'pooled' option for this).
  - Compositors can now specify if they don't want to inherit the FSAA setting from the main target for texture definitions ('no_fsaa')
  - Compositors can now turn on sRGB gamma conversion per texture definition instead of just inheriting from the main surface ('gamma')
  - Cross-compositor communication (from SoC2009 Compositor)
    - Define a texture as accessible from other locations by the chain_scope or global_scope directive in the texture definition
    - Reference a texture from a different compositor in the chain (or in general) using the texture_ref directive
  - Compositor <-> code connection improvements (from SoC2009 Compositor)
    - It is now possible to define a custom composition pass (instead of just quad/scene/clear) in code and trigger it using the render_custom composition pass type.
    - You can now link between a compositor and related code (for example, a compositor listener) automatically using CompositorLogics.
- SceneManager changes (from SoC2009 Compositor)
  - It is now possible to pause a frame's rendering mid-way (for example, during a callback called in the middle of the process) to trigger a side render and then resume rendering. See SceneManager::_pauseFrame and SceneManager::_resumeFrame.
  - Added an option to manually trigger the updating of shadow textures for specific lights. See SceneManager::prepareShadowTextures. The combination of the two new additions allow reusing a single texture for multiple shadowmaps.
- New Sample Browser (from SoC2009_Samples)
  - Instead of many separate demos, we now have one integrated sample browser
  - Samples are pluggable libraries that can be reloaded at runtime without restarting the browser
  - A simple 'tray' system is used to make sample GUI controls easy to create
- Antialising changes
  - Support for Coverage Sampled AA (CSAA) - Dx9 & Dx10 only for now
  - Unified & simplified AA settings
    - on Root's config options the setting is now called 'FSAA' in all cases, and consist of samples and a hint string (separated by spaces)
    - on the miscParams to createRenderWindow you can supply 'FSAA' and 'FSAAHint'. The former is the number of samples, the latter any hinting (e.g. 'Quality')
- Light changes
  - Near/far plane settings for shadow cameras can now be manually configured per light if required
  - You can now mask lights out per object by calling MovableObject::setLightMask - a renderable object's mask is bitwise and'ed with the light's mask and the light is excluded if the result is 0.
- LOD changes (from Soc2008_LOD)
  - LOD no longer has to use distance as a metric for changing LOD levels
  - LodStrategy can now be set on both Material and Mesh, to either Distance or PixelCount (new strategies can also be added)
- STL container changes
  - All STL containers now use custom memory allocators
- Profiler changes
  - Allow milliseconds as well as percentage view - gives a better idea of absolute fluctuations.
  - Define profiler masks so that profiling can be added to core OGRE but still filtered out by categories (added some simple profiling to test)
  - Hierarchy of profiles is now inclusive instead of exclusive (children no longer subtract their time from parents). This is more useful in practice when doing breakdowns
  - Added numerical indicators instead of a scale with 'ticks' since its more useful
- Optimisations
  - Fixed-function light state is now handled more intelligently, leading to better performance with large numbers of objects
  - Shader parameters are now updated more selectively, reducing unnecessary updates
- GpuProgramParameters changes
  - Support added for shared parameter sets which allow you to define / update shader variables for many programs and materials in one place. See GpuProgramManager::createSharedParamerers
  - Use shared_params, shared_param_named and shared_params_ref in scripts to define and reference shared parameter sets.
  - Parameters are now automatically migrated when the program they are based on is changed and reloaded; any parameters which still apply are merged into the new parameters
- Archive changes
  - Archive now supports create and remove of files (FileSystem only implemented for now)
- DataStream changes
  - Writeable data streams are now supported (FileSystem only implemented for now)
- File handling changes
  - New class StreamSerialiser is the new way to read & write binary chunk-based formats
- Build changes
  - Cmake is now used to generate project files, separate explicitly maintained build systems are being removed. See Building With CMake
- RenderWindow changes
  - miscParams now supports 'vsyncInterval' option, allowing you to sync to a multiple of the refresh rate if you want (and the hardware supports it)
- Viewport changes
  - Added clear method to manually clear any combination of colour/depth/stencil to a specified value without performing an update.
- Image changes
  - Added loadTwoImagesAsRGBA and combineTwoImagesAsRGBA to make it easier to construct combined normal/height and diffuse/specular images etc
- New Paging Component
  - SceneManager-independent, separate optional component (OGRE_HOME/Components/Paging)
  - Pluggable strategy components to control paging strategy for a section of the scene
  - Pluggable content components to control paging of content
  - Plugggable collection components so that paged elements can be composed or selected between in different ways (e.g. paging many LOD levels within a page)
- New Terrain Component
  - SceneManager-independent, separate optional component (OGRE_HOME/Components/Terrain)
  - Inherently editable
  - Hierarchical geometry batching; batch counts reduce at lower LODs as well as vertex count. At the lowest level of detail, the entire terrain page is a single batch.
  - LOD now adapts in real-time to camera settings (viewport sizes & LOD bias) so you can use the same terrain with multiple views efficiently
  - Skirts are used instead of stitching to avoid cracks in geometry; this means fewer indexing arrangements & lower overall index buffer usage
  - Saving & loading of terrain built in, including loading / processing in a background thread
  - In-built support for splatting layers, configurable sampler inputs and pluggable material generators
  - Support for generating global normal maps and light maps, in a background thread
- New 'Real Time Shader System' (RTSS) Component
  - Automatically generate shaders to replace the fixed-function pipeline and to add features such as per-pixel lighting, normal mapping and shadows.
- New Property Component
  - Separate optional component (OGRE_HOME/Components/Property)
  - boost::bind based property system to make it easier to expose reflected properties from your objects
- Threading changes
  - WorkQueue added to accept generalised work items to be executed in multiple background worker threads
  - WorkQueue starts the number of workers based on hardware, or can be told to start a different number
  - Main Ogre WorkQueue is in Root::getWorkQueue. You can also subclass WorkQueue and provide your own if you want
  - ResourceBackgroundQueue now uses WorkQueue instead of using its own queue and can have multiple tasks running at once
  - New focus on data-driven, task-based parallel execution with separation of GPU and CPU activities
  - Boost, POCO and Thread Building Blocks supported as threading back-ends (Boost preferred)
- Resource changes
  - ResourcePool added as a place for other application components to shelve & re-use resources
- Material changes
  - scene_blend_op and separate_scene_blend_op added to passes, to change the default '+' operator between source & dest blending params
  - Material listeners can now register to listen to a specific scheme, to allow for none-competing scheme handlers for different schemes.
- iPhone OS port
  - Synced GLESRenderSystem with GLRenderSystem and added some more extension detection
  - Added support for ARM architecture and CPU feature detection
  - iPhone OGRE SDK disc image and sdk package script
- OS X improvements
  - Moved code and resources from the Mac directory to OgreMain
  - Eliminated deprecation warnings when targeting Mac OS X 10.5/10.6
  - General organisation and compatibility improvements

Changes since 1.7.0 RC1 (highlights only)

- Fix GPU-extruded stencil shadows on Dx9
- Allow Terrain to have layers inserted / removed at any point in the stack
- Fix bug 254: DXTn volume texture size calculation crash
- Samples tidied up, and some fixes to unloading behaviour in Compositor, Instancing and VolumeTex samples
- Many fixes to FindOGRE.cmake, now much more reliable and compatible with 1.6 and 1.7. Reference SDKs with OGRE_SDK, or source builds via OGRE_SOURCE and OGRE_BUILD paths.
- New SDKs for Windows and OS X created
- Fill in some missed PVRTC rendersystem caps
- Fix resolving some types in OS X 10.5 SDK
- Added validateConfigOptions() call in Root::restoreConfig(). Solves a crash when moving cfg file from one machine to another.
- RTSS: some refactoring and bug fixing
- Terrain: fixed several bugs
- GLES rendersystem bugfixes
- Fix Codec compile when using OGRE_STRING_USE_CUSTOM_MEMORY_ALLOCATOR
- HashedVector::mListHashDirty was not initialised correctly in a few cases
- Null shadow textures should not be dynamic since that means after a device lost they lost their contents, and there is no handler to manage this.
- Prevent excessive logging when texture load failed in ensureloaded/ensurePrepared
- Windows 64-bit compatibility fixes
- Fix problems when using logical GPU parameter indexes which end up needing more space than originally thought
- Fix a problem with .hdr introduced by new FreeImage
- Fix a bug in ResourceGroupManager::loadResourceGroup when a resource changes group
- Added a Character sample featuring the Sinbad character model.
- Add CMake option corresponding to OGRE_PROFILING
- Fix a large number of problems on Windows with establishing the max size of a window and switching between fullscreen and windowed modes
- WorkQueue::addRequestHandler and WorkQueue::removeRequestHandler no longer block until existing background requests are processed, leading to better parallelism
- Fix no grass displayed on ATI cards on GL in grass demo
- Static build now works including all sample browser plugins
- Fix RGBA colours in custom GLSL attributes
- Reduce compiler warnings
- Lots & lots of other bugfixes and tweaks!