DualCast: Dual-Image Conditioned Diffusion Transformers for Digital Human E-Commerce Video Generation
Organizations: Zhejiang University
Abstract
Recent advances in world models for game interaction and control have increased the demand for large-scale gameplay videos paired with camera trajectories. However, capturing synchronized camera trajectories often requires game-specific pipelines, limiting scalability. We therefore propose GameWeaver, a unified diffusion framework that automatically produces paired video--camera data through three complementary tasks: camera pose estimation from observed video, video generation along a prescribed camera trajectory, and joint video--camera generation from a reference image and text. First, each tipxel stores the normalized 3D coordinates of a pixel ray's endpoint in a reference coordinate frame. The resulting three-channel tipxel fields and RGB frames share the pretrained video model's VAE. Next, a fully trainable dual-stream Transformer exchanges appearance and geometry features through bidirectional gated attention and conditions both streams on shared text features. Finally, deterministic fitting recovers camera intrinsics and normalized trajectories from generated tipxel fields. In our evaluation tasks, GameWeaver achieves a normalized translation MSE of 0.0029 for camera control; for joint generation, it scores 85.48 out of 100 on instruction adherence versus 64.71 for the best cascade on that metric, validating the feasibility of the proposed approach.
Figures & tables
| Method | tMSE | R-MSE |
|---|---|---|
| COLMAP [ 26 ] | 3639.32 | 492.85 |
| ViPE [ 10 ] | 12304.23 | 42.99 |
| PoseDiffusion–RE10K (GGS-off) [ 33 ] | 38279.15 | 2150.23 |
| RayDiffusion [ 40 ] | 64452.42 | 3140.79 |
| DiffusionSfM [ 45 ] | 36160.90 | 1345.97 |
| GameWeaver | 866.25 # 1 | 345.82 # 2 |
| (a) Pose estimation | |
|---|---|
| Method | First choice |
| GameWeaver | 49 (81.7%) |
| COLMAP | 9 (15.0%) |
| PoseDiffusion | 0 (0.0%) |
| RayDiffusion | 1 (1.7%) |
| DiffusionSfM | 1 (1.7%) |
| Variant | PSNR (dB) | SSIM | Position RMSE | Mean rotation error ( ∘ ) | Translation direction error ( ∘ ) | Inference time (s) |
|---|---|---|---|---|---|---|
| Video-first | 18.122 | 0.6510 | 0.2627 | 12.870 | 25.807 | 184.75 |
| Plain-concat | 18.171 | 0.6578 | 0.2663 | 12.169 | 24.259 | 133.55 |
| GameWeaver (ours) | 18.584 | 0.6661 | 0.1932 | 11.560 | 21.946 | 146.68 |
| Steps | PSNR | SSIM | Pos | Rot | Dir | Time | |
|---|---|---|---|---|---|---|---|
| 0.5 | 20/20 | 18.22 | 0.6555 | 0.287 | 11.34 | 26.66 | 146.96 |
| 0.5 | 20/10 | 18.23 | 0.6554 | 0.284 | 11.21 | 25.24 | 146.48 |
| 1.0 | 20/20 | 18.06 | 0.6555 | 0.317 | 14.65 | 27.67 | 146.20 |
| 1.0 | 20/10 | 18.06 | 0.6554 | 0.306 | 13.80 | 26.18 | 146.00 |
| Metric | MSE + cosine | MSE only |
|---|---|---|
| Pose estimation | ||
| Position RMSE | 0.2868 | 0.2820 |
| Rotation error ( ∘ ) | 11.33 | 14.58 |
| Camera control | ||
| Position RMSE | 0.0230 | 0.0235 |
| Rotation error ( ∘ ) | 1.13 | 1.10 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Value |
|---|---|
| Initialization | Wan2.2-TI2V-5B |
| Transformer depth / width / heads | 30 / 3072 / 24 |
| Latent channels / patch size | 48 / |
| Frames / image resolution | 81 / |
| Task sampling probabilities | , , |
| Source camera hidden in control | Probability |
| Task | Conditions | Prediction |
|---|---|---|
| Pose estimation | RGB video | tipxel field and cameras |
| Camera control | Reference image; target cameras | RGB video |
| Joint generation | Reference image | RGB video and tipxel fields |
| Task | System | Frames | fps | Span (s) |
|---|---|---|---|---|
| Camera control | GameWeaver * | 81 | 16 | 5.00 |
| GEN3C | 121 | 24 | 5.00 | |
| SCoPE | 81 | 16 | 5.00 | |
| DualCamCtrl | 61 | 10 | 6.00 | |
| WorldStereo (camera-only) | 21 | 16 | 1.25 | |
| Uni3C (camera-only) | 81 | 16 | 5.00 |
| Translation MSE | ||||
|---|---|---|---|---|
| Method | CF | Arma Reforger | CS:GO | Minecraft |
| COLMAP | 1.896e+04 | 0.02577 | 0.3546 | 1.263 |
| PoseDiffusion | 1.914e+05 | 1.202 | 6.0000 | 7.848 |
| RayDiffusion | 3.222e+05 | 1.94 | 7.9540 | 7.691 |
| DiffusionSfM (main) | 1.808e+05 | 0.5101 | 3.9345 | 5.126 |
| GameWeaver (ours) | 4330 | 0.003183 | 0.3034 | 1.076 |
| Game | Action control and starts | RGB–camera synchronization | Sampling | World coordinates |
|---|---|---|---|---|
| CF | Native inputs; geometry-filtered starts and headings | D3D9 matrices linked to displayed frames by update and presentation identifiers | 16 Hz; 5 s span | Z up; native game units |
| CS:GO | Server-controlled bot; map anchors | SourceTV replay with RGB and HLAE camera from the same take | 16 fps; 5 s span | Source axes; m/HU |
| Minecraft | Collision-aware displacement; terrain-filtered routes | Matched render callbacks for framebuffer, eye pose, and projection | 16 Hz; 5 s span | Y up; 1 block = 1 m |
| Arma Reforger | Character controller; 40 spawn points | Camera state and viewport rays recorded at screenshot requests | 15 Hz; s span | Y up; meters |
| Setting | Value |
|---|---|
| Nodes / GPUs per node | 3 / 8 |
| Global / per-GPU batch | 24 / 1 |
| Gradient accumulation | 1 |
| Optimizer updates | 68,000 |
| Learning rate / weight decay | / 0.01 |
| Warm-up updates | 400 |
| Source | Records | Slots/epoch | Presentations |
|---|---|---|---|
| CF | 10,000 | 15,000 | 240,000 |
| Arma Reforger | 17,000 | 15,000 | 240,000 |
| CS:GO (merged) | 30,000 | 36,000 | 576,000 |
| Minecraft | 20,000 | 36,000 | 576,000 |
| Total | 77,000 | 102,000 | 1,632,000 |
| Inference seed | Seed means | Within input | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Metric | 0 | 1 | 10 | 42 | 100 | 1000 | SD | Range | Median range | |
| MC-MEt3R | 20 | 0.1168 | 0.1019 | 0.1123 | 0.1072 | 0.1234 | 0.1149 | 0.0075 | 0.0214 | 0.0570 |
| MN-MS | 20 | 0.9567 | 0.9629 | 0.9610 | 0.9611 | 0.9572 | 0.9589 | 0.0024 | 0.0062 | 0.0187 |
| IQ | 20 | 0.7529 | 0.7507 | 0.7514 | 0.7604 | 0.7475 | 0.7529 | 0.0043 | 0.0129 | 0.0166 |
| AQ | 20 | 0.5354 | 0.5353 | 0.5390 | 0.5391 | 0.5319 | 0.5350 | 0.0027 | 0.0071 | 0.0243 |
| Cam | 20 | 83.55 | 83.16 | 82.85 | 81.89 | 81.84 | 81.76 | 0.78 | 1.79 | 11.01 |
Camera-Controlled Video Generation
Camera-controlled video generation creates videos that follow specified viewpoints and camera paths while preserving coherent scenes and motion.
See all 164 papers