• 沒有找到結果。

Digital Visual Effects, Spring 2012

N/A
N/A
Protected

Academic year: 2022

Share "Digital Visual Effects, Spring 2012"

Copied!
60
0
0

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

全文

(1)

MatchMove

Digital Visual Effects, Spring 2012

Winble 2012/04/26

(2)

WorkFlow

• Input

– Video – CGI Animation

(3)

WorkFlow

• Output

– Composite Video

(4)

Setting

Blender

– Version: 2.62

– Operating System

Windows XP/Vista/7 32/64 bits, Linux, Mac OS X

– Web Site: http://www.blender.org/

Voodoo

– Version: 1.2.0 beta – Operating System

Windows 95/98/NT/2000/Me/XP/Vista/7, Linux

(5)

Recipe: Get Image Sequence

1. Open Blender 2. Add Video File

Change Window Type to Video Sequence Editor Select Add → Movie

Drag the strip to Layer 1

3. Render Images

Choose Render Frame

Set frame size and resolution

Choose output file type (Targa)

Time interval → Select start and end of the sequence Choose output directory

4. Click Animation button

(6)

Get Image Sequence : Blender Interface

(7)

Get Image Sequence : Add Video File

Click here to change window type

Change to Video Sequence Editor

(8)

Get Image Sequence : Add Video File

Add → Movie

(9)

Get Image Sequence : Add Video File

Select video file Add video file

Select file directory

(10)

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!

(11)

Get Image Sequence : Add video file

Right-click to Drag the strip to the “1st Frame” in Layer 1

(12)

Get Image Sequence : Render Images

Choose Render

Select Start &

End frame Choose output

file type “Targa” Set output directory Set Frame size

& Resolution Click Here!

(13)

Recipe: Calibration

1. Open Voodoo

2. Open Image Sequence

Select File → Open → Sequence – Select the first frame

Select Move Type “Free Move”

3. Track →

Click Track button

4. Export Python Script

Select File → Save → Blender Python Script – Save .py file

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

13

(14)

Calibration : Choose Sequence

File → Open → Sequence

(15)

Calibration : Choose Sequence

Choose “free move”

Only select 1st frame

Note!!!

1. “free move” is for general moving conditions 2. “rotation (camera on tripod)” is for the

special case with only the rotation

(16)

Calibration : Choose Sequence

Unrecognized path

(17)

Calibration : Track

Track

(18)

Calibration : Track

Process Progress

(19)

Calibration : Export Python Script

File → Save

→ Blender Python script

(20)

Calibration : Export Python Script

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

(21)

Recipe: Import 3D Motions

1. Open Blender

2. Delete Default Objects

Choose the object and click “Delete”

3. Open Python Script

Change Window Type to Text Editor Select Text → Open Text Block

– Select the .py file exported from Voodoo – Click Run Script

(22)

Recipe: Import 3D Motions

4. 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

(23)

Import 3D Motions : Delete Default Objects

Click “Delete” to erase

(24)

Import 3D Motions : Open Python Script

Text → Open Text Block

(25)

Import 3D Motions : Open Python Script

Run Script

Back to “3D view”

(26)

Import 3D Motions : Adjust Rendering

To avoid rendering the

feature point cloud in your

result

(27)

Import 3D Motions : Adjust Rendering

Cancel the Renderability of

the feature point cloud

(28)

Import 3D Motions : Load Background Images

View → Cameras → Set Active Object as Active Camera

(29)

Import 3D Motions : Load Background Images

Click the “+” or View → Properties

(30)

Import 3D Motions : Load Background Images

Tick off “Background Images” &

click “Add Image” on the menu Click “Open”

(31)

Import 3D Motions : Load Background Images

Choose the 1st frame image

(32)

Import 3D Motions : Load Background Images

Tick off “Auto Refresh”

(33)

Import 3D Motions : Load Background Images

View → View Persp/Ortho View → Front

(34)

Import 3D Motions : Load Background Images

You can adjust background image’s Opacity, Scale & Position

(35)

Import 3D Motions : Load Models

File → Import

→ “Model Type”

(36)

Import 3D Motions : Load Models

To use the model as a “single object” instead of many “small groups(components)” ,you can

close the group options

(37)

Import 3D Motions : Load Models

Model split by groups (for finer operations)

(38)

Import 3D Motions : Set Keyframes

Object → Animation → Insert Keyframe…

(39)

Import 3D Motions : Set Keyframes

Model parameters and

corresponding lock in keyframe

Choose Object Mode Lock the parameters in keyframe

Choose keyframe

(40)

Import 3D Motions : Set Keyframes

You can use

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

Motion Path

(41)

Import 3D Motions : Set Keyframes

Some notes

Different camera views are helpful

Fine adjust 3D position & shape

Preview is your good friend

Ensure your model condition shown in that frame

Don’t forget the light (lamp)

Preview won’t show the lighting

Avoid model “in the dark”

Unstable model motion

Set more keyframes

Split fast-moving video into more small-period clips

(42)

Recipe: Compositing

1. Add Image Sequence

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

2. Add Scene

Select Add → Scene

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

3. Set Scene

(43)

Compositing: Add Image Sequence

Choose “Sequence Editor”

Add → Image

(44)

Compositing: Add Image Sequence

Select all images

(45)

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

Compositing: Add Image Sequence

(46)

Compositing: Add Scene

Add → Scene → Scene

(47)

Compositing: Add Scene

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

(48)

Compositing: Set Scene

View → Properties Set Blend “Alpha Over”

(49)

Compositing: Set Scene

Tick off “Premultiply” Select ”Voodoo_render_cam”

(50)

Compositing: Output Video

You can change

“Sequencer view”

to "Preview" or

"both“ to preview the result

(51)

Compositing: Set Scene

Set “Start Frame” and

“(Video) Length”

Set video Resolution, Frame Range (time) & Frame Rate

(52)

Compositing: Output Video

Select output video type Select output directory

(53)

Compositing: Output video

Click Animation! Example of Composited result

(54)

Reference

• Blender

– Official website

http://www.blender.org/

– 2.62 release log

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

– 2.61 demo files

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

(55)

Reference

• Blender

– Blender 2.6 Tutorial 17 - Camera Tracking

http://www.youtube.com/watch?v=qTwZO9Gi5yw http://www.youtube.com/watch?v=XZGx6UI0s2U – Match Moving Tutorial in Blender

http://www.youtube.com/watch?v=5oWctBTjGcI

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

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=sO4kmT-n3lU

(56)

Reference

• Voodoo

– 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

CINEMA 4D + VOODOO – TUTORIAL

(57)

Reference

• Other Resources

– K-Lite Codec Pack

• Mega, Full, Standard and Basic

http://www.codecguide.com/download_kl.htm

– Video Editing Tools

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

• Sony Vegas, Adobe After Effects, Premiere, …

– Sound/Music Editing Tools

• Adobe Audition ( original cooledit ), Goldwave, …

57

(58)

Thank you

for your attention!

(59)

Import 3D Motions : Open Python Script

Select io_import_voodoo_camera.py Run Python Script

(60)

Import 3D Motions : Open Python Script

File → Import → Voodoo camera

參考文獻

相關文件

 In short term, we advise to select the green industry and to inventory the technology and knowledge which the green industry needs, and then stipulates regional

 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

 Promote project learning, mathematical modeling, and problem-based learning to strengthen the ability to integrate and apply knowledge and skills, and make. calculated

As with all poetry, is-poems are a little more complicated than it looks. You need to write down all your associations and ideas and then just select a few, adding the

Teachers may consider the school’s aims and conditions or even the language environment to select the most appropriate approach according to students’ need and ability; or develop

Now, nearly all of the current flows through wire S since it has a much lower resistance than the light bulb. The light bulb does not glow because the current flowing through it

These include new curriculum and standards frameworks, a range of professional development programmes, autonomy for schools to select and manage staff, flexibility in the use

Vetter, Reanimating Faces in Images and Video, EUROGRAPHICS 2003. Seidel, Exchanging Faces in Images,