Message 1 of 3
reading scripts from boujou 5 problem
Not applicable
09-27-2011
07:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am using max 2009 and boujou 5 match move software and am new user.
I export camera from boujou as an max script .ms as required. Then i go to max and run script. It always gives me this error no matter what themovie.avi is named or what I export from boujou
Anyone know how to fix the problem or had it also?
error below
--Syntax error: at ), expected <factor>
--In line: filename = "C:/themovie.avi")
thanks
first part of the script boujou generated is shown below:
-- boujou export: 3D Studio Max - Max Script
-- Copyright (c) 2009, Vicon Motion Systems
-- boujou Version: 5.0.0 47534
-- Creation date : Tue Sep 27 19:19:11 2011
-- The image sequence file name was C:/themovie.avi
-- boujou frame 0 is image sequence file 0
-- boujou frame 2567 is image sequence file 2567
-- One boujou frame for every image sequence frame
-- Exporting camera data for boujou frames 0 to 2567
-- First boujou frame indexed to animation frame 1
animationRange = interval 1f 2568f
filename = "C:/Fraps/orbiter 2011-09-26 13-15-15-06.avi")
if ( doesfileexist filename ) then
(
bitmap = openBitMap( filename )
bitmap.numframes = 2567
setAsBackground bitmap
setBkgImageAnimate true
setBkgImageAspect #output
setBkgFrameRange
setBkgStartTime 2
setBkgSyncFrame 0
)
setRendApertureWidth 14.7574
renderHeight = 720
renderwidth = 1280
renderPixelAspect = 1.00004
frameRate = 25
animationrange = interval 1 2568
point cross:off centermarker:on pos: name:"boujou_data"
animate on (
c0 = freecamera name:"Camera_1"
c0.nearclip = 0.0
c0.parent = $boujou_data
at time 1f c0.rotation = quat -7.4609e-018 2.0041e-017 8.3719e-017 1
at time 1f c0.position =
I export camera from boujou as an max script .ms as required. Then i go to max and run script. It always gives me this error no matter what themovie.avi is named or what I export from boujou
Anyone know how to fix the problem or had it also?
error below
--Syntax error: at ), expected <factor>
--In line: filename = "C:/themovie.avi")
thanks
first part of the script boujou generated is shown below:
-- boujou export: 3D Studio Max - Max Script
-- Copyright (c) 2009, Vicon Motion Systems
-- boujou Version: 5.0.0 47534
-- Creation date : Tue Sep 27 19:19:11 2011
-- The image sequence file name was C:/themovie.avi
-- boujou frame 0 is image sequence file 0
-- boujou frame 2567 is image sequence file 2567
-- One boujou frame for every image sequence frame
-- Exporting camera data for boujou frames 0 to 2567
-- First boujou frame indexed to animation frame 1
animationRange = interval 1f 2568f
filename = "C:/Fraps/orbiter 2011-09-26 13-15-15-06.avi")
if ( doesfileexist filename ) then
(
bitmap = openBitMap( filename )
bitmap.numframes = 2567
setAsBackground bitmap
setBkgImageAnimate true
setBkgImageAspect #output
setBkgFrameRange
setBkgStartTime 2
setBkgSyncFrame 0
)
setRendApertureWidth 14.7574
renderHeight = 720
renderwidth = 1280
renderPixelAspect = 1.00004
frameRate = 25
animationrange = interval 1 2568
point cross:off centermarker:on pos: name:"boujou_data"
animate on (
c0 = freecamera name:"Camera_1"
c0.nearclip = 0.0
c0.parent = $boujou_data
at time 1f c0.rotation = quat -7.4609e-018 2.0041e-017 8.3719e-017 1
at time 1f c0.position =