Opened 8 years ago

Last modified 7 years ago

#3814 assigned enhancement

[PATCH] Cinematic camera improvemets — at Version 20

Reported by: fabio Owned by: Vladislav Belov
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords: patch
Cc: Patch:

Description (last modified by elexis)

Some suggestions splitted from #3301.

  • mouse cursor should be disabled during cutscenes; also if you are selecting units when cutscene start you see the selection rectangle during all the cutscene (preliminary patch available in #3301);
  • if I run at double speed (more options setting) the cutscene play at 1x speed but terminates before (probably at half time); possible solution is to reset speed to 1x when on cutscene mode;
  • add at least a working demo;

Possible future ideas:

  • add cutscene on every game ending (either win or loose):
    • 1) simulation stops;
    • 2) human units change to cheering animation;
    • 3) camera moves over winning soldiers or other interesting hotspots until;
    • 4) player press the button to continue or quit;
  • add cutscene on game start:
    • 1) simulation stops;
    • 2) camera moves from the CC up to the traditional camera starting position using some path (a spiral around the CC);
    • 3) simulation start again;
  • show an introductory cutscene on game start, eventually only on the first run (and ability to show it again through menu).

Change History (27)

by sanderd17, 8 years ago

Attachment: Cinema_Demo.zip added

Demo map

comment:1 by sanderd17, 8 years ago

I've included a working demo map above. The map is based completely on Vladislav's work, I only added some commands for different units, so the map doesn't look static (and you see the game is actually running).

by Vladislav Belov, 8 years ago

Adds spline description, fix target spline building

comment:2 by Vladislav Belov, 8 years ago

Keywords: patch review added
Owner: set to Vladislav Belov
Priority: Nice to HaveShould Have
Status: newassigned
Summary: Cinematic camera improvemets[PATCH] Cinematic camera improvemets

comment:3 by Vladislav Belov, 8 years ago

Milestone: BacklogAlpha 21

by Vladislav Belov, 8 years ago

comment:4 by sanderd17, 8 years ago

In 17975:

Interpolate cinematic camera rotation + allow more points in cinematic path + add comments. Patch by Vladislav. Refs #3814

comment:5 by elexis, 8 years ago

Keywords: review removed

comment:6 by Vladislav Belov, 8 years ago

Keywords: review added

by Vladislav Belov, 8 years ago

comment:7 by sanderd17, 8 years ago

In 18000:

Move some methods out of the headers. Patch by Vladislav. Refs #3814

comment:8 by sanderd17, 8 years ago

Keywords: review removed

Forgot to remove the review tag ...

by Vladislav Belov, 8 years ago

comment:9 by Vladislav Belov, 8 years ago

Keywords: review added
  • fix elexis issue (couldn't play a path twice, CCmpCinemaManager.cpp:198 CurrentPathElapsedTime wasn't be cleared, so after start a path will be already ended)
  • remove duplication of the node drawing code (CCinemaPath.cpp:174-191, using for debugging and atlas), instead of hardcoded target spline rendering
  • fix delay issue (when camera stays few seconds after playing), (CCinemaPath.cpp:359, CCmpCinemaManager.cpp:202, earlier path won't be popped from queue immediately after end, pop back from queue xor cinema end)
  • fix serializing (target nodes missed, CCmpCinemaManager.cpp:107, were usual position nodes instead of target nodes)
Last edited 8 years ago by Vladislav Belov (previous) (diff)

comment:10 by sanderd17, 8 years ago

In 18041:

Cleanup cinema code. Fix some issues with resetting of times. Patch by Vladislav. Refs #3814

comment:11 by sanderd17, 8 years ago

Keywords: review removed

by Vladislav Belov, 8 years ago

comment:12 by Vladislav Belov, 8 years ago

Keywords: review added
  • fix issue with multiple target nodes between two position nodes (i.e. you wasn't able to put node with only target param)
  • cinemapath could change any camera (passing by param)
  • improve reading/writing path

comment:13 by elexis, 8 years ago

Milestone: Alpha 21Alpha 22

Feature freeze in 2 days.

comment:14 by elexis, 7 years ago

In 18992:

Play cinematic paths on arbitrary cameras to prepare previews of the camera frustum in atlas. Patch by Vladislav, refs #3814.

comment:15 by elexis, 7 years ago

Milestone: Alpha 22Work In Progress

Moving to the new WIP milestone.

comment:16 by elexis, 7 years ago

Keywords: review removed

First part of the patch was committed, see above, remaining patch at https://code.wildfiregames.com/D124

comment:17 by elexis, 7 years ago

In 19317:

Allow Cinematic Path nodes that only specify a camera position or direction and group them by deltatime.
Remove the support of saving the rotation of camera position nodes, because that should be rewritten to use a custom spline.

Patch By: Vladislav
Differential Revision: https://code.wildfiregames.com/D124
Refs #3814

by Vladislav Belov, 7 years ago

Attachment: Cinema_Demo.2.zip added

comment:18 by elexis, 7 years ago

In 19319:

Cinematic path demo map

Patch By: Vladislav
Refs #3301 #3814

comment:19 by elexis, 7 years ago

In 19422:

Support cinematic path creation from trigger scripts.

Differential Revision: https://code.wildfiregames.com/D317
Patch By: Vladislav
Refs #3814

comment:20 by elexis, 7 years ago

Description: modified (diff)
Milestone: Work In ProgressBacklog
Note: See TracTickets for help on using tickets.