Commit Graph
100 Commits
Author SHA1 Message Date
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
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
johni0702 b4ed4fb31b Fix OffsetGuiRenderer swallowing the shadow flag 2015-07-16 16:05:56 +02:00
johni0702 752a972ed3 Throw ReportedException when catching an exception thrown during rendering 2015-07-16 14:48:21 +02:00
johni0702 e6fcf4f094 Add render option for hiding player name tags 2015-07-16 12:55:36 +02:00
johni0702 affcb3df0a Fix constantly re-registering the camera entity event handlers 2015-07-15 18:49:07 +02:00
johni0702 8889f3c340 Add shadows to button and checkbox GUI 2015-07-15 15:54:28 +02:00
johni0702 7ee5f86b4e Prevent rendering with invalid resolution 2015-07-15 15:43:01 +02:00
johni0702 7fd429e25f Rework rendering pipeline to make better use of multithreading
Move OpenGL frame to ARGB conversion to processing threads
Move video exporting to processing threads
Skip creation of BufferedImage and instead use ByteBuffer with ARGB content directly
2015-07-15 14:23:43 +02:00
johni0702 dccbc99d86 Add option for whether to draw a shadow of string to GuiRenderer 2015-07-13 14:09:35 +02:00
johni0702 81c4659b93 Fix time freezes during rendering not working 2015-07-13 12:49:25 +02:00
johni0702 d29cc85dc8 Fix NPE when loading a replay without marker keyframes 2015-07-13 12:21:18 +02:00
johni0702 a9ded2bc1d Clickable and Draggable now also return booleans for whether they handled the event 2015-07-13 09:42:06 +02:00
johni0702 bd21ed16ae Fix generics in most of the Gui interfaces 2015-07-13 09:42:06 +02:00
johni0702 4476993ca6 Add GridLayout which orders elements in a grid with cells of equal size 2015-07-13 09:35:40 +02:00
johni0702 5c05cd62ce Add GuiTextArea 2015-07-13 09:35:32 +02:00
johni0702 35bc9f7fae Remove preferred size and default button size
Replace alignment data in horizontal and vertical layout with double value
Add convenient size(GuiElement, ReadableDimension) method to custom layout
2015-07-13 08:11:15 +02:00
johni0702 219277f623 Add layers to Gui API so specific elements can be drawn on top of others and react to mouse clicks first 2015-07-13 08:11:15 +02:00
johni0702 824c80d0d2 GuiLabel now auto-breaks when text is longer than canvas 2015-07-11 15:56:31 +02:00
johni0702 117f383ec0 Add Layout to CrashReport when drawing GUI 2015-07-11 15:53:04 +02:00
johni0702 d8a9b8fd2f Fix point conversion for stacked GuiContainers 2015-07-11 15:53:04 +02:00
johni0702 a61c0eb4e5 Add GuiImage 2015-07-11 15:32:36 +02:00
johni0702 843328658a Add text color and setI18nText to GuiTextField 2015-07-11 15:32:36 +02:00
johni0702 3fb0d87824 Fix constructor of AdvancedPosition not storing advanced data 2015-07-10 14:54:11 +02:00
johni0702 109a025a1e Only use java 6 methods 2015-07-10 14:54:11 +02:00
johni0702 dea3f7fc9f Add GuiToggleButton 2015-07-10 12:59:07 +02:00
johni0702 f2ee292119 Add GuiCheckbox 2015-07-10 12:23:33 +02:00
johni0702 2b2bbbf49a Add hint to GuiTextField 2015-07-10 12:23:33 +02:00
johni0702 59e6b87935 Use new Gui API for GuiReplayDownloading 2015-07-09 18:30:31 +02:00
johni0702 c66efc91b7 Add GuiProgressBar for new Gui API 2015-07-09 18:30:00 +02:00
johni0702 9e886b6171 Add tooltips to gui elements 2015-07-09 18:24:15 +02:00
johni0702 d4e04feaeb Use new Gui API for GuiLoginPrompt and GuiRegister 2015-07-09 18:24:15 +02:00
johni0702 db8b5a9be0 Add new Gui API 2015-07-09 18:24:15 +02:00
johni0702 392db29b34 Fix toggle buttons no longer working with GuiElement API 2015-07-07 16:38:05 +02:00
johni0702 37c1796dca Move features from GuiTexturedButton to GuiAdvancedButton 2015-07-07 16:30:53 +02:00
johni0702 ddeb27be6f Call super methods in equals and hashCode in ExtendedPosition 2015-07-07 14:39:08 +02:00
johni0702 0c94bc9ce6 Set fov modifier during rendering to 1 when in camera view 2015-07-07 14:33:25 +02:00
johni0702 9f4b2d9026 Pause the recording when the integrated server is paused 2015-07-07 13:09:38 +02:00
johni0702 9867dce79c Fix NPE when there is no hint set 2015-07-07 12:20:00 +02:00
johni0702 2d96cd9cc2 Allow replays to be started by "replay://" URIs (e.g. from browser) 2015-07-07 11:42:52 +02:00
johni0702 a21cf64a88 Realign all nametags towards the camera when rendering 360° frames 2015-07-06 15:52:07 +02:00
johni0702 13534dc94e Update ReplayStudio: Fix text messages including json quotation marks 2015-07-06 14:05:45 +02:00
johni0702 c34ec09e6b Revert parts of "Finally gave up on trying to inject YouTube 360° Metadata into Videos and removed respective Checkbox in GuiRenderSettings"
This reverts parts of commit 9da89c4f07.
2015-06-30 18:17:00 +02:00
johni0702 8bf1731345 Fix buttons in replay settings toggling twice 2015-06-30 18:08:45 +02:00
johni0702 bd47bdeeb6 Update ReplayStudio version to fix OOM with Hypixel replays due to high number of ServerMapDataPackets 2015-06-30 17:13:50 +02:00
johni0702 38b49d8f4c Play the replay a few ticks in advance of the video to work around entity interpolation 2015-06-30 13:01:14 +02:00
johni0702 3de7394a0c Compare int and Integer using Objects.equals to prevent NPE 2015-06-29 22:28:58 +02:00
johni0702 586a9dbe1c Lombokize FileRating 2015-06-29 22:04:00 +02:00
johni0702 a058497727 Fix all warnings
Add and make use of Lombok
Remove Mojang API
Remove ZipFileUtils
Remove StreamTools in favor of Apache IOUtils
Keyframe should be abstract all derivatives final
Replace clone in Keyframe with copy
Move some constants from GuiReplaySetttings to GuiConstants
2015-06-29 21:45:37 +02:00
johni0702 3122c0a71e Reduce object creation during rendering of path preview
Skip sqrt when comparing distances
2015-06-29 21:39:40 +02:00
johni0702 7d54029b8a Fix race condition causing timestamps to be written in reverse order 2015-06-29 14:59:13 +02:00
johni0702 f19fc0ab36 Use ffmpeg for video exporting (default webm)
Remove monte media lib
2015-06-29 13:02:41 +02:00
johni0702 40818bd8b5 Open OOM gui screen instead of crash report on OOM 2015-06-29 09:52:46 +02:00
johni0702 e280874120 Disable recording of debug worlds 2015-06-28 19:50:11 +02:00
johni0702 0babf18560 Fix particle alignment during default rendering by not using ActiveRenderInfo but instead calculating it ourselves 2015-06-28 18:27:33 +02:00
johni0702 18ec3cccc5 Realign all particles towards the camera when rendering 360° frames 2015-06-28 18:13:42 +02:00
johni0702 ced45bb66f Improve cubic to equirectangular conversion by only computing pixel locations once
Fix empty try-catch in MinecraftTicker
2015-06-17 10:23:19 +02:00
johni0702 b0f253538c Fix crash on exit of replay (no longer processing clicks mid-rendering) and OpenGL error warnings
Remove MCTimerHandler, instead always install the ReplayTimer
2015-06-16 19:33:48 +02:00
johni0702 6d4512e74b Remove unused method in GuiTimeline 2015-06-14 14:13:29 +02:00
johni0702 be4ee42dcb Add GuiTextArea
Reorder and add description to GuiUpload
2015-06-14 14:13:03 +02:00
johni0702 f1327dbdc1 Add method to TooltipRenderer which accepts Color instead of ARGB int 2015-06-10 18:48:48 +02:00
johni0702 146aa40bd4 Fix relative coordinates being taken as absolute 2015-06-04 17:59:46 +02:00
johni0702 20b4c9b7bd Only handle key inputs during replay 2015-06-04 14:50:17 +02:00
johni0702 eaf987b403 Only set view entity if it's not already set 2015-06-04 14:35:53 +02:00
johni0702 edd01b3981 Fix shader compatibility in default renderer
Disable shaders in cubic and stereoscopic rendering
2015-06-04 14:21:44 +02:00
johni0702 dd46027a3a Fix java 1.6 compatibility 2015-06-03 23:30:48 +02:00
johni0702 d171ff4346 Allow custom resolution for all video rendering modes
Remove tiled rendering
Choose different rendering strategy based on video size and framebuffer support
Make size of video writer queue configurable via system properties
2015-06-03 21:20:03 +02:00
johni0702 023188a46b Fix dead lock when jumping after end of replay has been reached 2015-06-02 22:49:17 +02:00
johni0702 1bc80cc257 Add git commit to version and add version to generated replay files 2015-06-02 20:33:22 +02:00
johni0702 d96ba1f135 Update ReplayStudio and add connect replay functionality to replay editor 2015-06-02 19:43:09 +02:00
johni0702 a9f5c667f2 Fix dead player artifacts remaining in the world after sync jumping 2015-06-02 17:20:26 +02:00
johni0702 db030cf174 Fix NPE if there is no player info for a player entity 2015-06-01 23:58:50 +02:00
johni0702 cc4d8f67c2 Play sounds during replay relative to camera 2015-06-01 23:46:45 +02:00
johni0702 394165cba4 Add render option for sky color (green-screen effect) 2015-06-01 18:50:55 +02:00
johni0702 9e8e84da57 Update ReplayStudio and use its ReplayFile class in trimReplay 2015-06-01 17:10:45 +02:00
johni0702 4c5e084edc Use UUIDs instead of entity ids for storing invisible players 2015-06-01 14:35:44 +02:00
johni0702 bb773570e9 Add extensions to paths and visibility in replay files (preserves backwards compatibility) 2015-06-01 13:37:04 +02:00
johni0702 98c2b65023 Fix incorrect entity positions after jumping 2015-06-01 10:57:41 +02:00
johni0702 b3451ed7fd Use component like system for gui overlay
Add missing abort path replay button
2015-06-01 10:17:10 +02:00
johni0702 74fb08368b Remove scrollbar movement on first click 2015-05-31 17:52:10 +02:00
johni0702 967f591fbd Recreate mouse input of replay overlay when the screen size changes 2015-05-31 17:46:28 +02:00
johni0702 779d0841d6 Properly render spectator hand in all custom rendering modes
Fix hand clipping with nearby blocks
Immediately show hand/item if a different player is spectated
2015-05-31 17:24:50 +02:00
johni0702 dec1cf398c Only fill data watcher if it doesn't exist 2015-05-31 15:31:22 +02:00
johni0702 431a36c9d9 If resource pack is not located within replay file, fall back to minecraft handling 2015-05-31 12:53:11 +02:00
johni0702 184bfd7f2e Do not close replay if an exception is caught processing a packet 2015-05-31 11:55:12 +02:00
johni0702 117f3e726d Fix missing resource packs if URL contains redirect (e.g. Hypixel) 2015-05-29 12:17:10 +02:00
johni0702 37d31408bd Save resource packs to replay file and use those during replay 2015-05-29 12:16:28 +02:00
johni0702 95e2c932f0 Fix entity metadata recording in spawn packets 2015-05-29 12:06:11 +02:00
johni0702 2add3ed518 Allow for simpler repositioning of the preview 2015-05-29 11:34:32 +02:00
johni0702 61ab4d5717 Fix partial render ticks being reset during sync packet sending 2015-05-27 17:09:41 +02:00
johni0702 395c3b0acd Only render overlay gui once
Fix incorrect texture location of recording-marker
2015-05-26 21:43:58 +02:00
johni0702 c44a1dfc14 Always use custom entity renderer for improved performance and consistency 2015-05-26 10:52:34 +02:00
johni0702 bca8aad98b Add preview to default frame renderer 2015-05-26 10:46:33 +02:00
johni0702 590bc72ba1 Remove unnecessary mouse movements 2015-05-26 10:46:17 +02:00
johni0702 9e6d03d342 Fix compile error (missing method, removed in 9f3a97f) 2015-05-26 01:14:55 +02:00
johni0702 9f3a97f65c Cleanup, relocate and split up GuiReplayOverlay
Merge gui resources into one texture
2015-05-26 01:08:22 +02:00
johni0702 2a833b5037 Fix force chunk loading class transformer for obfuscated environments 2015-05-25 13:44:14 +02:00
johni0702 c7d974b24d Use ASM instead of inheritance to override methods in RenderGlobal 2015-05-25 13:13:21 +02:00