Commit Graph

50 Commits

Author SHA1 Message Date
Patrick Hardy
cc63483697 nDisplay: Add light card template feature.
Light cards can be saved to a template. Templates are displayed in a new dockable tab and each template can be dragged into the light card viewport.
Templates can be favorited and filtered.

- Refactor light card editor widget to use internal dockable tabs.
- Change operator details panel to use kismet inspector. This allows components to be hidden.

#jira UE-155429
#rb trystan.binkley-Jone, Alejandro.Arango
#preflight 62aa8f88993682759f3d35c8

[CL 20680389 by Patrick Hardy in ue5-main branch]
2022-06-15 22:18:57 -04:00
trystan binkley-Jone
d88837056b nDisplay: Added orthographic projection mode to the light card editor, as well as options to orient the view to face a particular direction of the stage (top, bottom, left, right, front, back). Also fixed several small bugs, including one where the stage actor proxy would disappear from the viewport when a light card was deleted.
#jira UE-154155
#rb Patrick.Hardy, Alejandro.Arango
#preflight 62a0f1f9593ebacf17e08d05

[CL 20563018 by trystan binkley-Jone in ue5-main branch]
2022-06-08 16:04:36 -04:00
Elliot Colp
1d4f299a33 [WebRemoteControl] WebSocket API for generating DisplayCluster previews
#jira: UE-141883
#rb: Alejandro.Arango
#preflight 62a0e5f7593ebacf17dd4053

[CL 20562205 by Elliot Colp in ue5-main branch]
2022-06-08 15:11:48 -04:00
Elliot Colp
1114acd7e3 [nDisplay] Split nDisplay scene preview rendering into its own module
#jira: UE-145410
#rb: Alejandro.Arango, Patrick.Hardy, trystan.binkley-Jone
#preflight 6298ecb36438e3c7311ab55c

[CL 20472054 by Elliot Colp in ue5-main branch]
2022-06-02 13:21:33 -04:00
Alejandro Arango
8565b40d2b nDisplay: Made the distance from flush a settable property of the light cards called "RadialOffset".
#rb
#jira
#preflight 629570b391004dd61ca8cc20

[CL 20433675 by Alejandro Arango in ue5-main branch]
2022-05-30 21:39:49 -04:00
trystan binkley-Jone
ab20fc60ca nDisplay: Added context menus to the light card list view and the 3D viewport, which contain common editing commands like copy and paste; users can now copy and paste light cards in either view, as well as use common keyboard shortcuts. Also replaced all light card types with specific ADisplayClusterLightCardActor references, as we were implicitly making the assumption all light cards were of that type, but rarely enforcing it
#jira UE-152646
#rb Patrick.Hardy, Alejandro.Aranjo
#preflight 629156f3532586228db0e6a0

[CL 20400812 by trystan binkley-Jone in ue5-main branch]
2022-05-27 19:04:14 -04:00
Alejandro Arango
3de3ec90cb nDisplay: Light card world placement when drawn on the viewport was improved to be based on world positions instead of screen space positions.
This makes it independent of the map projection.

#jira
#rb
#preflight 62906003f6668c14a3c0c019

[CL 20390390 by Alejandro Arango in ue5-main branch]
2022-05-27 01:30:16 -04:00
Leon Huang
19877e39c5 Fix for duplicate localization key warnings and missing localization defines/undefines in various files.
#rnx
#rb: Vincent.Gauthier
#jira: UE-151614
#preflight: 628fc4a98c23e52ef0fdfa7d

[CL 20384450 by Leon Huang in ue5-main branch]
2022-05-26 16:11:10 -04:00
Alejandro Arango
32e241df8f nDisplay: Optimized spin value to minimize area of light card for a given polygon.
This improves the visual quality of the light card. And you end up with smaller light cards.

#rb
#jira
#preflight 628ee9a2f622d972b5b0024a

[CL 20375537 by Alejandro Arango in ue5-main branch]
2022-05-25 23:02:08 -04:00
Alejandro Arango
863164a53b nDisplay: Added ability to draw lightcards on viewport using polygons.
To use, click on the viewport "Draw LC" button, then click on the viewport at the locations where the polygon vertices should exist, then end the polygon with right mouse button. Or abort by toggling the "Draw LC" button.

The polygon is saved in an array in the light card, and is used to generate an alpha texture. This alpha texture is independent of the color texture. This alpha texture is generated dynamically, so there is no need to save it as an asset.

The default generated alpha texture dimensions is 128x128, but can be changed with DC.LightCardPolygonTextureSize.

Currently there is visual indication of the drawing process (other than the mouse becoming a cross and the Draw LC button being highlighted).

#rb trystan.binkley-jone, patrick.hardy
#jira

#preflight 628ec2c289000256cea3ba07

[CL 20373874 by Alejandro Arango in ue5-main branch]
2022-05-25 20:05:36 -04:00
Alejandro Arango
f7b0259a60 nDisplay: Increased LC rotator circle radius and thickness.
Felt it needed to be a bit bigger for ease of use and rotation precision.

#rb
#jira
#preflight

[CL 20313517 by Alejandro Arango in ue5-main branch]
2022-05-21 18:07:12 -04:00
Alejandro Arango
3ad7b8e179 nDisplay: Fix LC Editor proxy DCRA trying to force origin location of LCs in the level.
#jira
#rb
#preflight 628812e418407ba374b256c5

[CL 20304464 by Alejandro Arango in ue5-main branch]
2022-05-20 18:29:01 -04:00
Alejandro Arango
85f548e67a nDisplay: Behavior of moving groups of cards is now more intuitive.
* Fixed sudden spins of lightcards when pushing gizmo near the north and south poles in the LC Editor.
* Fixed translation jumps of grouped LCs when primary one passes through poles in the LC Editor.
* Changed LC positional parameters from float to double

#jira
#rb trystan.binkley-jone
#preflight 6287c9996c7692ac8cc7eac6

[CL 20298457 by Alejandro Arango in ue5-main branch]
2022-05-20 13:41:30 -04:00
trystan binkley-Jone
343fd8a99b nDisplay: Added logic to the light card actor's tick that locks its world position and rotation to the stage actor that "owns" the light card.
#jira UE-147806
#rb Patrick.Hardy, Alejandro.Arango
#preflight 6287be9e5b568e5761fc9ad4

[CL 20297055 by trystan binkley-Jone in ue5-main branch]
2022-05-20 12:39:33 -04:00
Alejandro Arango
589a706995 nDisplay: Lightcards can now be moved w/o apparent spin when using the widget center.
This is particularly useful when nudging the lightcards around the center of the ceiling.

This spin compensation is not activated when using the lat/long axes individually.

#jira
#rb trystan.binkley-jone
#preflight 628469dff669ec590276baa2

[CL 20255919 by Alejandro Arango in ue5-main branch]
2022-05-17 23:40:53 -04:00
trystan binkley-Jone
caf18ef0bf nDisplay: Added rotation mode to Light Card Editor widget that allows users to change the spin of the selected light cards by clicking and dragging on the widget. Also fixed issue where axes of widget weren't rendering in the right direction in azimuthal projection mode.
#jira UE-152622
#rb Patrick.Hardy, Alejandro.Arango
#preflight 62845e1bf669ec59027353c2

[CL 20255330 by trystan binkley-Jone in ue5-main branch]
2022-05-17 22:58:35 -04:00
trystan binkley-Jone
dd690744f1 nDisplay: Added ability to scale light cards in light card editor with scale widget that closely resembles the scaling gizmo used elsewhere in Unreal Editor. Also fixed several issues with transform widget rendering, including correct scaling with viewport size and DPI, as well as fixing frame lag when in azimuthal mode when moving the view around.
#jira UE-145408
#rb Patrick.Hardy
#preflight 62829274216d06861f3a08b7

[CL 20228438 by trystan binkley-Jone in ue5-main branch]
2022-05-16 14:25:25 -04:00
Alejandro Arango
e6c4535815 nDisplay: LC Editor now uses a subdivided plane to mitigate map projection straight light artifacts.
nDisplay proper still uses undivided planes.

#rb
#jira
#preflight 627f3dab0c3e6160c9d2b873

[CL 20193850 by Alejandro Arango in ue5-main branch]
2022-05-14 03:02:26 -04:00
Alejandro Arango
3f582e7ab5 nDisplay: LC proxy xform propagation now includes missing actor rotation.
#jira
#rb
#preflight 627ea7fb9650a27733a040bd

[CL 20186256 by Alejandro Arango in ue5-main branch]
2022-05-13 14:57:30 -04:00
Alejandro Arango
f276fc8cc9 nDisplay: New lightcards now spawn in the middle of the LC Editor view.
#rb trystan.binkley-Jone
#jira
#preflight 6279ae175b16ddee36dba67d

[CL 20115280 by Alejandro Arango in ue5-main branch]
2022-05-09 20:51:41 -04:00
zach bethel
a574adf6d5 Deprecated RHICreateTargetableShaderResource utility method, since it's not actually used to create multisampled resources. Removed instances where it appeared multiple textures were being created, but only one was actually created. Cleaned up FTextureRenderTargetResource derived classes to use TextureRHI and TextureRenderTargetRHI.
#preflight 62798ef94561731dbe14105b
#rb christopher.waters

[CL 20113900 by zach bethel in ue5-main branch]
2022-05-09 19:27:51 -04:00
lauren barnes
4b82e918fa Replacing legacy EditorStyle calls with AppStyle
#rb header and class name replacement

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20078276 via CL 20078825
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20106316 by lauren barnes in ue5-main branch]
2022-05-09 13:51:26 -04:00
Patrick Hardy
925f2799c1 nDisplay: Fix operator details panel closing on modifying light cards. The previous light card selection is now maintained when switching to a new root actor if they share light cards.
#jira UE-150144
#rb alejandro.arango
#preflight 627730a8575650bb71f0e01a

[CL 20098237 by Patrick Hardy in ue5-main branch]
2022-05-07 22:57:15 -04:00
Alejandro Arango
83a3214411 nDisplay: Add New LC now parents under root actor.
Since the typical intention is for it to move with the stage.

#rb
#jira
#preflight 6275cd704e3d72d14a21c378

[CL 20087904 by Alejandro Arango in ue5-main branch]
2022-05-06 21:43:21 -04:00
Patrick Hardy
8ee1d81aa5 nDisplay: Implement auto tilt and auto pan in the light card editor. Implemented ResetCamera command to restore rotation and FOV.
#jira UE-135885
#rb trystan.binkley-Jone
#preflight 6273dca76a646b1d15438947

[CL 20057445 by Patrick Hardy in ue5-main branch]
2022-05-05 10:22:51 -04:00