OGRE 1.0 至 1.7.3 更新日志

OGRE (Object-Oriented Graphics Rendering Engine)

Change Log

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
  • 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!

v1.6.5 [Shoggoth] (27 December 2009) - Maintenance Release

  • If Mesh::buildTangentVectors is called and causes vertex splits, and mesh had pose animation, make sure we fix up the poses too.
  • Change 0 -> NULL in Dx9 Present() call, user reported issue on Intel G33/G31 GPU allegedly resolved by this (illogical, but does no harm)
  • Fix a crash when trying to render a line list with stencil shadows enabled
  • Deal with Dx9 device lost for hardware occlusion queries better
  • Fix problem in OpenGL when mixing anisotropy levels in different texture units on the same pass
  • Fix Win x64 RTC issues with timer
  • Fix bug in HLSL with 3x4 matrix arrays
  • Culling fixes for InstancedGeometry
  • Prevent GLX ConfigDialog from creating empty dropdown elements which cause a crash when clicked on.
  • Fix straggling texture unit state bug with multiple contexts in GL.
  • PF_L8 is not likely to be a valid render target format on many cards, use PF_X8R8G8B8 as is the default for non-depth shadows.
  • Documentation updates

v1.6.4 [Shoggoth] (27 Sept 2009) - Maintenance Release

  • DirectX:
    • Fix texture samplers over #8 becoming blank after a device restore
    • Compatibility with August 09 DirectX SDK: dxerr9->dxerr in all cases (works for older versions too)
  • OpenGL:
    • Fix 'invalid enumerant' problem (this time for good) on some cards in GL
    • When locking a sub-area of a pixel buffer, we must remember the original lock area and not just the PixelBox that is returned (which is rebased). Upload should only upload the area which was locked.
    • Fix a 'new' call that should have been OGRE_NEW in GLSLProgram.
    • Fix a problem in GL when using HardwarePixelBuffer::blit - it wasn't disabling higher texture units which could cause some incorrect results in the FBO rendered version
  • Root::removeFrameListener would queue up removal even if the listener wasn't in the list yet, which could mean if you added it again it would get removed. Now it doesn't queue the removal if the entry isn't in the listener list already.
  • Use PixelUtil::packColour instead of memset to initialise the contents of a null shadow texture. This bug could result in different results on nvidia / ati cards if this texture was floating-point
  • Fix BillboardParticleRenderer calling detachobject() incorrectly.
  • Fix OgreOSXCocoaView causing application crash if you save the window attributes to the preferences
  • Fix leftover texture sampler settings above fixed-function units when switching between shaders using 9+ samplers and fixed-function techniques
  • Fixed some edge-case issues with Resource loading and preparing in multiple threads.
  • Make it unnecessary for the parent directory to be in the search path for platform-specific subfolder includes
  • Correctly trap errors in FreeImage_AllocateT
  • Rearrange CEGUI files to be friendly to layout editor
  • Fix a crash in CompositorChain when incorrectly given a null camera
  • Fix a small memory leak in Pass when shaders were used
  • Thread safety for StringInterface
  • Fix scene_depth_range and shadow_scene_depth_range when using LiSPSM or other ShadowCameraSetup classes that use custom matrices and don't use a 'real' camera position
  • Revert revision 8591, "Early-out optimisations to setMaterialName methods, to reduce their cost if the same material name is used" This actually causes problems with applications that delete & recreate materials with the same name, such as Hikari. Of course, it would be better for those apps to regenerate the material in-place instead of creating a new one but since this was breaking behaviour it needs to be undone in the stable release.
  • Fix edge list memory leak in Mesh if more than one SubMesh had non-triangle geometry
  • FileHandleDataStream: Don't pass 0 to fclose.
  • ZipDataStream: Don't double-close zip files.
  • Fix a bug in RibbonTrail; you couldn't extend the number of chains from the amount that were initially created without problems, the ordering of the elements in mFreeChains was not consistent.

v1.6.3 [Shoggoth] (25 July 2009) - Maintenance Release

  • OS X
    • Fixed skewed screenshots on OS X for windows with odd width
    • FreeImage 3.9 - 3.11.0 interoperability fix; detect when FreeImage uses big-endian even on Intel Macs & use the data correctly
    • Fix uninitialised mFullScreen in Cocoa window, and expose WINDOW and VIEW custom params as with Carbon
  • OpenGL
    • GLSL: gracefully handle a link error during binding of parameters, so that we do not abort the render
    • OpenGL pixel buffer: download the buffer when lock mode is anything but HBL_DISCARD, and ignore whether the buffer was created as WRITE_ONLY. For consistency with other rendersystems, WRITE_ONLY should only be a hint, and should not prevent the user reading the contents if they choose to. Previously the read buffer would always contain garbage on GL unless you removed the WRITE_ONLY, which was easy to miss because TU_DEFAULT includes it.
    • Prevent deletion of an external GL context when using currentGLContext.
    • GLSLLinkProgram::activate should not access the vertex program (for attribute mapping) without checking it exists.
    • Fixed parentWindowHandle usage for GLX
    • Disabling hardware mipmap generation on ATI/Linux as reported faulty
    • Enable/disable GL_VERTEX_PROGRAM_POINT_SIZE for point size attenuation when vertex programs available
    • Workaround for broken hardware mipmap generation on Intel 915G's (at least - for the moment disable for all Intel chipsets)
    • Identify SiS chipsets and apply same GL automip workaround as for Intel chipsets
  • Direct3D
    • Fix an edge-case in D3D9 where if _canDynamicTextures returned false, the default pool would still be used even though D3DUSAGE_DYNAMIC wasn't specified, which doesn't allow locking. If D3DUSAGE_DYNAMIC could not be specified, then use the managed pool in all cases.
    • Safety check before rebinding D3D9 textures after a device restore where user has destroyed render target but not texture.
    • D3D9 render texture classes had the wrong update() signature so were not protecting against device lost conditions
  • Visual Studio
    • Fix for Runtime Check Failures with VC 2003 SP1 with alpha_op_ex
    • Allow OGRE to build with VC 2010, use TR1
    • Added missing OgreShadowCameraSetupPSSM.h/.cpp in VC 2003 project file
  • ILImageCodec segfault fix (for those who choose to use it)
  • Fix calculation of bounding radius from AABB in some places
  • Fix McGuire style dark cap incompatible with multiple edge groups (stencil shadows)
  • Make getCameraPosition, getCameraPositionObjectSpace and LOD camera equivalents consistent with other parameters when using camera relative rendering
  • Fix dark cap clipping in stencil shadows in a few edge case conditions
  • Fix the use of 2 scene managers with different settings on finite / infinite stencil shadow extrusion
  • Fix Light::_getFrustumClipVolumes(...) numerical instability if infinite camera's far clip plane is used, causing light flickering if light is near camera's side frustum plane.
  • Should propagate material scheme from primary viewport to shadow viewports so that caster/receiver materials are consistent with materials chosen for main view
  • SceneManager should restore mCurrentViewport after rendering the shadow textures
  • ConvexBody: only process finite AABBs (ignore null & infinite)
  • Fix AABB when using BillboardSet with world coordinates and a transformed parent node
  • Fix 2 typos in scripts where vertex_program should be fragment_program
  • Fixed a few warnings Fix problems with gui sample files schema validation when using Xerces Fix to fog_override parsing when using options other than 'none'
  • GpuProgramUsage::setProgramName - check the type of the program assigned matches the type of usage it's assigned to (make copy/paste errors in scripts easier to diagnose)
  • Don't pull the AABB out of an unloaded or half-loaded Mesh - if the Mesh is being background loaded, it's possible the AABB could be half-populated and invalid.
  • AnimableValue should handle DEGREE and RADIAN types (gcc warned about this)
  • Early-out optimisations to setMaterialName methods, to reduce their cost if the same material name is used
  • Fix blended scene animation (previously, only one animation would successfully apply, now they can be blended)
  • Fix write overflow in GPU parameters when using a (physically) 3x4 matrix - this could occur even if the param was declared as 4x4 but cast to 3x3.
  • TextureUnit's rarely-used constructor wasn't initialising everything
  • Fixed calling Root::loadPlugin twice for the same plugin caused a crash at shutdown (and also double-calling of init function)
  • Return default value properly from ConfigFile::getSetting
  • Fix license statement on Fresnel demo code - all samples are supposed to be public domain / free use.
  • SceneManager should destroy its own shadow textures on destruction

v1.6.2 [Shoggoth] (11 April 2009) - Maintenance Release

  • LGPL static link exclusion clause added to our official license terms. Static linking terms are now the same as dynamic linking.
  • OpenGL:
    • Safety check before using mCurrentContext
    • Win32: Correctly restore display frequency on Win32/GL, was getting overridden after restoreConfig
    • Linux: CurrentGLContext option for GLX rendersystem should not be creating a new context.
    • ATI: Workaround for corruptions in most recent drivers with sub-buffer updates with glMapBuffer
    • ATI: fix crashes on some older cards when trying to use point sprites
    • Add support for more graceful downgrading on pre-GL 1.2 cards and other underpowered systems (Mesa should now work)
  • D3D9:
    • Remove flushUpTo() call in CompositorChain::postTargetOperation; this happens after the begin/end of the scene and actually gets ignored anyway, D3D9 would bitch about this in debug mode
    • Fix a potential issue with switching from fullscreen to windowed if requested size overflows
    • Fix copyContentsToMemory in D3D9 for secondary windows
    • Allow reference device software fallback for low-end machines
  • Win32: standardise the use of NOMINMAX and WIN32_LEAN_AND_MEAN
  • Linux: Fix aclocal warnings in configure.in
  • Linux: Deal with Xlib.h's definition of 'Status' which clashes with ResourceGroupManager header
  • OS X: OgreMemoryNedMalloc.h correctly made 'public' in the Copy Headers task
  • GCC: Make the PCZ plugin use the gcc visibility options like other libraries
  • VC7.1: Fix for threaded build, VC7.1 doesn't have intrin.h
  • VC9: Added missing 'user' files for VC9
  • Change to the timing of dirtying a Pass hash before a material is loaded to better support threaded material population.
  • Fix small potential memory leak when explicitly constructing a SharedPtr with a null pointer
  • Fix a shadow map indexing bug when using pass iteration for a specific light type and multiple light types all with shadows
  • Fix OverlayManager::getViewportAspectRatio, was inverted
  • Return float from AutoParamDataSource::getLightCastsShadows to match declared type
  • Make methods of TerrainZone virtual
  • Fix off-by-one error in StaticGeometry::GeometryBucket::assign when checking number of vertices.
  • Make sure aspect ratio of camera is updated when camera newly assigned to a viewport
  • Propagate alpha for material and technique setAmbient and setSelfIllumination
  • Fixed ManualObject's support for 4D texture coordinates
  • Fixed ManualObject transparent sorting behaviour when using 'keep ordering' mode
  • Fix a crash when a compositor chain doesn't have a compositor attached to it
  • Default material scheme when compiling compositors, so that quad materials get assigned correctly
  • Fix bug with StaticGeometry when using stencil shadows and LOD.
  • Fix the GLSL 'attach' directive not allowing multiple attachments in one line.
  • SceneManager::SceneMgrQueuedRenderableVisitor should be public, needed for SceneManager::setQueuedRenderableVisitor
  • Entity::_initialise now uses needUpdate() rather than updateBounds() to update parent node so that it will work on deeper hierarchies with SceneManagers which require parent bounds to also be updated (or processed some other way).
  • Fixed OpenEXR plugin build
  • Fixed crashes with certain Overlay destruction orders.
  • Documentation updates

v1.6.1 [Shoggoth] (22 January 2009) - Maintenance Release

  • Shadows
    • LiSPSM now automatically adjusts for duelling frusta
    • Uniform shadow camera is now independent of FOV for directional shadows
    • Directional shadows no longer jitter when using the uniform shadow camera
    • Fix PSSMShadowCameraSetup when using arbitrary number of split points
  • Memory
    • Nedmalloc deallocator should deal with null pointers
    • Nedmalloc is now the default allocator
    • Linux build now has option to change allocators
  • Materials
    • cubic_texture now calls processTextureNames event properly
    • Fixed support for multi-line comments
    • Fixed script inheritance ordering bug
    • Fixed extra space being added to the parameters of texture_source in scripts
    • High-level shaders can now be reloaded properly after a compile error
  • DirectX9
    • Fix device reset error when using hardware occlusion queries
  • DirectX10
    • Fixed compilation on the November 08 DirectX SDK
    • Image pitch bug fixed
  • OpenGL
    • Fix crash on Radeon 9200 in _setPointParameters
    • GTK fullscreen mode now works
  • GLSL
    • Fix warnings of the form “Could not find vertex shader attribute 'vertex' to match BindAttributeLocation request”
    • Fix custom attribute names (tangent, blendWeights etc) interfering with user-specified 'varying' bindings that happen to be called the same thing
    • Fix “Invalid Enumerant” errors caused by trial-and-error binding of custom attributes
  • OS X
    • Fixed plist link for OctreeZone project
    • Make sure OgreMemoryNedMalloc.h is copied during Framework bundling
  • Code::Blocks
    • Project files updated to include PCZ plugins & sample
    • GL render system project updated to include render to vertex buffer
  • PCZ SceneManager
    • Texture shadows now work correctly in PCZ scene manager
    • Null and infinite AABBs now handled correctly
  • Tangent support
    • StaticGeometry now supports tangent parity option
    • Allow texture coordinate index 0 to be used for tangents if required (previously only the tangent semantic, or texture coordinate 1 or higher were supported)
  • Pixel buffers
    • Some blit functions were ignoring the left/top/front offsets, this is fixed
    • HardwarePixelBuffer::lock implementations should not return the same left/top/front offsets as the incoming parameters, since the returned pointer is already offset
    • Box now has a safer default construction, in particular setting front/back to 0/1
  • Linux / GLX
    • Xt is now the default GUI on Linux instead of GTK (if installed)
    • Do not correct window size to valid fullscreen mode in windowed mode
    • Fix typo in closing GLX window
  • Fixed animation update for entities using the same Skeleton at all LOD levels
  • MeshSerializer can now load submeshes without indices successfully
  • Hardware SRGB option is now properly registered when using background loaded textures
  • In SceneManager::_manualRender, shader params for view/projection are now updated correctly
  • Fixed bugs with sky boxes / domes etc when repeatedly clearing the scene & resetting
  • Fix calculated SubMesh size in .mesh when using 16-bit indices
  • Manually changing the sort mode of solids in a render queue now works as expected
  • Fix precision error in AnimationState::hasEnded
  • Allow access to const version of OverlayElement factory list.
  • Allow setMaterial() on Entity/SubEntity as well as setMaterialName, for efficiency
  • STLport build option fixed
  • Fixed uninitialised typeName in Exception
  • Fix various compiler warnings

v1.6.0 [Shoggoth] (3 November 2008) - Major Release

[View changes since RC1]
  • Script Changes
    • New script compilers are enabled by default, see OGRE_USE_NEW_COMPILERS in OgreConfig.h
    • Unified script syntax (.os), can contain anything that would have been in type-specific scripts (.material, .particle etc)
    • Import other scripts via the 'import' directive
    • More flexible syntax, quoted identifiers supported
    • Substitutable variables are supported
    • Interception of script parsing events now possible for custom behaviour
  • Material Changes
    • 'manual_named_constants' directive added for assembler shaders to allow you to associate named parameters stored in a file with assembler. The file can be created from the GpuNamedParameters from high-level source if you want to precompile them.
    • 'gpu_vendor_rule' and 'gpu_device_rule' allow you to influence the techniques which are used with inclusive/exclusive matching rules on the vendor and device name. Can help tune your materials for vendor or device-specific behaviour.
    • '#include' directive now supported in HLSL and Cg shaders
    • Added MaterialManager::Listener
      • Can implement default Technique setting when using a material scheme for which there isn't a specific Technique
      • Can use to change materials for all objects easily per viewport by using a new scheme name
    • Added Pass::setPolygonModeOverrideable / script 'polygon_mode_overrideable'
      • Allows pass-level control over whether the camera's polygon mode should affect rendering
    • Added 'light_scissor' option to Pass
      • Allows pass fragment processing to be limited to a scissor rectangle of the light coverage in that pass
      • Additive texture and stencil shadows now use scissor automatically for additive colour passes, previously just used for rendering stencil shadow volumes
    • Added 'iteration_depth_bias' option to pass. Allows you to increment the depth bias on a pass by a specific amount each iteration if you wish
    • 'light_number' GPU parameter binding added
    • 'light_count' GPU parameter binding added
    • 'spotlight_viewproj_matrix' and 'spotlight_worldviewproj_matrix' added so you can use matrices from spotlights even without having set up texture shadows or an explicit texture projector
    • Added 'light_clip_planes' option to Pass
      • Clips triangles to a cube (point lights) or pyramid (spot lights)
      • Available when the pass is only using one light and you need to restrict complexity
    • Added 'separate_scene_blend' option to Pass
      • Allows the use of separate blend operations for colour and alpha between rendered pixel and existing frame buffer
    • Added pass option 'illumination_stage'
      • Allows material writers to assert control over the illumination pass compilation (additive shadows)
      • You can now incorporate sequences you could not before in your additive lighting materials
      • For example, allows you to include specular effects by pulling the decal pass into the per-light pass if that works for your material (offset mapping used as an example)
    • Added 'gamma' option to texture declaration in texture_unit (sRGB support)
      • Causes hardware to perform gamma space to linear space conversion when sampling the texture
      • Useful only for 8-bit per channel colour textures (not floating point textures or normal maps)
      • Can improve quality results from shaders because they mostly assume calculations are done in linear space
      • You will need to convert results back to gamma space when rendering to an 8-bit per channel render target either via a shader instruction or enabling the gamma correction option in RenderWindow or on the render texture
    • Added 'transparent_sorting' option to Pass, allows you to disable depth sorting for transparencies
    • Added 'alpha_to_coverage' option to Pass, allowing you to use alpha to coverage to multisample alpha-rejected textures. Even though this is a Dx10 feature, it is available on Dx9 for recent ATI and NVIDIA cards, and OpenGL on all cards that implement it.
  • Frustum / Camera Changes
    • Orthographic projection now allows explicit setting of orthographic window size
    • Added Camera::getCameraToViewportBoxVolume. Similar to getCameraToViewportRay but generates a PlaneBoundedVolume from a screen-space rectangle which can be used in a PlaneBoundedVolumeListSceneQuery to do rubber-band selections
    • Added Frustum::setFrustumExtents - allows you to specify the left/right/top/bottom planes manually and thus create any shape frustum you need to, even without the camera being in the centre of it
  • MovableObject changes
    • An object will no longer render its debug display if set to visible (e.g. via a cascading visibility update), you have to explicitly turn on the debug display. This is available via MovableObject::setDebugDisplayEnabled and SceneNode::setDebugDisplayEnabled
    • Added visitRenderables() method - allows you to get a callback to a Renderable::Visitor class for all Renderables that this object will potentially add to the render queue. Identifies LOD and debug renderables.
  • Scaling Issues
    • By default now, renormalisation of normals is automatic if there is a non-unit scale on the main world matrix rather than the Entity::setNormaliseNormals option. If the user wants to optimise this, they can prevent the SceneManager doing it in all cases by calling SceneManager::setNormaliseNormalsOnScale(false) and then explicitly enabling the option per Pass instead. In the case of an array of world matrices being used, if the first world matrix isn't a guide then the shader writer should handle the renormalisation.
    • By default now, Ogre will flip the culling mode of objects that are rendered with a negative scale (ie they are reflected by the transform of the node). This means you can now negatively scale objects and they will be rendered correctly. You can disable this behaviour by calling SceneManager::setFlipCullingOnNegativeScale(false)
  • Compositor Changes
    • You can now define Multiple Render Targets (MRT) in compositor scripts.
      • To define a MRT, just list all the formats one after the other in the 'texture' definition.
      • To reference a MRT subsurface later in a render_quad pass, use the optional extra 'mrtIndex' at the end of the 'input' command
      • Note: as at this time, D3D requires that all surfaces of the MRT are of the same bit depth, and GL requires them to be of the same format
    • Compositors now detect when the viewport they are attached to is using sRGB or multisample antialiasing, and apply the same settings to any intermediate textures which are having the original scene rendered to them (explicitly via a 'render_scene' pass or implicitly via 'input previous')
    • The 'texture' directive now supports specifying a size which is a multiple of the main target size. You can use 'target_width_scaled' and 'target_height_scaled', each followed by a floating-point scaling factor, so 'target_width_scaled 0.5' for example would result in a texture with a width of half the size of the target the compositor is applied to.
  • FrameListener changes
    • Added new callback 'frameRenderingQueued'. This callback occurs after all rendering commands have been sent to all render targets, but before the double-buffered targets (windows) are asked to swap their buffers. This allows you to perform some useful work on the CPU in the main thread whilst the GPU chews over the queued rendering commands. On return from the callback, the buffers will be swapped. This is equivalent to running your own rendering loop in previous versions and using RenderWindow::update(false) then RenderWindow::swapBuffers separately, but it now makes the technique available in the standard render loop.
  • SceneManager changes
    • Chaster's 'Portal Connected Zone' SceneManager added
    • 'Camera relative rendering' option added so that in large scenes where you are far from the origin, precision issues on the GPU can be mitigated by only transforming objects relative to the camera. See SceneManager::setCameraRelativeRendering
  • ManualObject changes
    • 4D texture coordinates now supported
    • 32-bit indexes now supported
  • Tangents generation changes
    • New TangentSpaceCalc class can be used to calculate tangents for any geometry more easily, not just Mesh
    • Now generates tangents based on a UV-area weighted, triangle angle weighted basis resulting in less biasing from small / thin triangles
    • Now has options for splitting vertices when the tangent space basis is either mirrored or rotated around a vertex.
    • Tangents can now be stored as a 4-component vector, with the 'w' component containing the parity. Multiply the binormal/bitangent you calculate in your shader by this to render models with mirrored UVs correctly.
  • Resource changes
    • Resource now has a lightweight way to observe whether it has been reloaded since you last looked at it, via getStateCount(). Other changes known to make derived data out of date may also increment this number. This allows Entity to now pick up when Mesh has been altered and refresh itself on next render.
    • You can now query for file modification times via ResourceGroupManager::resourceModifiedTime
  • RenderSystemCapabilities changes
    • RenderSystem capabilities can now be serialised and these configs used to emulate lesser hardware
    • More information about graphics card is exposed in this structure now, including device name, driver version and also enumerates the most common vendors
  • SkyBox changes
    • Skyboxes now detect and can use materials which use the 'combinedUVW' option to cubic_texture. Allows you to use the same single combined DDS for both reflection maps and skybox (previously the skybox had to be 6 separate images)
  • RenderWindow changes
    • You can now request the hardware to perform linear-to-sRGB colour space conversions for you, before the blending calculation. Use the 'gamma' name-value pair option on creation of a window or the "sRGB Gamma Conversion" render system config option for the auto-window.
  • Render to Texture changes
    • You can now enable sRGB conversion on render textures when you create them
    • Multisample antialiasing is now supported when rendering to textures, specify the number of samples when you create the texture
    • MRTs with different bit depths are now supported if the hardware exposes the facility (check RSC_MRT_DIFFERENT_BIT_DEPTHS)
  • Image Changes
    • Ogre can now detect the format of an image without needing a file extension, so you can load data from streams without knowing what file it came from. The Codec system has been expanded to provide support for recognising 'magic' signatures.
  • Light changes
    • Lights now have a 'power' value as well as a colour, for HDR lights (defaults to 1.0)
    • Derived light colour auto-params are now factored by the light power
    • Lights can now have their own shadow far distance settings (default is to continue to use the SceneManager global one)
  • Animation Changes
    • You can now use 'skeletal blend masks' to simplify the process of combining multiple layered animations to subsets of skeletons, or temporarily masking out the application of predefined animation to given bones (e.g. in order to manually control them). You create & apply these through AnimationState.
    • AnimationTrack::Listener allows you to override interpolation and drive animation procedurally if you wish
  • Threading changes
    • OGRE_THREAD_SUPPORT can now take 3 values, 0=no threading, 1=full background loading, 2=semithreading (background preparing). The new option allows you to use a background thread just to perform I/O or calculate data, but for the main thread still to be responsible for dealing with the rendersystem. This means less synchronisation is required (since the rendersystem can still run without any threading protection) and thus there are fewer overheads involved in using background loading, at the expense of a slightly more complicated setup.
  • Renderable changes
    • Added preRender and postRender methods that let you further customise the render operations that are performed by a specific Renderable
  • Archive changes
    • Added Archive::getModifiedTime to allow you to query for file changes
  • Camera changes
    • Camera now has an optional 'LOD Camera' which can be used to make LOD decisions based on a different camera
  • Shadow changes
    • Texture shadows now base LOD on the main view's camera, not on the shadow camera
    • Multiple textures per light are now supported, allowing techniques such as Parallel Split Shadow Maps, Dual-parabaloid Shadow Maps and Cubic Shadow Maps to be implemented
    • Implementation of Parallel Split Shadow Maps (PSSM) is included, use the new class PSSMShadowCameraSetup. Integrated shadows are required since shaders are required to pick the appropriate shadow map. See PlayPen::testTextureShadowsIntegratedPSSM for an example.
  • Geometry shader support
    • Currently supported in OpenGL only (until Dx10 renderer complete)
    • ParticleGS and IsoSurf demos added
    • RenderToVertexBuffer support also added
  • Memory management changes
    • Custom allocators now supported
    • New debug memory tracker for tracking memory usage by pool, and identifying leaks

Changes since 1.6.0RC1

  • Native VC9 (2008) projects added
  • Correctly deal with decompressing DXT data that is less than 4 pixels in width/height
  • Fix assertion bug when mesh does not contain any UV
  • Added missing virtual destructors to new script compiler classes, fixes memory leak
  • Added PCZ plugins to SDK build script
  • Make LOD camera position available to shaders (lod_camera_position)
  • Fix passless technique handling in OgreEntity.cpp
  • Various GLX Config Dialog fixes
  • Add void* cast to deallocateBytes call to guarantee compatibility; this fixes luabind+ogre compile error for example
  • Safety change - don't assume that shadow texture cameras and shadow texture list is entirely in sync, in case an exception has made this temporarily not the case before shutdown
  • Simple ease-in, ease-out for camera motion in samples
  • Fixed new script compiler not respecting the 'gamma' option to the texture directive (hardware sRGB conversion on sample)
  • Make sure colour depth doesn't exceed desktop on GL/Win32/Windowed
  • gcc 4.3 deprecated the ext/hash_map and ext/hash_set includes. Now backward/hash_map and backward/hash_set.
  • When using manual LOD on an Entity and attaching an object to a bone, still use that attached object on lower detail versions. If a lower detail skeleton is being used though and the bone that the child object is attached to no longer exists, don't display the object.
  • Expose the ability to turn off shadows in a compositor in script
  • Fix for "No Contacts Requested" bug in ReferenceApp
  • Bugfix for segfault in Root::loadPlugins() when empty plugin directory specified
  • Fix wave_xform and scaling factors.
  • Allow Animation to change lengths, useful for editors; just document caveats.
  • Remove all 'using namespace OIS' directives, since OIS has a Vector3 now so it can be ambiguous, better to refer to external project explicitly
  • When increasing the number of shadow textures, use the settings from the end of the list if it is not empty. This avoids confusion when a user for example sets the size or format first, then increases the count.
  • OctreeSceneManager should be checking for duplicates in createCamera like the other SMs
  • texture_source now supported in new script compilers
  • Add missing ColourValue::getHSB method
  • Const fixes to Polygon, and adding missing obvious method (isPointInside)
  • Deal with D3D9 lost device condition where a texture is no longer contained in the TextureManager resource list, but still exists through some other shared pointer reference. Previously these were not released / restored (if in the default pool) and could cause a failure to restore the device, they now are dealt with properly.
  • Normalise rotation quaternions to eliminate the progressive drift which can happen in some cases (resulting in skewed matrices)
  • Fix a bug in the new compositor script compiler - the 'clear' and 'stencil' passes are supposed to pick up their settings (buffers, colour_value etc) from nested sections, not attributes directly under the pass. Added new translators to handle these nested areas and moved the attribute parsing into them. This fixes bad parsing of compositors with custom clear / stencil settings that used to work in 1.4.
  • Fix transposed matrix parsing in new script compiler; affected 'transform' attribute in texture_unit and also shader parameters expressed as a matrix in script. Addressing of matrix4 is [row][column] and not [column][row].
  • Fix to InstancedGeometry::destroy - clear list
  • Change Windows SDK script so that uninstall doesn't remove any new nested folders created by the user underneath it.
  • Fix compile when using (deprecated) GTK platform
  • Patch autotools files for PCZSceneManager and new Samples
  • InstancedGeometry should be looking for the best technique, not the first technique
  • Fixed Technique::movePass when moving a pass forward
  • Camera::getCameraToViewportBoxVolume extra plane generated, also added optional far plane inclusion as requested, non interface breaking
  • Extra checking in AutoParamDataSource to prevent accidental out of bounds access to light arrays
  • Protect Pass hash recalculation process from race conditions by adding mutexes to cover the change conditions
  • Mac/Carbon support for "border" and windowClosing event
  • Rename OgreOctree.h in OctreeZone plugin to avoid name clash with existing file on OctreeSceneManager plugin.
  • Limit FOV on standard shadow camera setup so it doesn't approach 180 degrees
  • Added support for leading '/' in tokens in new script compiler
  • NedMalloc now added as an option for faster memory allocation / deallocation
  • Fix problem with setting up a controller on a TextureUnitState when one already exists (e.g. calling setAnimatedTextureName more than once)
  • Slight optimisation to BillboardSet - use Matrix3 instead of Quaternion to orient, uses less instructions.
  • Default preferred render texture mode to FBO in OS X now - this appears to be working just fine in Leopard on my July 2007 MBP.
  • Improve LiSPSM quality when camera direction becomes parallel with the light direction (scale up the opt adjust factor automatically)
  • Fix weird darkening of grass blades in Demo_Grass while camera moves (bug 190)
  • Compatibility with libtool 1.6+
  • Use forward slashes in q3settings.cfg
  • Fixed some gcc warnings & const correctness issues
  • XCode & MinGW build fixes
  • Documentation fixes
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值