More complex view matrix calculation required to composite 3d models with 2d video

Posted by lzcd on Stack Overflow See other posts from Stack Overflow or by lzcd
Published on 2010-05-17T00:58:31Z Indexed on 2010/05/17 1:00 UTC
Read the original article Hit count: 342

Filed under:
|
|
|

I'm utilising some 2d / 3d tracking data (provided by pfHoe) to help integrate some 3d models into the playback of some 2d video.

Things are working.... okay... but there's still some visible 'slipping' of the models against the video background and I suspect this is may be because the XNA CreatePerspective helper method isn't taking into account some of the additional data supplied by pfHoe such as independent horizontal / vertical field of view angles and focal length.

Would anyone be able to point me towards some examples of constructing view matrices that include such details?

© Stack Overflow or respective owner

Related posts about XNA

Related posts about 3d