scrawl
9e53e12c70
More renaming of TextureManager -> ImageManager
9 years ago
scrawl
5ee3d1698f
Remove getWarningTexture in favor of getWarningImage
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
e8662bea31
Change the way that image origin is converted to OpenGL's lower-left convention
...
Flip the texture coordinates instead of flipping textures.
This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
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
scrawl
7d647088ab
Make the local map cell distance configurable
9 years ago
scrawl
bd655c20fd
Refactor local map updates
...
We don't need the delay any more because the rendering itself is part of the normal rendering traversal - so it's delayed anyway.
Don't request maps that we're not actually using (i.e. with cell grid sizes higher than the default 3, we were rendering more maps than the map window could show).
9 years ago
scrawl
aa9905b0eb
Do not crash when the water normal map is missing ( Fixes #3179 )
9 years ago
scrawl
74c18f532e
Fix comment
9 years ago
scrawl
5878291064
Fix the path correction for animation sources provided in NPC record ( Fixes #2444 )
9 years ago
Alexander "Ace" Olofsson
776c715ccd
Move NoTraverseCallback to mwrender/util.hpp
9 years ago
scrawl
aec8c38461
Move observer_ptr include where it belongs
9 years ago
scrawl
fc6fe9acfb
Do not crash ModVertexAlphaVisitor when there are no vertex colors
9 years ago
scrawl
87beb73970
Correction
9 years ago
scrawl
fbf07133ea
Document usage of node masks
9 years ago
scrawl
41c571d4f4
Merge branch 'master' of https://github.com/OpenMW/openmw into lighting
...
Conflicts:
apps/opencs/view/render/instancemode.cpp
9 years ago
scrawl
3089aeccc4
Factor out SceneUtil::addLight
9 years ago
scrawl
438b30d6f0
Move configureLight to a separate file
9 years ago
scrawl
6546c05428
Move Fallback map to components/
9 years ago
scrawl
ca4e859f61
Remove unused argument
9 years ago
scrawl
4690fd3f22
Change the local map exploration radius to better match the original engine
9 years ago
scrawl
446c714727
Fix a possible memory leak in error case
9 years ago
scrawl
daa94cc50e
Fix cppcheck warnings
9 years ago
scrawl
7a2ca5580a
Accept a ConstPtr in RippleSimulation
9 years ago
scrawl
ed101ad35a
Remove redundant getPlayerAnimation function
9 years ago
scrawl
7a8a7e3dd6
Add const version of getAnimation
9 years ago
scrawl
7a4aac1842
Use a ConstPtr for the PtrAnimationMap
9 years ago
scrawl
d3d6a69eea
Merge pull request #862 from scrawl/const
...
ConstPtr
9 years ago
scrawl
1c8244276d
Exception handling improvements (Bug #3090 )
9 years ago
scrawl
c9d02c67c0
Remove unneeded const_cast in TerrainStorage
9 years ago
scrawl
fce43854bc
Fix last commit
9 years ago
scrawl
0a723ab075
Animation: do not assume the object root is a Group
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
scrawl
64424e7262
Move keyframe loading out of SceneManager to new KeyframeManager
9 years ago
scrawl
9bc6f2d5f6
Fix water ripples
9 years ago
Marc Zinnschlag
071ba3a4df
Merge remote-tracking branch 'scrawl/werewolf'
9 years ago
scrawl
07b064f616
Rename to lowerCaseInPlace
9 years ago
scrawl
e520d37c87
Override the field of view for first person meshes ( Fixes #858 , Fixes #3051 )
9 years ago
scrawl
9621b66b78
Move field of view setting to Camera section
9 years ago
scrawl
136a425cec
Use the Werewolf field of view override ( Fixes #3064 )
...
Need to re-run the settings importer for the feature to work.
9 years ago
Paul Cercueil
0765ff3ba2
mwrender: Add missing includes
...
Those missing includes were causing the build to fail when compiled with
USE_GLES set.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
9 years ago
scrawl
67a6a8f5d4
Make projectiles receive lighting
9 years ago
scrawl
3f93af4181
Projectiles interact with the water surface ( Fixes #2986 )
9 years ago
scrawl
8e9571d155
Double buffer the light StateAttributes and StateSets
...
Fixes a race condition where the position of a light could jump a frame ahead.
9 years ago
scrawl
1ec338f19d
Don't attempt to load external keyframes for non-NIF files
9 years ago
scrawl
795f6d77f2
Cache the Animation's Skeleton
9 years ago
scrawl
86881bcf39
In first person mode, attach sound listener to the camera
9 years ago
scrawl
f5f3d18b8e
Add comment
9 years ago
scrawl
576d5111a5
Prefer Intersector::PROJECTION over Intersector::WINDOW
9 years ago
scrawl
0655abcd8b
Fix some character preview raycasting issues (Bug #2769 )
9 years ago
scrawl
d2290a8183
Don't crash when Water_SurfaceFrameCount is 0
9 years ago
Marc Zinnschlag
6facce9d13
Merge remote-tracking branch 'origin/master'
9 years ago
scrawl
a1fa1b2b2e
Don't attempt to open an empty texture
9 years ago
scrawl
35fa1f5865
Not found Land Textures are no longer a fatal error (Bug #3037 )
...
Log warning message and show the default texture when encountering invalid ESM::LandTexture references.
9 years ago
scrawl
5b8fd79b4b
Fix crash when exception is thrown in startNewGame()
9 years ago
scrawl
62169a7039
Use a single-precision PositionAttitudeTransform in speed critical places
9 years ago
scrawl
61314e1db1
Fix bounding box of bullet debug drawer
9 years ago
scrawl
706b1d4c28
Disable culling of ClipNode
9 years ago
scrawl
8c268f239e
Set the object node scale before inserting model
...
This fixes initWorldSpaceParticles not taking object scale into account. Still not taking into account object rotation or node animations. Ideally the initWorldSpaceParticles needs to run in an updateCallback.
9 years ago
scrawl
eb2f16d682
Support for loading .osg mesh format
9 years ago
scrawl
0f347eccbf
Flip the origin of global map texture
...
Now it's consistent with the overlay texture.
9 years ago
scrawl
8b7bdcd127
Fix the global map overlay viewport (Bug #3018 )
9 years ago
scrawl
a68fd791c8
Remove a stray method declaration
9 years ago
scrawl
79c44d0bfe
Style fix
9 years ago
scrawl
02148a43f5
Node mask fix
9 years ago
scrawl
0a52ee17c3
Fix Drawable removal issues
9 years ago
scrawl
afa590bddb
Leak fix
9 years ago
scrawl
c62c1693e9
Disable copy constructor and operator= in PartHolder
9 years ago
scrawl
2e9805fa0e
Leak fix
9 years ago
scrawl
b840c68f0c
Do not create a depth buffer for the global map 2d rendering
9 years ago
scrawl
8e3bc981a2
Fix self-referencing camera
9 years ago
scrawl
0409e5a043
Use OSG_VERSION_GREATER_EQUAL / LESS_THAN rather than MIN_VERSION_REQUIRED (cosmetic change)
9 years ago
scrawl
f1ac408f35
Place Drawables directly in the scene graph when built with OSG 3.4
...
OSG 3.4 adds the ability to place Drawables directly in the scene graph, without a Geode decorating them. Leveraging this should give a small performance boost, because the redundant Geodes increase culling overhead.
There is still an oustanding issue with the RemoveDrawableVisitor no longer working correctly, because Drawables can have multiple parents.
9 years ago
scrawl
35459f20d5
Refactor lighting mask
9 years ago
scrawl
91583fc027
Fix MWRender::Mask_ParticleSystem
9 years ago
scrawl
637cd3a628
Adjust the FirstPersonNeckController to follow the camera with a reduced factor ( Fixes #1784 )
9 years ago
scrawl
1b52749ae1
Adjust third person camera height based on character height
9 years ago
scrawl
055841e721
Improve cloud lighting
9 years ago
scrawl
2407f393ce
Fix double update traversal in screenshot function
9 years ago
scrawl
6e69808129
Fix the frameNumber not being incremented in certain frames
9 years ago
scrawl
c996702b56
Fix some uninitialised variables found by static analysis
9 years ago
scrawl
1cf1c944b7
Don't attempt to render weather particles on the refraction and reflection textures
9 years ago
scrawl
209fa52883
Hide weather particles underwater ( Fixes #2701 )
9 years ago
scrawl
e3b30baff9
clipFudge fix
9 years ago
scrawl
c0a81030bb
Make use of INI settings for the simple water
9 years ago
scrawl
30c828dff0
Include cleanup
9 years ago
scrawl
8e8f72408d
Use diffuse/ambient lighting for the simple water
9 years ago
scrawl
380256977b
Fix another renderBin issue with the weather particles
...
Depth sorting w.r.t. the rest of the scene was broken
9 years ago
scrawl
9902dfc9ef
Comment
9 years ago
scrawl
ad016da31d
Enable fog on weather particles
9 years ago
scrawl
fd1ccd21ff
Disable freezeOnCull for weather particles
9 years ago
scrawl
5ca0ae5232
Don't add the same AlphaFader to multiple nodes
9 years ago
scrawl
d6f45c3390
Fix the renderbin for weather particles
...
Regression from commit 2ee6b41887
9 years ago
scrawl
bd1f3493d7
Fix weather particles not being cleared when changing from one particle effect to another
9 years ago
scrawl
0348b8df1c
Fix applying of plane height in ClipCullNode ( Fixes #2985 )
9 years ago
scrawl
3f988327c7
Destructor fix
9 years ago