Skip to main content
History: EihortNotes
View published page
Source of version: 9
(current)
Welcome to the ChangeLog and porting notes for OGRE 1.4.0 "Eihort" {maketoc} !!ChangeLog * Added ~np~Bitwise::isPO2~/np~ to determines whether a number is power-of-two or not. * New class AlignedMemory/AlignedAllocator for allocate aligned memory. * New class PlatformInformation to detect run-time platform-dependent information. * SSE/SIMD optimisation ** Software vertex skinning. ** Software vertex morph. ** Concatenate affine matrices in batches. Note that standard C/C++ implementation of bone's local to world transform concatenation now also supports affine matrices only. ** Added SSE implementation of triangle face normal and light facing state calculation. * New class WindowEventUtilities: Adds ability to subscribe to recieve window events (Move/Resize/Close/Focus change) ** Fixed Multiple Windows + Using Close ("X") Button to close the proper window * Removed Platform Manager ** Instantiate (and deallocate) previous items yourself now (Timer, ConfigDialog, ErrorDialog) ** ~np~PlatformManager::messagePump~/np~ is replaced by ~np~WindowEventUtilities::messagePump()~/np~ which updates all registered RenderWindows (automatic for Ogre created Windows) message loops * Removed Ogre Core Input System * Removal of SDL Platform under Linux * Use "WINDOW" for ~np~RenderWindow::getCustomAttribute( )~/np~ for getting window handle for both Linux and Win32 * Shader enhancements ** HLSL program added ''column_major_matrices'' and ''preprocessor_defines'' parameters. *** ''column_major_matrices'' tell HLSL compiler whether or not matrices packing in column-major format, default to __true__ which according with previous behavior (standard D3D behavior). *** ''preprocessor_defines'' declare macros which can access within the program, i.e. via ~np~"#if define(...)", "#ifdef"~/np~ directives. Multi macros are split by __~np~;~/np~__ (semicolon) or __~np~,~/np~__ (comma), and use __~np~=~/np~__ (equal mark) to split macro's name and definition part. Note that definition part are optional, if absent, the macro define as __1__. ** Added new program language 'unified' *** Wrapper program that chooses one 'delegate' program at runtime whilst technique refers to 'unified' program *** Allows you to use GLSL and HLSL programs in one technique if they do the same thing *** Could use for choosing between other programs automatically if their iterface & the containing pass is the same, eg HLSL with different targets ** GLSL array uniforms can now be accessed using the zero-index parameter name, e.g. paramName[0]. Previously Cg and HLSL behaved like this but GLSL required you to drop the [0] which caused consistency problems. In all languages you can either include or omit the [0], both work. ** GLSL 1.2 supported (GL 2.1 drivers) allowing non-square matrices ** GLSL auto-bound arrays now work properly so you can use hardware skinning in GLSL (example provided for Demo_SkeletalAnimation). Our example uses a 3x-sized array of vec4's for compatibility with GLSL 1.1 (GL 2.0) but you can use an array of mat3x4 on GLSL 1.2 (GL 2.1) ** Memory usage on GpuProgramParameters reduced; parameter lookups are now shared and the parameters are now packed with no wasted space even when there are unused sections of the raw constant index list ** Optimised the layout of GpuProgramParameters and allowed direct access to the params buffer using _writeRawConstant ** Optimised the setting of parameters on the render system ** Added spotlight_params auto-binding with useful precalculated members for doing per-pixel spotlights ** Added 'array' versions of light auto-bindings (light_position_object_space_array, light_diffuse_colour_array, etc) - useful for single-pass lighting shaders that want to bind many lights in a smaller space in the material script ** Added surface colour reflectance properties auto-binding (surface_ambient_colour, surface_diffuse_colour, etc) and derived colour values (calculated from the surface colour reflectance property and the light colour) auto-binding (derived_ambient_light_colour, derived_light_diffuse_colour, etc). Allow access to fixed-function surface properties handily. ** Added texture_size, inverse_texture_size and packed_texture_size auto-binding, so shaders that requires the size of the texture can bind auto (i.e. filtering texture manually should be requires the texture size in the shader). * Image internal data format has altered structure slightly when there are custom mipmaps embedded in a cubemap (all the mips for each face are grouped together now instead of all faces at one mip level). See the Image API docs - the internal format was never documented before anyway (it is now) and you were always better to use getPixelBox anyway so I doubt this will affect anyone. * Triangles in the edge list now grouping by vertex set. The mesh file format has been changed to support this requirement. Old format can still load directly, but has performance penalty on loading if edge list embed in mesh file. You had better upgrade mesh file with MeshUpgrader tool ASAP. * LogListener are no longer added to the LogManager. Instead, addListener and removeListener have been added to Ogre::Log. So, you will need to get the log you wish to add a listener to, messages will no longer be broadcast for all created logs to listeners. Also, the interface is slightly different then previously, please check ~np~Ogre::LogListener~/np~ (in OgreLog.h) class for details * Added specially optimised functions to dealing with ''affine matrix'' (check ~np~Matrix4::isAffine~/np~ for the detail of affine matrix). Internally engine now explicit requires all world / view transform matrices are affine matrix. ~np~Frustum::setCustomViewMatrix~/np~ now accept affine matrix only (assertion in debug build). For the user that implemented their own Renderables, overriden of ~np~Renderable::getWorldTransforms~/np~ must be returns affine matrix / matrices. * Vertex programs and VES_TANGENT and VES_BINORMAL ** GL ARB programs automatically bind attribs 14 / 15 to support this ** GLSL automatically binds based on defined attribute names; e.g. *** attribute vec3 tangent; *** attribute vec3 binormal; *** attribute vec4 blendWeights; *** attribute vec4 blendIndices; ** Example Cg shaders changed to use TANGENT0 instead of TEXCOORD1 now ** Meshes upgraded ** ~np~Mesh::suggestTangentVectorBuildParams~/np~ and ~np~Mesh::buildTangentVectors~/np~ now take a target semantic, so you can choose whether to use texture coords or real tangent bindings ** If you want to convert existing meshes which have embedded 3D texture coords for tangents, use OgreMeshUprade -t -i my.mesh , then choose to reorganise the vertex data, and remove the last texture coord set. The '-t' will rebuild tangents into a VES_TANGENT binding instead. Remember to change your shaders! ** Remember, DirectX 8.1-class hardware (GeForce3/4Ti) can't use VES_TANGENT bindings, so if you target that hardware you will have to stick to binding tangents to VES_TEXTURE_COORDINATES. * ABI version change - Using -release instead of -version-info, better when dealing with stable/unstable branches, more automated, and less prone to errors. This should clear up the fact that app's need to relink to OgreMain for each release if they want to update * Mipmap enhancements ** Mipmaps choice can now be biased upwards or downwards using the mipmap_bias directive in material scripts * AxisAlignedBox can now be infinite as well as null, meaning it is always visible * ManualObject can be used to render 2D elements by using an infinite AABB and telling it to use identity view and projection matrices * Removed ~np~RenderTarget::setDebugText~/np~ and getDebugtext. ALl it did was store a string, so if you need that functionality, just hold your own local string. * ~np~Skeleton::_mergeSkeletonAnimations~/np~ added to merge animations from multi-skeletons 'physically', and helper function ~np~Skeleton::_buildMapBoneByHandle~/np~ and ~np~~np~Skeleton::_buildMapBoneByName~/np~~/np~ added to support mapping bone between skeletons for merge. * ~np~MovableObject::Listener~/np~ added so you can use ~np~MovableObject::setListener~/np~ to get callbacks when object being rendering, finding for lights, and more. * Customable light finding support added. ** Lights affecting the frustum now find and cached during rendering the scene, advanced method ~np~SceneManager::_getLightsAffectingFrustum~/np~ added to supports implementing customise light finding algorithm. ** ~np~SceneManager::_populateLightList~/np~ now use cached lights that affecting the frustum instead of all lights in the scene. ** ~np~SceneNode::findLights~/np~ now requires a light list parameter to store results instead of returns its local light list. ** ~np~MovableObject::queryLights~/np~ added to supports implementing ~np~Renderable::getLights~/np~. You can also use ~np~MovableObject::Listener~/np~ to implement your ower light finding if need. * Particle System ** Particle System now supports emitted emitters (to create effects such as fireworks more realistically). ** Particle system renderer now has optional callback when particle(s) being emitted, moved, expired or cleared. * ManualObject now allows you to update its contents more efficiently provided the structure does not alter * Texture enahncements ** Texture, TextureManager and TextureUnitState now allow you to describe the desired pixel format to be used instead of the original image format when loading a texture. Related functions: ~np~Texture::setFormat~/np~, ~np~TextureUnitState::setDesiredFormat~/np~, ~np~TextureManager::load~/np~ and ~np~TextureManager::loadImage~/np~. ** Texture and TextureManager now allow you to set the preferred bit depth for integer and float pixel formats respectively. Related functions: ~np~Texture::setDesiredIntegerBitDepth~/np~, ~np~Texture::setDesiredFloatBitDepth~/np~, ~np~TextureManager::setPreferredIntegerBitDepth~/np~ and ~np~TextureManager::setPreferredFloatBitDepth~/np~, etc. ** The texture attribute in material script now allows an option pixel format parameter to specify pixel format of texture to create. * Viewports can now have their own visiblity masks, making it easier to change the mask per view of the scene without listeners * Threading enhancements ** Threading now officially supported for loading & initialising resources in the background * Enhanced lighting and shadowing ** You can now integrate texture shadows into your primary material pipeline, saving passes (SHADOWTYPE_TEXTURE_ADDITIVE_INTEGRATED, SHADOWTYPE_TEXTURE_MODULATIVE_INTEGRATED) ** 'content_type shadow' added to texture unit to auto-bind shadow textures into your materials and use them in normal rendering ** More texture shadow projection options through ShadowCameraSetup subclasses: *** Plane optimal *** Uniform focused *** LiSPSM ** Depth-shadowmapping example, with percentage-closest filtering for antialiased, self-shadowing effects using texture shadows ** Bounding boxes of objects visible from each camera in the last frame are now recorded, which can be used to adjust custom shadow camera setups. See ~np~SceneManager::getVisibilityABBForCam~/np~ and ~np~SceneManager::getShadowCastersAABForLight~/np~ * Added option to Skeleton::optimiseAllAnimations allows preserving all node tracks with identity keyframes only, and is now only destroys node tracks which have identity keyframes only for all animations. * Depth biasing: ** Slope scale bias now available as well as constant bias (for hardware that supports it) ** Biasing is now floating point for finer adjustment * Animation: ** Animation is now collect keyframe time from tracks and build up lookup table, which used for fast keyframe searching. ** NodeAnimationTrack now allocate memory for spline interpolation on demand, saved a little memory footprint. * Exception changes ** Ogre::Exception now sbuclasses from ~np~std::exception~/np~ and implements what() ** All error codes now result in a separate subclass of Ogre::Exception being thrown so you can catch particular types, e.g. RenderingAPIException and InvalidParametersException ** OgreGuard / OgreUnGuard and stack tracing option have been removed * Mesh enhancements ** Submeshes can now have optional 'extremity points' stored with them to allow submeshes to be sorted with respect to each other in the case of transparency. For some meshes with transparent materials (partial transparency) this can be useful. You can either specify these or generate them automatically with the ((OgreXmlConverter|XML converter)). * Added ~np~TagPoint::setInheritParentEntityOrientation~/np~ and ~np~TagPoint::setInheritParentEntityScale~/np~ allows TagPoint whether or not inherits orientation and scaling factors from it's parent entity. * Static Linking support. See ((StaticLinking|Statically Linking Ogre)) * Added ~np~TextureManager::isHardwareFilteringSupported~/np~ to detecting whether the render system has hardware filtering supported for the texture format requested with the given usage options. Mainly useful for detecting floating-point texture filtering supports. !!Porting notes * __Vector2, Vector3, Vector4, Quaternion and ColourValue__ - 'val' is no longer available due to ANSI compliance changes (anonymous structs). Instead, use ** 'ptr()' method to access a pointer to the elements, ie obj.ptr() instead of obj.val ** regular operator[] to access individual elements by index, ie obj[i] instead of obj.val[i] * __Quaternion getYaw, getPitch and getRoll__ now return a more intuitive result by default ie the projection of local axes onto the plane required to get the absolute angle, rather than the shortest internal rotations required to recreate the quaternion's orientation. You can pass 'false' to the methods to return to the previous behaviour. * ~np~RenderTarget::setDebugText~/np~ and getDebugtext no longer exist. All it did was store a string, so if you need that functionality, just hold your own local string - the ExampleFrameListener does this in mDebugText. * ~np~Renderable::useIdentityProjection~/np~ and ~np~Renderable::useIdentityView~/np~ removed ** When extending Renderable, do not override useIdentityProjection or useIdentityView to implement 2D rendering. Instead, initialise mUseIdentityProjection and mUseIdentityView in your constructors ** Replace calls to useIdentityProjection with getUseIdentityProjection and useIdentityView with getUseIdentityView * __Resource changes__ ** ~np~ResourceGroupListener::scriptParseEnded~/np~ now also includes the name of the script in the callback, you will need to change your listener signature. ** ~np~Texture::loadImage~/np~ or ~np~Texture::loadRawData~/np~ should not be called inside a ManualResourceLoader anymore. Use the internal ~np~Texture::_loadImages~/np~ instead. The reason is that the former methods are designed for external use and check statuses / threadsafety properly now, whilst manual loaders are called inside existing ~np~Resource::load()~/np~ call which already does this. * __ Light finding changes __ ** ~np~SceneNode::findLights~/np~ now requires a light list parameter to store results in instead of returning its local light list. ** ~np~SceneNode::findLights~/np~, ~np~SceneManager::_populateLightList~/np~ and Renderable derived classes in the engine core now look at a pre-calculated list of lights that could be affecting the frutum, rather than re-querying the entire light pool every time ** Implementors of custom Renderable instances should now consider implementing their getLights() method in terms of the ~np~MovableObject::queryLights~/np~ method rather than ~np~SceneNode::findLights~/np~. * __Texture changes__ ** ~np~TextureManager::load~/np~, ~np~TextureManager::loadImage~/np~ now have extra parameter ''desiredFormat'' allow describing desired pixel format for create the texture, it's default to PF_UNKNOWN, which means use original input format. ** ~np~TextureManager::enable32BitTextures~/np~ and ~np~TextureManager::isEnable32BitTextures~/np~ was deprecated and replaced with ~np~TextureManager::setPreferredIntegerBitDepth~/np~ and ~np~TextureManager::getPreferredIntegerBitDepth~/np~. There also added new method ~np~TextureManager::setPreferredFloatBitDepth~/np~ and ~np~TextureManager::getPreferredFloatBitDepth~/np~ allow describing preferred float pixel format bit depth. ** ~np~Texture::enable32Bit~/np~ was deprecated, for now should use ~np~Texture::setDesiredIntegerBitDepth~/np~ instead. ** ~np~Texture::setFormat~/np~ behavior changed, in previous version, sets to PF_A8 will treat PF_L8 input format as PF_A8. This function now sets the desried pixel format, which means the internal resource will create with this format instead of original input format (will adjusts to hardware requirements). For treat PF_L8 as PF_A8, you need to call ~np~Texture::setTreatLuminanceAsAlpha~/np~ explicitly. ** ~np~TextureUnitState::setTexture~/np~ default parameters ''mipmaps'' and ''isAlpha'' has been removed, for now you need use ~np~TextureUnitState::setNumMipmaps~/np~ and ~np~TextureUnitState::setIsAlpha~/np~ instead. * __Shadow Texture Changes__ ** You can no longer rely on the naming of shadow textures. To access one, call ~np~SceneManager::getShadowTexture~/np~ instead of trying to access it by name. ** Settings for shadow textures (size, format) are now held in a list so different settings can be used for each. Therefore getShadowTextureSize and getShadowTexturePixelFormat have been removed in favour of iterators over the shadow texture configuration. The equivalent 'set' methods just change the settings for all textures, although you can set the configuration per texture if you need to. ** By default now, casters are rendered into the shadow texture using their back faces only. This has benefits when using depth shadow mapping, and has no effect usually on other types, but it can be turned off by calling ~np~sceneManager->setShadowCasterRenderBackFaces(false)~/np~ if you want to revert to the previous behaviour. * __Skeleton changes__ ** ~np~Skeleton::optimiseAllAnimations~/np~ is now only destroys node track which have identity keyframes only for all animations. ** ANIMBLEND_AVERAGE now only rebalances animation weights when the cumulative weight exceeds 1.0f. Therefore the only difference between ANIMBLEND_CUMULATIVE and ANIMBLEND_AVERAGE is now when you have total animation weights above this value, when all weights will be renormalised to sum to 1.0f. This means you can have weightings under 1.0f in average blending mode which is more convenient. * __Camera changes__ ** The ray from getCameraToViewportRay now originates at the camera near plane rather than the camera position. For picking this is a little more realistic since it will only pick things you can actually see if there are objects behind the near plane * __SceneManager changes__ ** _findVisibleObjects has changed signature, be sure to update your custom SceneManager classes that override this method. It passes a new member, 'visibleBounds' which if non-null must be updated with the bounds of all objects that are found to be visible in the implementation. ~np~SceneNode::_findVisibleObjects~/np~ has changed signature for the same reason. ** OctreeSceneManager no longer supports custom 'CullCamera' option - use the standard ~np~Camera::setCullingFrustum~/np~ method instead * __Pass changes__ ** ~np~Pass::setDepthBias~/np~ now supports 2 parameters, constant and slope-scale biasing. Existing calls should compile without issue since they will use the constant bias value and no slope-scale bias. ** ~np~Pass::setDepthBias~/np~ parameters are now floating point for greater flexibility ** ~np~Pass::getDepthBias~/np~ has been replaced by ~np~Pass::getDepthBiasConstant~/np~ and ~np~Pass::getDepthBiasSlopeScale~/np~ * __Animation changes__ ** ~np~AnimationTrack::getKeyFramesAtTime~/np~, ~np~AnimationTrack::getInterpolatedKeyFrame~/np~, etc now accept ''TimeIndex'' instead of ''Real'' for time position. Note that because TimeIndex can be constructed from Real implicitly, there is (almost) no difference to Dagon. * __RenderWindow changes__ ** ~np~RenderWindow::getCustomAttribute~/np~ now uses WINDOW instead of HWND and GLXWINDOW on all platforms to retrieve the platform specific window identifier. * __Media changes__ ** StdQuad_vp is now 'unified' (see unified high-level programs feature) and uses GLSL on GL by default, Cg version is called StdQuad_Cg_vp. You should change your Cg-specific passes which use it to use the new name. * __GpuProgramParameters changes__ ** ~np~GpuProgramParameters::ConstantDefinition~/np~ no longer exists. You no longer need to use addConstantDefinition when registering a parameter that you'd like to be serialised back to a script later. ** If you need to access named parameter information, there is now GpuConstantDefinition which replaces the above and is automatically populated by all high-level programs. Information includes the array size, element size and data type ** getRealConstantEntry and getIntConstantEntry don't exist anymore. This is because all the params are packed into a raw buffer now. To get a buffer index, use getConstantDefinition(paramname) for named parameters or _getFloat/IntConstantPhysicalIndex for indexed parameters and use the physical index in a call to getFloatBuffer or getIntBuffer. You can read or write float values direct. ** GLSL now packs parameter data tightly, therefore a 'vec3' will only take 3 floats now, it won't be padded to 4 like all other languages do (this allows us to pass arrays of vec/vec2/vec3 etc to GLSL much faster than before). ** If you've been appending '[0]' to the names of array parameters to set them in bulk, you can remove this now. Both 'paramName' and 'paramName[0]' will work fine ** You can only individually address elements of a param array (except [0]) through the name if the array is no larger than 16 elements. Ogre does not populate name lookups for larger arrays due to size issues. You can easily fill the entire array at once using just 'paramName', or get a pointer to the buffer via getFloatPointer and index the pointer to jump to a specific point, there's no need to use separate names. ** Only single-dimension uniform arrays are supported in shaders. If you wanted to do 'uniform float4 something[2][2]', use 'uniform float4 something [4]' instead and address it using a single dimension. Internally the shader would do that anyway. It's important to note that whilst this isn't a specific change (we never supported multidimensional uniform arrays), Ogre may have silently let this pass in previous versions. In Eihort it will potentially cause more problems so avoid. * __Replacement of Ogre Input with ((OIS))__ ** The Ogre Input code has been removed from Eihort and replaced with OIS, an open-source cross-platform input abstraction layer. You can either visit [http://sourceforge.net/projects/wgois|the Sourceforge OIS project page], or look through the Ogre demo source code for information on how to use OIS with your application that previously depended on the Ogre Input code. ((Practical Application - Let's Get Started|Practical Application)) also contains example skeleton code for using OIS with Eihort. * __Removal of PlatformManager with WindowEventUtilities__ ** If you are driving your own main loop and calling renderOneFrame() instead of startRendering(), previously you needed to invoke the window system's message pump using ~np~PlatformManager::messagePump(window)~/np~. In Eihort, you need instead to invoke ~np~WindowEventUtilites::messagePump()~/np~ (in OgreWindowEventUtilites.h). See the ((Practical Application - Let's Get Started|Practical Application)) Wiki articles for an example of how to use this. * __Windows Build Organisation__ ** All libraries are now built into the 'lib' folder underneath the root build folder. You should repoint your linker to this folder rather than OgreMain/lib/$(ConfigurationName) ** All debug binaries and library files now have a '_d' suffix, including plugins. You will need to adjust your plugin loading routines to take this into account ** All libraries now have extra build targets 'DebugStaticLib' and 'ReleaseStaticLib' for building staticly linked versions. The libraries produced have 'Static' appended to them e.g. OgreMainStatic.lib or OgreMainStatic_d.lib. See ((StaticLinking|Statically Linking Ogre)). * __RenderSystem changes__ ** mWorldMatrices has been removed from RenderSystem, customise render system should override ~np~RenderSystem::_setWorldMatrices~/np~ to receive world matrix array if required. * __MSVC2005 users__ You MUST have the Service Pack 1 (SP1) installed for MSVC2005 if you use the prebuilt SDK, or your programs will compile and link, but not run. If you are getting an error message before your application can even start into the call stack that says "The application failed to initialize properly", this is almost certainly the problem. Note that this service pack is different than the ones for Windows XP (which you probably already have unless you've been living under a rock or just reinstalled Windows from an old CD). Microsoft released this service pack December 2006, so unless you've been vigilant in keeping your Microsoft products up to date, you'll need to download and install the SP1 before you get started with Ogre. The SP1 can be found free from [http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx|Microsoft's MSDN]. * __Font changes__ ** ~np~Font::StrBBox~/np~ method has been removed, it was misleading anyway since Font can't know an actual size without context. Use getGlyphInfo instead to calculate any metrics you need. * __ Logging changes__ ** LogListener are no longer added to the LogManager. Instead, addListener and removeListener have been added to ~np~Ogre::Log~/np~. So, you will need to get the log you wish to add a listener to (use getDefaultLog for the main one), messages will no longer be broadcast for all created logs to listeners. Also, the interface is slightly different then previously, please check ~np~Ogre::LogListener~/np~ (in OgreLog.h) class for details * __Archive changes__ ** The 'list' and 'find' methods and derivatives now have an optional 'dirs' parameter, which if set to true lists or finds directories instead of files. !!Annotated roadmap * SSE/SSE2/SIMD optimisations (Owner: Genva) ** CPU detection __[[done]__ ** Aligned memory allocator __[[done]__ ** Software animation routines: *** Software vertex skinning __[[done]__ *** Software vertex morph __[[done]__ *** Batch concatenate affine matrices __[[done]__ ** Shadow volume generate routines: *** Triangles face normal calculation __[[done]__ *** Triangles light facing state calculation __[[done]__ *** Software vertices extruding __[[done]__ * Unicode support __[[done]__ * Improve background loading options (Owner: Sinbad) __[[In progress]__ ** Finalise threading & locking strategies __[[done]__ *** boost::thread, uses relatively fast critical sections rather than kernel mutexes. Discarded spin-lock / interop approaches because they are architecture specific, low-level (errors easier to make) and sometimes unpredictable performance. Performance will be maintained by being careful about lock strategies. *** No generalised thread safety of all objects since locking is not free - use careful strategies to achieve parallism without having to guard everything *** SharedPtr must be thread safe but try to minimise copying *** One background loading thread, one rendering (main) thread - user interaction with objects is assumed to be in main thread except specifically identified patterns *** Use lock-free early-out conditions wherever possible; especially useful with read-only atomic state flags *** Make locks specific to usage category to allow parallism of different usages which are safe to combine ** Queue background operation callback notifications to main thread to simplify use __[[done]__ ** Operations that should be possible in the background: *** Loading of pre-existing unloaded resources (in groups) in background __[[done]__ *** Initialise resource groups / parse scripts (note: creation of resources) __[[in progress]__ *** Creation / destruction of scene object instances *** Manipulation of the scene graph - however locking will be limited to one top-level scene lock (taken out by SceneManager on _findVisibleObjects), to avoid excessive detail locking. Therefore parallism is limited to times when SceneManager is not examining the scene at all. This reduces the parallelism during periods of manipulating the scene graph (rare, and should be at pinch points anyway) in favour of reducing the number of locks needing to be taken out during regular rendering (which is far more common).__[[done]__ * OGRE Unrestricted licensing option ** Replace DevIL (Owner: Sinbad) __[[done]__ *** Use [http://freeimage.sourceforge.net/|FreeImage] for most image loading __[[done]__ *** Write custom DDS codec: **** Cube maps __[[done]__ **** Volume textures __[[done]__ **** Custom mipmaps (for 2D, 3D and cube maps) __[[done]__ **** Compressed DXT1/2/3/4/5 (for 2D, 3D and cube maps) __[[done]__ **** Decompress DXT1/2/3/4/5 (for 2D, 3D and cube maps) __[[done]__ ** Rewrite contributions for which we didn't get license agreement responses: *** [[ 1104900 ] Custom debug log listeners (Owner: pjcast) __[[done]__ ** Finalise Unrestricted License text * Official 3DSMax support (Owner: Sinbad) * SM3.0-specific features ** Vertex textures (Owner: Sinbad) __[[done]__ ** Hardware instancing (Owner: Crashy/tuan, SoC) __[[in progress]__ * ((OIS)) Integration into Example Application Framework (Owner: Pjcast) __[[Done]__ ** Add basic OIS JoyStick use in ExampleFrameListener.h (Owner: Pjcast) * Drop PlatformManager plugin, statically link timer & config dialog for each platform (input will be gone) ** Win32 & Linux (Owner: pjcast) __[[Done]__ ** OSX * Unify RenderWindow::getCustomAttribute for Window handles (ie, instead of "GLXWINDOW" or "HWND", just ask for "WINDOW") (Owner: pjcast) __[[Done]__ * Google Summer of Code project outcomes (TBD) * Content creation supports (Owner: Genva) ** Embed bones hierarchy and initial pose into mesh: allows two version of binding pose, one embed in mesh file and used to transform vertex from model space to bone space; another one keep in skeleton file as previous, used to make animation work. __[[done but abandoned - since tests show harm performance a lot of in the case of sharing skeleton instances]__ ** Tools for merge / split skeleton files __[[in progress]__ ** Skeleton animation optimisation better supports accumulate animation blending __[[done]__ ** Add option to ((OgreXmlConverter|XMLConverter)) allow preserving all identity node tracks. * Material system enhancements ** Select technique / gpu-program context-sensitive (fog setting, max bones per vertex, etc) ** HLSL supports more compile options (Owner: Genva) __[[done]__ * Texture enhancements (Owner: Genva) __[[done]__ ** Option to load texture with desired pixel format instead of original format. __[[done]__ ** Allow describing preferred bit depth for integer and float pixel format respectively in Texture and TextureManager. __[[done]__ ** Support scripting desired pixel format in TUS. __[[done]__ * Mesh changes ** Use VES_TANGENT by default for tangents (better GL shader binding support required) __[[done]__ * Material system Enhancements ** Technique, Pass, and texture unit enable/disable ** Mipmap LOD biasing on TextureUnitState ([http://www.ogre3d.org/phpBB2/viewtopic.php?p=109026)] __[[done]__ ** Materials that have techniques using gpu programs that fail to compile/link use next available technique or fall back to fixed pipeline rendering. Error messages are logged but exception is not raised which could shut down the renderer. __[[done]__ ** make material scripts reloadable without having to unload the materials ** add methods to manipulate order of techniques, passes, texture unit states * GLSL bug fixes ** Support VES_TANGENT and VES_BINORMAL bindings properly __[[done]__ *** Skeletal Animation support (hardware skinning) ** support for uniform arrays & hardware skinning__[[done]__ * Material Script Compiler ** enhance compiler so that it can accept more flexible text source layout __[[on hold: performance and memory problems]__ *** ie ~np~pass (texture_unit decal { texture "my texture.jpg" }}~/np~ *** allow names (includes texture file names) to have spaces - names with spaces have to surrounded with double quotes * Configurable light finding (Owner: Genva) ** Cache lights affecting the frustum in the scene manager. __[[done]__ ** Lights will cache by moveable object instead of by scene node. __[[done]__ ** Add listener to movable object allow callback notify to user to customise light finding. __[[done]__ ** Light finding/caching optimisation: __[[done]__ *** SceneManager tracking all lights that affecting the frustum, if changes detected then increase an internal lights dirty counter. *** MovableObject has a local lights dirty counter, and re-populate light list only if it's difference with SceneManager's. *** MovableObject will sets local lights dirty counter to invalid value to force light list re-populate next time, if: It's being attach/detach from SceneNode. The SceneNode it's attached to has been moved (suggest: if possible, only move outside the range that affect lights finding/sorting will take into account). * Restructure messagePump/Event Procs & add ability to subscribe to window events (Resize/Move/Close/etc) (Owner: Pjcast) __[[Done]__ * Better lighting and shadowing options (Owner: Sinbad) ** Integrate shadow textures into custom material sequences & algorithms instead of just auto-rendering __[[done]__ ** Passes to iterate per 'n' lights __[[done]__ ** Passes to have 'light start' offset __[[done]__ ** Incorporate SoC texture shadowing *** ShadowCameraSetup and PlaneOptimalShadowCameraSetup __[[done]__ *** Depth shadowmaps __[[In progress]__ *** LiSPSM support __[[In progress]__ * Separate & generalise concept of debug rendering from isVisible on Camera etc !!Eihort Dependencies * __New Dependencies__ ** [http://sourceforge.net/projects/wgois|OIS] 1.0 ** [http://freeimage.sourceforge.net/download.html|FreeImage] 3.9 is strongly suggested (required for VC8 and gcc 4.1+), 3.8 may work on other platforms/compilers ** CEGui has been updated to 0.5.x * __Removed__ ** SDL is no longer used under Linux ** DevIL
Search by Tags
Search Wiki by Freetags
Latest Changes
Compiled API Reference
Overlay Editor
Introduction - JaJDoo Shader Guide - Basics
RT Shader System
RapidXML Dotscene Loader
One Function Ogre
One Function Ogre
...more
Search
Find
Online Users
315 online users
OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username
Password
CapsLock is on.
Remember me (for 1 year)
Log in