ScriptSpot home

Script

Camera Map

By Alaa Al-Nahlawi · Credited author: Alaa Alnahlawi · 2014-09-13

Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.
Version
1.0
3ds Max compatibility
Unknown
How compatibility works

Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.

Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.

Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.

Original version requirement
I tested it on 3ds max 2013 and ubove
Date updated
2014-09-13
Legacy votes
5

Downloads

  • Version 1.0Listed version

    Listing updated

Description

Camera map is a 3ds max script that will automate the process of creating multiple camera map modifiers with the corisponding backplate pictures along side with masks across the animation range of the match moving camera, to creat a seamless texture for the object to blend seamlessly with the live action back plate.

Camera map script

How it works:

-Select the object you want to apply the texture to.

-Select your match moving camera.

-Specify how many cameras you wanna create or the exact frames at witch the camera will be created.

-Specify a backplate file.

-Specify a mask map folder.

-Set the desired mask map resolution and ID.

-Generate. 

 

Be aware:

- Backplate numbers should match frames number eg: frame 1 => backplate_001.

- The tool time range when excuted should be inside the range of  backplate.

- When writing frame numbers in the frames field place them in an accending order.

- Make sure your back plate name doesn't include numbers it should be in this format (Filename_##),(Filename_###) or (Filename_####) the tool support until four digits numbering.

- Pay attention to the ID Channel, the number you enter in the ID field will be preserved for the mask, and every thing above will be over written.

-Your mesh should have enough tesselation elsewhere you will end up with some distorions when rendering your object.

 

Regards
Alaa Alnahlawi 

Videos

More by Alaa Al-Nahlawi

View all contributions
Comments (5)

Comment policy

xing

scripts not working

hello,this scripts don't work after clicking "genarate",it don't creating cam and map.it error with message " Unable to convert: undefined to type: String"
"-- [stack level: 0]
-- In t loop; filename: D:\Program Files (x86)\3ds Max 2018\scripts\CM user interface v012.ms; position: 7386; line: 194
-- Parameters:
-- t: 0
-- Locals:
-- f: undefined
-- t: 0
-- newcam: $Free_Camera:Camera002 @ [35.799236,30.128166,21.891863]
-- Externals:
-- CamArray: Global:CamArray : #()
-- sliderTime: SystemGlobal:sliderTime : 0f
-- Mycam: Free:Mycam : $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- frames: Global:frames : #(undefined)
-- owner: undefined
-- BPNameNo: "3214_000"
-- ------------------------------------------------------
-- [stack level: 1]
-- called from Time_range(); filename: D:\Program Files (x86)\3ds Max 2018\scripts\CM user interface v012.ms; position: 7514; line: 197
-- Parameters:
-- Mycam: $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- iteration: 5
-- Locals:
-- Mycam: $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- iteration: 5
-- range: 415
-- Externals:
-- Fstart_spn: RolloutControl:Fstart_spn in rollout:CM : SpinnerControl:Fstart_spn
-- animationRange: SystemGlobal:animationRange : (interval 0f 415f)
-- Fend_spn: RolloutControl:Fend_spn in rollout:CM : SpinnerControl:Fend_spn
-- owner: undefined
-- ------------------------------------------------------
-- [stack level: 2]
-- called from CameraMapping(); filename: D:\Program Files (x86)\3ds Max 2018\scripts\CM user interface v012.ms; position: 9297; line: 246
-- member of: Rollout:CM
-- Parameters:
-- MyObj: $Editable_Mesh:Plane001 @ [-8.919382,21.955406,0.000000]
-- Mycam: $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- iteration: 5
-- Locals:
-- Time_Frames: Time_Frames()
-- Mymaterial: Standardmaterial:Standard
-- Mycam: $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- Compmap: CompositeTexturemap:Composite
-- iteration: 5
-- Time_range: Time_range()
-- MyObj: $Editable_Mesh:Plane001 @ [-8.919382,21.955406,0.000000]
-- Externals:
-- CM: Rollout:CM
-- sliderTime: SystemGlobal:sliderTime : 0f
-- frames: Global:frames : #(undefined)
-- Fstart: 0f
-- owner: Rollout:CM
-- Time_rdo: RolloutControl:Time_rdo in rollout:CM : RadioControl:Time_rdo
-- ------------------------------------------------------
-- [stack level: 3]
-- called from Generate_btn.pressed(); filename: D:\Program Files (x86)\3ds Max 2018\scripts\CM user interface v012.ms; position: 11873; line: 307
-- member of: Rollout:CM
-- Locals:
-- Externals:
-- iteration_spn: RolloutControl:iteration_spn in rollout:CM : SpinnerControl:iteration_spn
-- mapPath: "D:\新建文件夹"
-- BPpath: "G:\VFX\IMG_3214\"
-- CM: Rollout:CM
-- CameraMapping: CameraMapping()
-- PickObject_btn: RolloutControl:PickObject_btn in rollout:CM : PickerControl:PickObject_btn
-- owner: Rollout:CM
-- Time_rdo: RolloutControl:Time_rdo in rollout:CM : RadioControl:Time_rdo
-- Frames_edt: RolloutControl:Frames_edt in rollout:CM : EditTextControl:Frames_edt
-- PickCamera_btn: RolloutControl:PickCamera_btn in rollout:CM : PickerControl:PickCamera_btn
-- ------------------------------------------------------
-- [stack level: 4]
-- called from top-level

-- owner: undefined
-- BPNameNo: "3214_001"
-- ------------------------------------------------------
-- [stack level: 1]
-- called from Time_range(); filename: D:\Program Files (x86)\3ds Max 2018\scripts\CM user interface v012.ms; position: 7514; line: 197
-- Parameters:
-- Mycam: $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- iteration: 5
-- Locals:
-- Mycam: $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- iteration: 5
-- range: 415
-- Externals:
-- Fstart_spn: RolloutControl:Fstart_spn in rollout:CM : SpinnerControl:Fstart_spn
-- animationRange: SystemGlobal:animationRange : (interval 0f 415f)
-- Fend_spn: RolloutControl:Fend_spn in rollout:CM : SpinnerControl:Fend_spn
-- owner: undefined
-- ------------------------------------------------------
-- [stack level: 2]
-- called from CameraMapping(); filename: D:\Program Files (x86)\3ds Max 2018\scripts\CM user interface v012.ms; position: 9297; line: 246
-- member of: Rollout:CM
-- Parameters:
-- MyObj: $Editable_Mesh:Plane001 @ [-8.919382,21.955406,0.000000]
-- Mycam: $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- iteration: 5
-- Locals:
-- Time_Frames: Time_Frames()
-- Mymaterial: Standardmaterial:Standard
-- Mycam: $Free_Camera:Camera01 @ [35.799236,30.128166,21.891863]
-- Compmap: CompositeTexturemap:Composite
-- iteration: 5
-- Time_range: Time_range()
-- MyObj: $Editable_Mesh:Plane001 @ [-8.919382,21.955406,0.000000]
-- Externals:
-- CM: Rollout:CM
-- sliderTime: SystemGlobal:sliderTime : 0f
-- frames: Global:frames : #(undefined)
-- Fstart: 0f
-- owner: Rollout:CM
-- Time_rdo: RolloutControl:Time_rdo in rollout:CM : RadioControl:Time_rdo
-- ------------------------------------------------------
-- [stack level: 3]
-- called from Generate_btn.pressed(); filename: D:\Program Files (x86)\3ds Max 2018\scripts\CM user interface v012.ms; position: 11873; line: 306
-- member of: Rollout:CM
-- Locals:
-- Externals:
-- iteration_spn: RolloutControl:iteration_spn in rollout:CM : SpinnerControl:iteration_spn
-- mapPath: "D:\新建文件夹"
-- BPpath: "G:\VFX\IMG_3214\"
-- CM: Rollout:CM
-- CameraMapping: CameraMapping()
-- PickObject_btn: RolloutControl:PickObject_btn in rollout:CM : PickerControl:PickObject_btn
-- owner: Rollout:CM
-- Time_rdo: RolloutControl:Time_rdo in rollout:CM : RadioControl:Time_rdo
-- Frames_edt: RolloutControl:Frames_edt in rollout:CM : EditTextControl:Frames_edt
-- PickCamera_btn: RolloutControl:PickCamera_btn in rollout:CM : PickerControl:PickCamera_btn"

country morocco

أهلا بك أخي علاء أنا حسن من المغرب أعجبني السكربت وأرجو لك المزيد من التألق والنجاح

Michele Marcelli

Nice script man!!! :) Thanks for sharing it 1+!!!!