Changesets: DarkRadiant

materialeditor 31d3a92e

2021-02-14 12:38:11

greebo

Details Diff
0005532: WIP work on the XRC file Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
add - install/ui/materialeditor.xrc Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File

master b4dc4cbd

2021-02-13 19:35:56

orbweaver

Details Diff
Add test for the "overrideLightColour" registry key

Confirm that a light wireframe is rendered with a default shader (based on the
entity class) if the registry key is set, then reverts to using the _color key
once the registry key is cleared.
Attach Issues:
mod - libs/registry/CachedKey.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - radiantcore/entity/light/LightNode.h Diff File
mod - test/Entity.cpp Diff File

master 226163a4

2021-02-13 19:05:55

orbweaver

Details Diff
Add test for light volume colour

Test that the colour of the shader used to render the light wireframe defaults
to white and changes with the _color key.
Attach Issues:
mod - test/Entity.cpp Diff File

master e52ceae8

2021-02-12 20:18:20

orbweaver

Details Diff
Add test for light wireframe shader

Since the Shader interface doesn't expose very much information that can be
examined in tests, the shader system now attaches an internal dummy Material to
any shader which doesn't have a Material of its own. Currently this internal
Material only exposes the name used to construct the shader, and it is this
which is tested to confirm that the light wireframe shader matches the
editor_color value.

In order to make it easier to construct this new InternalMaterial class, all
public virtuals on the Material interface are now non-pure, with empty default
implementations. This in turn required a couple of method signatures to be
changed to return by value rather than by const reference.
Attach Issues:
mod - include/ieclasscolours.h Diff File
mod - include/ishaders.h Diff File
mod - libs/wxutil/preview/GuiRenderer.cpp Diff File
mod - radiantcore/eclass/EClassColourManager.cpp Diff File
mod - radiantcore/eclass/EClassColourManager.h Diff File
mod - radiantcore/eclass/EClassManager.cpp Diff File
mod - radiantcore/model/export/WavefrontExporter.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - test/Entity.cpp Diff File
mod - test/Materials.cpp Diff File

materialeditor 0269d29d

2021-02-12 07:35:17

greebo

Details Diff
0005532: Add MaterialTreeView to the editor window Affected Issues
0005532
mod - install/ui/materialeditor.fbp Diff File
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File

materialeditor eb8123cf

2021-02-12 07:26:01

greebo

Details Diff
0005532: Introduce an intermediate MaterialTreeView which is just displaying the materials without any default context menu actions.
MediaBrowserTreeView is inheriting MaterialTreeView to add the pieces needed for the Media Browser tab.
Affected Issues
0005532
mod - radiant/CMakeLists.txt Diff File
add - radiant/ui/common/MaterialPopulator.cpp Diff File
add - radiant/ui/common/MaterialPopulator.h Diff File
add - radiant/ui/common/MaterialTreeView.cpp Diff File
add - radiant/ui/common/MaterialTreeView.h Diff File
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp Diff File
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

master b8dbc7d0

2021-02-12 05:40:06

greebo

Details Diff
0002132: Don't draw the grid in lighting mode due to overdraw effects Affected Issues
0002132
mod - radiant/camera/CamWnd.cpp Diff File

master d82be950

2021-02-12 04:51:33

greebo

Details Diff
0000994: Adjust VC++ projects Affected Issues
0000994
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File

master f2ac15de

2021-02-12 04:40:12

greebo

Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'

# Conflicts:
# radiantcore/selection/RadiantSelectionSystem.cpp
Attach Issues:
mod - .gitignore Diff File
mod - debian/changelog Diff File
mod - debian/control Diff File
mod - include/ieclass.h Diff File
mod - include/ientity.h Diff File
mod - include/inode.h Diff File
mod - include/irender.h Diff File
mod - include/irenderable.h Diff File
mod - include/itransformnode.h Diff File
mod - install/bitmaps/view_show_lightradii.png Diff File
mod - install/bitmaps/view_show_speakerradii.png Diff File
mod - libs/scene/Node.cpp Diff File
mod - libs/scene/Node.h Diff File
mod - libs/string/replace.h Diff File
mod - libs/transformlib.h Diff File
mod - radiantcore/CMakeLists.txt Diff File
mod - radiantcore/eclass/Doom3EntityClass.cpp Diff File
mod - radiantcore/eclass/Doom3EntityClass.h Diff File
add - radiantcore/entity/AttachmentData.cpp Diff File
add - radiantcore/entity/AttachmentData.h Diff File
mod - radiantcore/entity/EntityModule.cpp Diff File
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
mod - radiantcore/entity/KeyObserverMap.h Diff File
mod - radiantcore/entity/NameKey.h Diff File
mod - radiantcore/entity/NamespaceManager.cpp Diff File
mod - radiantcore/entity/NamespaceManager.h Diff File
mod - radiantcore/entity/doom3group/Doom3Group.cpp Diff File
mod - radiantcore/entity/doom3group/Doom3Group.h Diff File
mod - radiantcore/entity/doom3group/Doom3GroupNode.cpp Diff File
mod - radiantcore/entity/eclassmodel/EclassModelNode.cpp Diff File
rm - radiantcore/entity/generic/GenericEntity.cpp Diff File
rm - radiantcore/entity/generic/GenericEntity.h Diff File
mod - radiantcore/entity/generic/GenericEntityNode.cpp Diff File
mod - radiantcore/entity/generic/GenericEntityNode.h Diff File
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - radiantcore/entity/light/LightNode.h Diff File
mod - radiantcore/entity/speaker/SpeakerNode.cpp Diff File
mod - radiantcore/entity/target/TargetableNode.cpp Diff File
mod - radiantcore/entity/target/TargetableNode.h Diff File
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp Diff File
mod - radiantcore/selection/RadiantSelectionSystem.cpp Diff File
mod - test/CMakeLists.txt Diff File
mod - test/ColourSchemes.cpp Diff File
add - test/Entity.cpp Diff File
mod - test/Favourites.cpp Diff File
mod - test/MapSavingLoading.cpp Diff File
mod - test/RadiantTest.h Diff File
mod - test/math/Matrix4.cpp Diff File
mod - test/math/Plane3.cpp Diff File
mod - test/math/Quaternion.cpp Diff File
mod - test/math/Vector3.cpp Diff File
add - test/resources/tdm/def/base.def Diff File
mod - test/resources/tdm/def/lights.def Diff File
add - test/resources/tdm/def/lights_static.def Diff File
add - test/resources/tdm/def/tdm_ai.def Diff File
add - test/resources/tdm/models/torch.lwo Diff File

master 2e35762c

2021-02-11 19:58:50

orbweaver

Details Diff
Skip rendering attachments at joint positions

Since we aren't yet handling the joint location correctly, attachments to
joints show up in weird positions (such as weapon appearing in front of an AI's
feet). For now we just skip rendering attachments altogether if they have a
"joint" parameter set.
Attach Issues:
mod - radiantcore/entity/EntityNode.cpp Diff File

master 39250cbd

2021-02-11 18:20:03

greebo

Details Diff
0005534: Re-associate the model in UpdateTreeVisibility in wxGTK < 3.0.5 to fix the blank tree views after typing Affected Issues
0005534
mod - libs/wxutil/dataview/ResourceTreeView.cpp Diff File

master df126d90

2021-02-10 21:18:40

orbweaver

Details Diff
Entity::Attachment now provides joint information

Pass the already-parsed joint value from AttachmentData to the
Entity::Attachment functor parameter, and confirm this in the unit test of the
builder_guard AI.
Attach Issues:
mod - include/ientity.h Diff File
mod - radiantcore/entity/AttachmentData.h Diff File
mod - test/Entity.cpp Diff File

master aaf51345

2021-02-10 21:03:17

orbweaver

Details Diff
Add test for builder guard entity

Test constructing a more complex entity with an attachment (hammer attached to
a joint on the back; currently shows on floor in front of feet due to lack of
parsing of joint information).
Attach Issues:
mod - test/Entity.cpp Diff File
add - test/resources/tdm/def/tdm_ai.def Diff File

master 0ce5666d

2021-02-10 20:33:14

orbweaver

Details Diff
0005534: EntityClassChooser is no longer a static singleton

Since populating the tree for this dialog is very quick, there is no benefit in
keeping a singleton around. Creating a new dialog each time requires much less
code and also fixes the major issue described in 0005534, namely that the dialog
is always empty on its second showing.

There is still a problem with the search feature (at least on Linux), which
results in the tree view becoming empty as soon as any text is entered in the
search box. However it is at least now possible to resume normal service by
closing the dialog and showing another one.
Affected Issues
0005534
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - libs/wxutil/EntityClassChooser.h Diff File

master fd4b5f94

2021-02-10 20:33:14

orbweaver


Committer: greebo Details Diff
0005534: EntityClassChooser is no longer a static singleton

Since populating the tree for this dialog is very quick, there is no benefit in
keeping a singleton around. Creating a new dialog each time requires much less
code and also fixes the major issue described in 0005534, namely that the dialog
is always empty on its second showing.

There is still a problem with the search feature (at least on Linux), which
results in the tree view becoming empty as soon as any text is entered in the
search box. However it is at least now possible to resume normal service by
closing the dialog and showing another one.
Affected Issues
0005534
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - libs/wxutil/EntityClassChooser.h Diff File

materialeditor 9ed05927

2021-02-10 08:29:13

greebo

Details Diff
0005532: Close button, empty preview widget Affected Issues
0005532
mod - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File

materialeditor 252ea449

2021-02-10 06:37:35

greebo

Details Diff
0005532: Copy the particle editor XRC file to use that as launchpad Affected Issues
0005532
add - install/ui/materialeditor.fbp Diff File
mod - radiant/CMakeLists.txt Diff File
add - radiant/ui/materials/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/MaterialEditor.h Diff File
mod - radiant/ui/materials/MaterialEditorModule.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

materialeditor 59b1b754

2021-02-10 04:22:10

greebo

Details Diff
0005532: Add the module and command/menu bindings Affected Issues
0005532
mod - radiant/CMakeLists.txt Diff File
add - radiant/ui/materials/MaterialEditor.h Diff File
add - radiant/ui/materials/MaterialEditorModule.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

master b6b8c2f2

2021-02-09 20:32:08

orbweaver

Details Diff
Remove obsolete Node::setTransformChangedCallback()

This callback mechanism seems to have only been used by the now-removed light
list system.
Attach Issues:
mod - libs/scene/Node.cpp Diff File
mod - libs/scene/Node.h Diff File

master aab26c88

2021-02-09 20:25:39

orbweaver

Details Diff
Tweaks to new light/speaker radius icons

Try to improve visibility and sharpness by avoiding subtle curves at the
corners, although it's still challenging to make an image readable with only 16
pixels to work with.
Attach Issues:
mod - install/bitmaps/view_show_lightradii.png Diff File
mod - install/bitmaps/view_show_speakerradii.png Diff File

master 42b1d0b5

2021-02-09 19:54:58

orbweaver

Details Diff
Broadcast transformChanged() to attached entities

Attached light now moves with the parent entity, which did not happen before
because the attached entity's transformChanged() method was never called to
invalidate its localToWorld when the parent entity moved.
Attach Issues:
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
mod - test/Entity.cpp Diff File

master a362d0f6

2021-02-09 19:38:33

greebo

Details Diff
0005530: Fix ParticlePreview grid origin moving around due to changing particle bounds. Tied it to the 0,0,0 origin. Affected Issues
0005530
mod - libs/wxutil/preview/ParticlePreview.cpp Diff File
mod - libs/wxutil/preview/ParticlePreview.h Diff File
mod - libs/wxutil/preview/RenderPreview.cpp Diff File
mod - libs/wxutil/preview/RenderPreview.h Diff File

master 070757c3

2021-02-09 19:21:30

orbweaver

Details Diff
Add a test for a func_static's localToWorld()

Confirm that the localToWorld matrix reflects changes in the "origin" key.
Attach Issues:
mod - test/Entity.cpp Diff File

master fc6119c6

2021-02-08 20:08:38

orbweaver

Details Diff
Add failing test for moving attached light

This test provokes similar behaviour to that seen in the application, whereby
the attached light appears at the correct position initially but does not move
when the main entity is dragged.
Attach Issues:
mod - test/Entity.cpp Diff File

master 42cb0d2c

2021-02-07 20:53:33

orbweaver

Details Diff
Move MatrixTransform up to IEntityNode interface

Avoid a new dynamic_cast in EntityNode's attachment handling by migrating the
MatrixTransform interface up to IEntityNode, so that localToParent() is
accessible as soon as the IEntityNodePtr has been created by the entity module.
Attach Issues:
mod - include/ientity.h Diff File
mod - include/itransformnode.h Diff File
mod - libs/transformlib.h Diff File
mod - radiantcore/entity/EntityNode.cpp Diff File
mod - radiantcore/entity/EntityNode.h Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 22 23 24 25 26 27 28 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 127 128 129  Next  Last