Capostrophic
957d2a890f
Ignore empty children of osg::LOD and osg::Switch like in OSG
2020-04-30 15:04:58 +03:00
Capostrophic
63fe02b1ba
CollisionSwitch and Switch/LOD node fixes
...
Properly apply transformations to both switch and LOD nodes
Allow both NiSwitchNode and NiLODNode to be the root node
Properly add CollisionSwitch into the scene graph
2020-04-30 15:04:57 +03:00
Bret Curtis
7345c89b54
Merge pull request #2813 from Capostrophic/collisionswitch
...
Fix collision switch node mask (again)
2020-04-30 13:50:09 +02:00
Capostrophic
89282d14aa
Fix collision switch node mask (again)
2020-04-29 17:18:39 +03:00
elsid
899a6b5aa3
Workaround for GCC 5 bug
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61636
2020-04-29 13:54:52 +02:00
psi29a
476a74c2d3
Merge branch 'bzzt_5_tight_scene_bound' into 'master'
...
Allow use of OSG's Bounding Volumes
See merge request OpenMW/openmw!189
2020-04-29 07:44:03 +00:00
Alexei Dobrohotov
0329003af7
Merge branch 'opcode2' into 'master'
...
Remove 2-arguments opcodes
See merge request OpenMW/openmw!187
2020-04-29 07:36:14 +00:00
Bret Curtis
9bad3666ab
Merge pull request #2810 from Capostrophic/hasviscontroller
...
Fix hidden node with NiVisController optimization
2020-04-29 07:10:44 +02:00
Bret Curtis
d77047e1cf
tab2space
2020-04-28 13:16:37 +02:00
Capostrophic
3b7fb9ec09
Use pipe-equal operator
2020-04-28 10:00:46 +03:00
psi29a
9ab6657d8f
Merge branch 'no_more_ttf_spam_in_stats' into 'master'
...
puts an end of error spam when OSG is compiled without Freetype support
See merge request OpenMW/openmw!188
2020-04-27 19:29:29 +00:00
Bret Curtis
31a75a962a
Add 3 additional classes to be ignored who dumping "showscenegraph" debug output; less spammy
2020-04-27 11:56:10 +02:00
Bret Curtis
ca0adc25bb
add two additional classes we do not need to serialize; less pam during showscenegraph
debug dump.
2020-04-27 11:51:18 +02:00
Bret Curtis
886b9813ad
Something changed in OSG 3.6 that makes the command "showscenegraph" less useful; it writes out raw data of images to the debug output file openmw.ogst. This commit adds the hint and restores default behaviour found in OSG 3.4
2020-04-27 11:40:49 +02:00
bzzt
dc33eeadf1
tightscenebound is uncessary after water bbfix
2020-04-27 08:42:46 +02:00
Bret Curtis
1870b4b345
catch and set with no _found; leave empty as empty string
2020-04-27 08:02:42 +02:00
Capostrophic
bbd15cccd5
Fix hidden node with NiVisController optimization
2020-04-27 00:21:34 +03:00
Bret Curtis
6d3f9ce307
puts an end of error spam when OSG is copmiled without Freetype support
2020-04-26 22:20:57 +02:00
Alexei Dobrohotov
d42cb4f16d
Merge pull request #2805 from elsid/detournavigator_update_callback
...
Use callback to handle changed tiles
2020-04-26 22:52:40 +03:00
Alexei Dobrohotov
f5b42107d3
Merge pull request #2807 from elsid/detournavigator_thread_jobs_stats
...
Add number of thread jobs to update jobs stats
2020-04-26 22:44:59 +03:00
fredzio
916a9641fc
Delete support for 2-arguments opcodes - it was never used
2020-04-26 00:56:11 +02:00
elsid
df6e85b619
Use callback to handle changed tiles
...
Instead of collecting changed tiles into a temporary vector.
2020-04-25 17:56:41 +02:00
elsid
7502db1570
Add number of thread jobs to update jobs stats
2020-04-25 17:51:50 +02:00
elsid
c59c8ae1f4
Remove unused macro
2020-04-24 20:38:55 +02:00
psi29a
3b9a51b8ac
Merge branch 'bzzt_1_waterculling' into 'master'
...
waterculling
See merge request OpenMW/openmw!184
2020-04-24 10:38:16 +00:00
Bret Curtis
e7795f2bf7
Merge pull request #2775 from Capostrophic/dooractivation
...
Only disarm traps with keys when the door/container is locked (bug #5370 )
2020-04-24 08:46:24 +02:00
Bret Curtis
ed970f4d17
Apply suggestion to components/terrain/terraingrid.hpp
2020-04-24 06:26:08 +00:00
elsid
7aaec5e989
Log shader template name on parse error
2020-04-23 19:52:17 +02:00
Bret Curtis
756ec7117b
make mGrid (and friends) private again, create accessor method to return bool of mGrid.empty()
2020-04-23 17:40:10 +02:00
Bret Curtis
48713915cb
re-use bzzts waterplane overlay for debug; makes it easier to test. To use this, set the env OPENMW_WATER_CULLING_DEBUG=1; You will see blue rectangles corresponding to water outlines. Once there are no more outlines, water is culled. You can further see this by pressing F3 3 times to check the the amount of quads. Before culling it should be around 1600, after culling it should drop to 0.
2020-04-23 11:12:10 +02:00
Bret Curtis
407fbe320e
cleanup and use C++ version of FLT_MAX
2020-04-23 10:10:50 +02:00
bzzt
ed20d869b4
waterculling for both terrain
2020-04-23 08:53:21 +02:00
Bret Curtis
a4d1068d1a
Merge branch '13' into 'master'
...
terrainshadowclusterculling
See merge request OpenMW/openmw!141
2020-04-22 21:42:50 +00:00
Bret Curtis
68549828b4
create static functions to set/get hidden node mask; compromise on magic numbers to make things easier to understand
2020-04-22 13:34:19 +02:00
Bret Curtis
e1a5435531
Merge commit '8a8107e8'
2020-04-22 13:22:54 +02:00
Capostrophic
9106e3646c
Fix outdated bug tracker links
2020-04-22 01:45:11 +03:00
Chris Djali
71c46204ec
Merge pull request #2781 from mp3butcher/partsysfix
...
Particle System shading and lighting (fixing bug#3676 and #4949 )
2020-04-20 21:29:50 +01:00
Julien Valentin
886fd5efc9
enable particle shading and force particle normal to (0.3,0.3,0.3)
...
and update changelog
2020-04-20 22:15:34 +02:00
Bret Curtis
8a8107e837
as it says; revert vismask and uncomplicate openmw
2020-04-20 20:57:38 +02:00
Bret Curtis
63bdc84f91
Merge branch 'remove_evil_const_cast' into 'master'
...
clean up code; purge const_cast
See merge request OpenMW/openmw!175
2020-04-20 09:22:34 +00:00
Bret Curtis
7ade0cb2c3
Merge pull request #2784 from Capostrophic/specular
...
Disable specular lighting for 4.0.0.2 and earlier files
2020-04-19 22:21:20 +02:00
fredzio
0630cc482c
Compile helpviewer in components only when USE_QT is defined
...
It fixes build of OpenMW alone (wihtout launcher or OpenCS)
2020-04-19 19:37:40 +02:00
Bret Curtis
8c2f3ff007
clean up code; purge const_cast
2020-04-19 16:31:54 +02:00
Bret Curtis
4ae0bd1fae
Merge branch 'helplink' into 'master'
...
Link to readthedocs documentation from OpenCS
See merge request OpenMW/openmw!171
2020-04-18 20:54:21 +00:00
Frederic Chardon
513ac8986d
Add link to opencs documentation on readthedocs, available through
...
context menu.
The documentation opens in default browser.
There are 3 contexts:
- global: opens the OpenMW CS User Manual main page
- when a record is selected: opens the "Tables" page
- when the filter field is selected: opens the "Record Filters" page
There is also a link to the OpenCS tutorial in the help menu.
2020-04-18 20:54:21 +00:00
AnyOldName3
1cf2036386
Don't add empty PrimitiveSets (prevent undefined behaviour)
2020-04-18 02:38:20 +01:00
Capostrophic
c3cc8ee1e1
Disable specular lighting for 4.0.0.2 and earlier files
2020-04-17 14:08:29 +03:00
Julien Valentin
6e2a651252
fix particle alpha
2020-04-16 02:48:42 +02:00
Capostrophic
bbed9a70c5
Ignore traps of initially unlocked refs with assigned keys
2020-04-14 17:49:03 +03:00
elsid
208a50340d
Specialize DetourNavigator::ObjectId ctor for pointers
...
To fix msvc error:
components\detournavigator\objectid.hpp(14,13): error C2440: 'reinterpret_cast': cannot convert from 'const T' to 'size_t'
with
[
T=unsigned long
]
2020-04-13 20:48:34 +02:00