• 沒有找到結果。

Digital Visual Effects, Spring 2011 MatchMove

N/A
N/A
Protected

Academic year: 2022

Share "Digital Visual Effects, Spring 2011 MatchMove"

Copied!
52
0
0

加載中.... (立即查看全文)

全文

(1)

MatchMove

Digital Visual Effects, Spring 2011

2011/04/27

(2)

WorkFlow

• Input

– Video – CGI Animation

(3)

Setting

• Blender

Version: 2.57a (stable)

– Operating System: Windows, Mac OS, Linux, FreeBSD – Web Site: http://www.blender.org/

• Voodoo

Version: 1.1.0 [More stable than before]

– Operating System: Windows, Linux

– Web Site: http://www.digilab.uni-hannover.de/

• Other Options:

– Free: Blender + ICARUS

– Pay: boujou + 3D Max, boujou + Maya, ...

(4)

Recipe: Get Image Sequence

• Open Blender

• Add Video File

Change Window Type to Video Sequence Editor Select 「Add → Movie」

Drag the strip to Layer 1

• Render Images

Choose Render

Choose output directory Frame

Set frame size

Choose output file type (Targa)

Time interval → Select start and end of the sequence

• Click Animation button

(5)

Get Image Sequence : Blender Interface

(6)

Get Image Sequence : Add Video File

Click here to change window type

Add → Movie Change to Video

Sequence Editor

(7)

Get Image Sequence : Add Video File

Select video file Add video file

File Directory

(8)

Get Image Sequence : Add Video File

This is the sound track. Since we only need images for feature tracking, you can choose to remove it

here, and add it back at the video editing stage!

(9)

Get Image Sequence : Add video file

Drag the strip to the “1st Frame” in Layer 1

(10)

Get Image Sequence : Render Images

Choose Render

Select start &

end frame

Choose output file type “Targa”

Output directory

Choose frame size

Click Here!

(11)

Recipe: Calibration

• Open Voodoo

• Open Image Sequence

Select 「File → Open → Sequence」

– Select the first frame

Select Move Type 「 Free Move 」

• Track →

Click Track button

• Export Python Script

Select 「File → Save → Blender Python Script」

– Save .py file

Choose File type “Blender 2.5x and higher (*.py)”

(12)

Calibration : Choose Sequence

File → Open

→ Sequnce

Choose free move

Note!!!

1. “free move” is for general moving conditions

(13)

Calibration : Track

Track

(14)

Calibration : Track

Process Progress

(15)

Calibration : Export Python Script

Save → Blender Python script

(16)

Calibration : Export Python Script

Choose File type

“Blender 2.5x and higher (*.py)”

(17)

Recipe: Import 3D Motions

Open Blender

• Delete Default Objects

Choose the object and click “Delete”

• Open Python Script

Change Window Type to Text EditorSelect 「Text → Open Text Block」

Select io_import_voodoo_camera.pyClick 「Run Script 」

Select 「File → Import → Voodoo camera」

– Select the .py file exported from Voodoo

(18)

Recipe: Import 3D Motions

• Load Background Images:

Change Window Type to 3D View

Select 「View → Cameras → Set Active Object as Active Camera」

– Load background images

– Set the video parameters of background images – Change the view

• 「View → View Persp/Ortho」

• 「View → Camera」

– Check 1st frame and adjust the opacity of background images

Load models & editing their motions in the video!

(19)

Import 3D Motions : Delete Default Objects

Click “Delete” to erase

(20)

Import 3D Motions : Open Python Script

Text → Open Text Block

Choose Text Editor

Change Window Type to Text Editor

(21)

Import 3D Motions : Open Python Script

Select io_import_voodoo_camera.py Run Python Script

(22)

Import 3D Motions : Open Python Script

File → Import → Voodoo camera

(23)

Import 3D Motions : Adjust Rendering

To avoid rendering the

feature point cloud in your

result

(24)

Import 3D Motions : Adjust Rendering

Cancel the renderability of

the feature point cloud

(25)

Import 3D Motions : Load Background Images

Change Window Type to 3D View View → Cameras → Set Active

Object as Active Camera

(26)

Import 3D Motions : Load Background Images

Click the “+” or View → Properties

(27)

Import 3D Motions : Load Background Images

Tick off “Background Images” &

click 「Add Image」on the menu Click 「Not Set」, and then Click 「Open」

(28)

Import 3D Motions : Load Background Images

Choose the 1st frame image

(29)

Import 3D Motions : Load Background Images

Select 「 Sequence」

Set Frames: # images to use Start Frame : 1st

Tick off “Auto Refresh”

(30)

Import 3D Motions : Load Background Images

View → View Persp/Ortho View → Camera

(31)

Import 3D Motions : Load Background Images

Check 1st frame for background images

You can adjust the opacity of background images here

(32)

Import 3D Motions : Load Models

File → Import

→ “Model Type”

(33)

Import 3D Motions : Load Models

To use the model as a “single object” instead of many

“small components” (for finer operations), you can

close the group options

(34)

Import 3D Motions : Set Keyframes

Object → Animation → … Keyframe…Use to set the motion of your model

(35)

Import 3D Motions : Set Keyframes

You can use

Object → Motion Paths → Calculate Paths to see the motion path of models

Motion Path

Time point of Keyframes

(36)

Recipe: Compositing

• Add Image Sequence

Change Window Type to Video Scene EditorSelect 「Add → Images」and select all images – Drag the strip to the “1st Frame” in Layer 1

• Add Scene

Select 「 Add → Scene」

– Drag the scene strip to the “1st Frame” in Layer 2

• Set Scene

Change scene property to “Alpha Over”

– Set frame and video parameters

(37)

Compositing: Add Image Sequence

Change Window Type to Video Sequence Editor

Add → Image

(38)

Compositing: Add Image Sequence

Select all images

(39)

Drag the strip to the “1st Frame” in Layer 1

Compositing: Add Image Sequence

(40)

Compositing: Add Scene

Add → Scene → Scene

(41)

Compositing: Add Scene

Drag the scene strip to the “1st Frame” in Layer 2

(42)

Compositing: Set Scene

View → Properties Select “Alpha Over”

(43)

Compositing: Set Scene

Tick off “Premultiply” Select ”Voodoo_render_cam”

(44)

Compositing: Output Video

You can change

“Sequencer view”

to "Preview" or

"both“ to preview the result

(45)

Compositing: Set Scene

Set “Start Frame” and

“(Video) Length” Set video resolution, Frame (time) range & Frame rate

(46)

Compositing: Output Video

Select output video type Select output

(47)

Compositing: Output video

Click Animation! Example of Composited result

(48)

Reference

• Blender

– Official website

http://www.blender.org/

– 2.57a release log

http://www.blender.org/development/release- logs/blender-257/

– 2.57a demo

http://vimeo.com/21780715 – Overview of 2.57

http://vimeo.com/22358302

(49)

Reference

• Blender

– Basic video tutorial for 2.56 & 2.57 [1~8]

https://www.youtube.com/watch?v=WSj23GDGNiI

– Basic video tutorial for Blender and Voodoo [Older vision]

http://www.youtube.com/watch?v=kPZbtKQ1a4g http://www.youtube.com/watch?v=dREGzpAGKyA – Older versions

http://download.blender.org/release/

(50)

Reference

• Python problem between Voodoo and Blender

– Voodoo camera tracker and blender 2.57 fixed http://0rz.tw/PqDVr

– Voodoo camera Import (io_import_voodoo_camera.py) [Official released]

http://0rz.tw/BNDm8

• Voodoo document website

– http://0rz.tw/c2ceR

(51)

Reference

• 使用 Blender 以及Voodoo 來模擬子彈飛行

– http://newwork2000.blogspot.com/2009/10/blog- post.html

• K-Lite Codec Pack

– Mega http://0rz.tw/df0m1

– Full, Standard and Basic http://0rz.tw/690HM

• Video Editing Tools

– 威力導演、繪聲繪影、 …

– Sony Vegas, Adobe After Effects, Premiere, …

• Sound/Music Editing Tools

(52)

Thank you

for your listening

參考文獻

相關文件

Edit Video Layer (Right click and drag, left click to set). Drag the strip

pid, ppid, real [ug]id, supplementary gid, proc gid, session id, controlling terminal, time left until alarm clock, current working dir, root dir, file mode creation mask, file

 Students are expected to explain the effects of change in demand and/or change in supply on equilibrium price and quantity, with the aid of diagram(s). Consumer and producer

Coat video digital interaction teach

Discovering Computers 2011: Living in a Digital World Chapter 15.. See Page

Discovering Computers 2011: Living in a Digital World.. Chapter

Discovering Computers 2011: Living in a Digital World Chapter 5.. See Page 257

• In Shutter-speed priority mode, photographers sets the shutter speed and the camera deduces the aperture. • In Program mode, the camera