Trailer: HUD takes showed the phone's screen; cut.py renders in parallel
- The trailer, BotCapture and PhoneScreen picked "any" UIDocument; since the phone has its own (drawn into its screen in the hand) the first-person takes captured the phone's home screen instead of the HUD. They take UIRoot's document now. - cut.py renders a whole film in GC_CUT_WORKERS processes (20 by default), each a stretch of frames as near-lossless x264, joined and encoded once on NVENC with the sound. Shake and grain are seeded by frame, so the result does not depend on the split. Main trailer 57 -> 13 min. - polden.py and story.py read the single rolls folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -18,7 +18,8 @@ namespace GrassCutter
|
||||
void Eyes(bool on)
|
||||
{
|
||||
var fx = _cam.GetComponent<CameraFx>();
|
||||
var doc = FindAnyObjectByType<UIDocument>();
|
||||
// the HUD's own document: the phone has one of its own, drawn into its screen in the hand
|
||||
var doc = UIRoot.I ? UIRoot.I.GetComponent<UIDocument>() : null;
|
||||
if (on)
|
||||
{
|
||||
_cam.transform.SetParent(Me.head, false);
|
||||
|
||||
Reference in New Issue
Block a user