Notifications
Clear all

[Closed] ipi soft cameras to 3dsmax ?

hey everyone
im trying to get the cameras from the ipi soft program to 3dsmax
the software has a “scene” file that is xml
you create it after calibrating the scene and its loaded for every shot you need to track
that uses the same camera setup from the calibration .
is it possible to use the information on the xml file to generate the cameras in max using maxscript?
no camera animation , just position rotation and fov i guess
hope someone here can help .
untill they will make an fbx exporting function…

here is a sample of the xml file:

<?xml version=“1.0” encoding=“US-ASCII”?>
<Scene>
<SourceVideo>file:///D:/mocap/calibration/video_2011-10-31_10-12-14.avi</SourceVideo>
<!–Positions are in meters–>
<!–Angles are in degrees–>
<Camera DiagonalFieldOfView=“75.000000” resolutionX=“640” resolutionY=“480”>
<Translation value=”-4.412077 2.190751 1.295973″ />
<Rotation axis=“1.000000 0.000000 0.000000” angle=”-10.811350″ />
<Rotation axis=“0.000000 1.000000 0.000000” angle=”-67.396510″ />
<Rotation axis=“0.000000 0.000000 1.000000” angle=”-3.262003″ />
</Camera>
<Camera DiagonalFieldOfView=“75.000000” resolutionX=“640” resolutionY=“480”>
<Translation value=”-4.403019 1.551147 3.441813″ />
<Rotation axis=“1.000000 0.000000 0.000000” angle=”-9.035933″ />
<Rotation axis=“0.000000 1.000000 0.000000” angle=”-47.531430″ />
<Rotation axis=“0.000000 0.000000 1.000000” angle=“1.052689” />
</Camera>
<Camera DiagonalFieldOfView=“75.000000” resolutionX=“640” resolutionY=“480”>
<Translation value=”-2.183072 2.000313 4.510358″ />
<Rotation axis=“1.000000 0.000000 0.000000” angle=”-14.467540″ />
<Rotation axis=“0.000000 1.000000 0.000000” angle=”-23.694250″ />
<Rotation axis=“0.000000 0.000000 1.000000” angle=”-1.674270″ />
</Camera>
<Camera DiagonalFieldOfView=“75.000000” resolutionX=“640” resolutionY=“480”>
<Translation value=”-0.058302 1.517611 4.085304″ />
<Rotation axis=“1.000000 0.000000 0.000000” angle=”-7.391623″ />
<Rotation axis=“0.000000 1.000000 0.000000” angle=“0.319534” />
<Rotation axis=“0.000000 0.000000 1.000000” angle=“0.989905” />
</Camera>
<Camera DiagonalFieldOfView=“75.000000” resolutionX=“640” resolutionY=“480”>
<Translation value=“2.018061 1.496194 3.195491” />
<Rotation axis=“1.000000 0.000000 0.000000” angle=”-9.699001″ />
<Rotation axis=“0.000000 1.000000 0.000000” angle=“38.782090” />
<Rotation axis=“0.000000 0.000000 1.000000” angle=”-0.589805″ />
</Camera>
</Scene>

1 Reply

Are you referring to the kinect sensor cameras or the playstation eye cameras?

I just saw a dual kinect calibration tutorial that may be helpful to you.

clickhere