Commit Graph

560 Commits

Author SHA1 Message Date
CrushedPixel
a46a223070 Cleaned up OpenGL calls in CustomObjectRenderer and PathPreviewRenderer 2015-07-17 13:33:54 +02:00
johni0702
fdd2c7ecf7 Allow all camera rotation axis to be ignored separately during rendering 2015-07-17 12:43:46 +02:00
CrushedPixel
d360ee5e2e Moved Add and Remove Buttons in GuiObjectManager 5px upwards 2015-07-17 12:27:55 +02:00
CrushedPixel
7094a18106 Close Toolbar in GuiReplayOverlay when GuiMouseInput is closed 2015-07-17 12:16:10 +02:00
CrushedPixel
efd82861c2 Rename mislabeled TimestampUtils#getMinutesFromTimestamp Method to TimestampUtils#timestampToWholeMinutes 2015-07-17 12:16:09 +02:00
johni0702
71952e94dd Fix getCameraEntity not being thread safe (concurrent event registration) even though called from multiple threads 2015-07-17 11:48:55 +02:00
CrushedPixel
a55173ffc7 Marker Keyframes are initially selected after creating them and get properly deselected when removing them 2015-07-17 02:30:23 +02:00
CrushedPixel
0614b5e750 Prevent "Synchronize Timelines" feature from exceeding the Keyframe Timeline length 2015-07-17 02:25:51 +02:00
CrushedPixel
21938250f6 Keyframe Timeline Length is a Magic Constant 2015-07-17 02:25:29 +02:00
CrushedPixel
d708360c63 Render Camera Indicator in lower right corner if Path Preview is active 2015-07-17 02:12:40 +02:00
CrushedPixel
028b7ff7b7 Added consistency to naming of Keybindings 2015-07-17 01:26:41 +02:00
CrushedPixel
a7cf488d0b Reorder custom Replay Mod Keybindings for better display in GuiReplayOverlay 2015-07-17 01:26:11 +02:00
CrushedPixel
0ae8e9583a Add Toolbar to GuiReplayOverlay, showing all Keybindings as handy buttons 2015-07-17 01:25:50 +02:00
CrushedPixel
154f3e3c04 Do not show Clear Keyframe Callback if no Keyframes present 2015-07-17 01:25:13 +02:00
CrushedPixel
e0dec32b1d Updated TimestampUtils#getMinutesFromTimestamp, allowing the returned value be higher than 60 2015-07-16 22:57:59 +02:00
CrushedPixel
238acf2eca Initially validate inputs in GuiRenderSettings 2015-07-16 22:04:06 +02:00
CrushedPixel
9ba99d1794 Added restriction for Encoding Presets with the yuv420 setting (width and height have to be even numbers) 2015-07-16 21:56:29 +02:00
CrushedPixel
da82e3e1f2 Draw Elements in GuiRenderSettings in the correct order 2015-07-16 21:09:58 +02:00
CrushedPixel
af3ca17bcd Fixed Encoding Presets to allow for whitespaces in the File Name 2015-07-16 21:09:58 +02:00
CrushedPixel
87b99d1f8f Fixed min/max values for GuiNumberInputs in GuiEditKeyframe 2015-07-16 21:09:58 +02:00
CrushedPixel
bd1e8b4866 Fixed small mistake in localizaton 2015-07-16 21:09:58 +02:00
johni0702
5dd974cc9f Fix preview trying to read argb when there is only rgb 2015-07-16 21:02:18 +02:00
CrushedPixel
e29b6ec9a0 Use java.util.Arrays instead of scala.actors.threadpool.Arrays in GuiKeyframeRepository to prevent a crash at runtime 2015-07-16 20:20:57 +02:00
CrushedPixel
0c7e7a3e0c removed unnecessary null check when calling ReplayHandler#getCameraEntity in ReplaySender 2015-07-16 19:41:24 +02:00
johni0702
84cb8b2988 Do not bother with exceptions during exporting when process was cancelled 2015-07-16 19:09:30 +02:00
johni0702
56efc8c5ec Use RGB instead of ARGB for export and therefore speed up OpenGL to output conversion process 2015-07-16 18:14:14 +02:00
CrushedPixel
a19317ecdd CameraEntity now registers itself. It doesn't need external code doing its job! 2015-07-16 17:45:52 +02:00
CrushedPixel
86bd646b35 Another commit to fix underlining in GuiReplayInstanceChooser... I'm so sorry Johni :( 2015-07-16 17:37:20 +02:00
CrushedPixel
531319a4d1 Added Checkbox to GuiRenderSettings to enable/disable Name Tag rendering 2015-07-16 17:28:33 +02:00
CrushedPixel
5634507ce7 GuiReplayInstanceChooser: Undid underlining the Replay File String and underline the Gui Title again 2015-07-16 16:46:07 +02:00
johni0702
6a5b6fdac5 Add PBOs and PBO support for default rendering 2015-07-16 16:23:30 +02:00
johni0702
787942aef2 Add high performance rendering mode which does not render the GUI every frame 2015-07-16 16:23:30 +02:00
CrushedPixel
cbdaff9e41 Colors "Original" and "Modified" strings in GuiReplayInstanceChooser 2015-07-16 16:21:05 +02:00
CrushedPixel
de07811229 Created GuiReplayInstanceChooser which allows users to define whether they want to load their modified version of an online replay or load the original 2015-07-16 16:21:05 +02:00
johni0702
b4ed4fb31b Fix OffsetGuiRenderer swallowing the shadow flag 2015-07-16 16:05:56 +02:00
CrushedPixel
7def1d97ef Use Lombok for equals() and hashCode() methods in KeyframeSet 2015-07-16 15:04:04 +02:00
CrushedPixel
830087de36 ReplayHandler#spectateCamera() creates a new CameraEntity if the current instance is null 2015-07-16 14:59:37 +02:00
johni0702
752a972ed3 Throw ReportedException when catching an exception thrown during rendering 2015-07-16 14:48:21 +02:00
CrushedPixel
d25046d091 Fixed NPE in CustomObjectRenderer caused by mc.getRenderViewEntity() returning null 2015-07-16 14:45:26 +02:00
CrushedPixel
ef8dccf2cb The ReplayFileAppender now saves downloaded files which were modified in the Replay Folder 2015-07-16 14:45:03 +02:00
CrushedPixel
d2921eaf54 Created getNextFreeFile method in ReplayFileIO to provide the next free file with a filename like FILENAME_X.EXTENSION 2015-07-16 14:43:58 +02:00
CrushedPixel
d1ffa877b0 Load download Folder from ReplayFileIO in DownloadedFileHandler
DRY code in ReplayFileIO to retreive and create directories from config
2015-07-16 14:01:46 +02:00
CrushedPixel
ddc9ff9bcc Re-added Lossless MKV Render Preset 2015-07-16 13:50:22 +02:00
CrushedPixel
9576e7b35c Prevented NPE in TickAndRenderListener 2015-07-16 13:50:10 +02:00
CrushedPixel
5b78f82116 In GuiAssetManager, directly modify the ReplayHandler's Asset Repository instance, as ReplayImage#loadFromStream uses this instance to determine whether it has to notify Custom Image Objects about an image change 2015-07-16 13:37:15 +02:00
CrushedPixel
d45fcb8a34 Only register changes in ReplayFileAppender if something changed - this applies to GuiKeyframeRepository, GuiObjectManager, GuiPlayerOverview, GuiAssetManager
Added equals method to ReplayImageAsset which is based on the BufferedImage's hash code (which is calculated only once)
2015-07-16 13:37:15 +02:00
johni0702
e6fcf4f094 Add render option for hiding player name tags 2015-07-16 12:55:36 +02:00
CrushedPixel
7790aee3cb Replaced lossless encoding with high quality ( -qp 1 instead of -qp 0 ) because (quote ffmpeg.org): Most non-FFmpeg based players will not be able to decode lossless (but YouTube can), so if compatibility is an issue you should not use lossless. 2015-07-15 23:59:23 +02:00
CrushedPixel
57100735a4 Filed GuiFileChooser opening an "Open" dialog when a "Save" dialog should be opened 2015-07-15 23:57:58 +02:00
CrushedPixel
5816ff1f80 Fix GuiAdvancedButton drawing a Tooltip if the Hover Text String is empty 2015-07-15 23:57:30 +02:00