Commit Graph

551 Commits (coverity_scan)

Author SHA1 Message Date
scrawl 00d4fea91c Derive Animation from osg::Referenced to allow the UnrefQueue to delete it 8 years ago
scrawl a5247394dc (Re)set the inventory listener outside of the Animation class 8 years ago
scrawl 8f79fa3d72 Add resource statistics panel opened with F4 8 years ago
scrawl f10edb71cc Add environment variable for disabling IncrementalCompileOperation 8 years ago
scrawl 026a05718f Construct the WorkQueue in Engine 8 years ago
scrawl d141b98f0c Add base animations to preloadCommonAssets 8 years ago
scrawl 249fe9077b Handle 'tcb' command as an alias for 'tcg' 8 years ago
scrawl 884d306bf3 Throw exception when told to use 0 threads 8 years ago
scrawl 2db7292bcb Add new setting for the number of preloading worker threads
If you have CPU cores to spare, consider setting 2 or 3. Up to about 3 threads, preloading performance seems to increase in a linear fashion, but with 4 or more threads I/O bottlenecks and synchronization overhead starts to show.
8 years ago
scrawl c5f8ff6e0e Add names to several nodes for debugging purposes 8 years ago
scrawl fcb4129aee Add 'small feature culling pixel size' setting 8 years ago
scrawl 960d4a96c3 Reduce the number of osg::Material state by setting the default state on the graph root 8 years ago
scrawl 34deb6e7b1 Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 8 years ago
Allofich 19db070fca Don't update ripple simulation when paused 8 years ago
Allofich 01774c656c Fix for blood effect texture overrides 8 years ago
scrawl b2ae45f0eb Remove unneeded setGraphicsContext() calls 9 years ago
scrawl 71f786ff84 Delete the WorkQueue first
Fixes a potential crash on exit.
9 years ago
scrawl 6f376bd499 Merge pull request #983 from Allofich/telekinesis
Don't allow telekinesis on actors or teleport doors
9 years ago
Allofich 538209b0a2 Change variable to mRatio and initialize it 9 years ago
Allofich 64d53a2314 Avoid double raycasts when using getFacedObject 9 years ago
scrawl 252b27f0ef Remove getEyePos() 9 years ago
scrawl 59cfcb38e2 Scale the sunlight specular color by weather's GlareView value (Fixes #3375) 9 years ago
scrawl 157c11398d Add terrain parallax mapping 9 years ago
scrawl 0db7163363 Add specular mapping for terrain 9 years ago
scrawl f01e8a6950 Add specular mapping for objects 9 years ago
scrawl 5cf2441b10 ShaderVisitor: support automatic recognition of normal maps based on file pattern
Introduce new settings 'auto use object normal maps', 'auto use terrain normal maps', 'normal map pattern'
9 years ago
scrawl 6a0ac824bd Fix terrain error in OpenCS 9 years ago
scrawl a73512afb7 Add shader settings to settings.cfg 9 years ago
scrawl a9ad1b09e2 Introduce ShaderManager & ShaderVisitor
Actual shaders still to be written.
9 years ago
scrawl e05d975020 Change the way that texture filtering settings are applied at runtime 9 years ago
scrawl d3808580b0 Rename lightRoot to sceneRoot 9 years ago
scrawl 0865cea211 Preload terrain 9 years ago
scrawl 1457a0de78 Use the UnrefQueue to delete BulletShapeInstances 9 years ago
scrawl d11c2864df Introduce UnrefQueue to handle the deleting of no longer needed objects in the background thread 9 years ago
scrawl 1cda2bf796 Preload sky & water from the main menu 9 years ago
scrawl f9082502f8 Move construction of WorkQueue to RenderingManager 9 years ago
scrawl d855a13b44 Clear the resource cache from the worker thread 9 years ago
scrawl df57d4bfba Use a common base class for resource managers
Implement updateCache to delete unreferenced cached objects when they have not been referenced for a while.
9 years ago
scrawl 499beda665 Clear terrain texture cache before applying filter settings 9 years ago
scrawl f99f403dda Rename TextureManager to ImageManager 9 years ago
scrawl 6ef848b7c5 Remove TextureManager::getTexture2D
Instead use getImage and let the caller create the Texture. Sharing of textures is then handled in post by the SharedStateManager.

This is closer to what the OSG serializer does.

Streamlines the TextureManager and will make it easier to multithread.
9 years ago
scrawl 5b972ee777 Move texture filtering settings to SceneManager
Practical benefits:

- Filter settings are now applied to native OSG format models. These models do not use TextureManager::getTexture2D since the model itself specifies a Texture.
- The GUI render manager will be able to use its own separate textures, making it easier to turn off filtering for them.
9 years ago
Alexander "Ace" Olofsson 776c715ccd Move NoTraverseCallback to mwrender/util.hpp 9 years ago
scrawl 6546c05428 Move Fallback map to components/ 9 years ago
scrawl ed101ad35a Remove redundant getPlayerAnimation function 9 years ago
scrawl 7a8a7e3dd6 Add const version of getAnimation 9 years ago
Chris Robinson f1faeeae3a Use separate config options for min and mag texture filters 9 years ago
Chris Robinson 5c0a847eaf Combine some duplicate code 9 years ago
Chris Robinson b830a413d3 Rename the texture filter options
To avoid compatibility issues with upgrading from or downgrading to older
builds.
9 years ago
Chris Robinson 76bde5ee13 Separate and expand texture filtering options 9 years ago