reading scripts from boujou 5 problem

reading scripts from boujou 5 problem

Anonymous
Not applicable
1,930 Views
2 Replies
Message 1 of 3

reading scripts from boujou 5 problem

Anonymous
Not applicable
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 =
0 Likes
1,931 Views
2 Replies
Replies (2)
Message 2 of 3

stigatle
Enthusiast
Enthusiast
try this:
change:
filename = "C:/Fraps/orbiter 2011-09-26 13-15-15-06.avi")

to:
filename = ("C:/Fraps/orbiter 2011-09-26 13-15-15-06.avi")


(add the '(' before the path).
Message 3 of 3

Anonymous
Not applicable

I had the same problem. just when max script prompts, delete the ) from the end of the sentence and press ctrl+s and re-open your script.

good luck

0 Likes