home
StrataCafe Forums
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Older Forums
 Strata Design 3D CX: Lua Scripting
 Motion tracking Camera info into Strata
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

eg
A Regular

132 Posts

Posted - 11/04/2009 :  17:06:43  Show Profile
would it be possible
to have any of these camera formats
translated to a Strata 3D camera



Image Insert:

87.76 KB

thanks
eg

Brian Lawson
A Fountain of Information

USA
5217 Posts

Posted - 11/04/2009 :  18:27:28  Show Profile  Visit Brian Lawson's Homepage  Send Brian Lawson an AOL message
Not at this time, sorry.

Brian Lawson
Strata Technical Support
support (at) strata (d0t) com
Go to Top of Page

eg
A Regular

132 Posts

Posted - 11/05/2009 :  11:36:12  Show Profile
I hope it's on a list, even if low priority

here is a sample of what the human readable txt looks like

are there too many parameters, or not enough for the strata Camera

Frame 0
projection_matrix:
0.120352 0.00803398 0.0564989 0.459307
-0.00371628 0.127358 0.0215018 -0.270848
-0.00578586 0.0102398 0.0855755 0.891256
translation:
0.998998 3.98321 -10.8239
rot_matrix:
0.997702 -0.0101813 -0.0669814
0.0180896 0.992784 0.118544
0.0652912 -0.119483 0.990687
rot_quaternion:
-0.0596473 -0.0331463 0.00708443 0.997644
focal_length: 4.22629
field_of_view: 43.0438 32.953
pixel_aspect_ratio: 0.999988
skew: -5.68596e-06
principal_point: 319.999 240.001

Frame 1
projection_matrix:
0.120362 0.0080441 0.0564826 0.45908
-0.00373231 0.127359 0.0215199 -0.270638
-0.00577478 0.0102268 0.0855779 0.891321
translation:
0.998998 3.98321 -10.8239
rot_matrix:
0.997709 -0.0103482 -0.0668533
0.0182304 0.992799 0.118393
0.0651467 -0.119341 0.990714
rot_quaternion:
-0.0595734 -0.0330777 0.0071615 0.99765
focal_length: 4.22643
field_of_view: 43.0429 32.952
pixel_aspect_ratio: 0.999997
skew: -9.52039e-05
principal_point: 320 240


thanks
eg

Go to Top of Page

strata_geek
Infrequent Poster

USA
21 Posts

Posted - 11/16/2009 :  12:35:27  Show Profile  Visit strata_geek's Homepage
Now that we're *very* close with 6.1 this camera data import should be doable. Do you have access to specific documentation for the highest priority formats? Something with just camera data would be preferable so we don't have to parse through a bunch of junk to get at it.

-strata_geek
Go to Top of Page

tbgriswold
Regularly Educational

USA
1384 Posts

Posted - 11/16/2009 :  13:01:02  Show Profile  Visit tbgriswold's Homepage
Here is the one I am interested in:

Terragen2:
Camera motion can be imported from Nuke .chan files and Maya .mov files. Third party tools are available that allow you to transfer camera motion to Terragen 2 from Maya, 3DS Max, Cinema 4D, Blender and others.
Soon we will add support for FBX files to provide an extremely smooth import/export experience with many other applications. FBX capabilities will be available in free updates of Terragen 2 Deep Edition.

__________________________
Britt Griswold
NASA Goddard
Code 665 Bldg. 21 Rm 063
Greenbelt, MD 20771
(301) 286-3381
bgriswol@pop200.gsfc.nasa.gov
http://map.gsfc.nasa.gov
Go to Top of Page

strata_geek
Infrequent Poster

USA
21 Posts

Posted - 11/16/2009 :  14:22:13  Show Profile  Visit strata_geek's Homepage
I assumed we were talking only about camera data import to Strata. Aren't you talking about exporting camera data from Strata for Terragen? In any case it's a separate task.

-strata_geek
Go to Top of Page

tbgriswold
Regularly Educational

USA
1384 Posts

Posted - 11/16/2009 :  16:17:16  Show Profile  Visit tbgriswold's Homepage
Yep, I guess so. But they do mention FBX as a future round tripping format. The animatable world files are human readable XML, so some developers for 3DS Max and Maya have managed to use that to extract the needed camera information.

Britt
Go to Top of Page

eg
A Regular

132 Posts

Posted - 11/16/2009 :  18:46:06  Show Profile
I'm interested in MatchMoving.
recreation of camera movements in a 3D space (based on real-word footage)

looking at getting the camera data into strata

MatchMoving software i've started looked into

icarus. - free (formats export list, image I posted)
Syntheyes - used in the industry, supposedly very good for tracking complex shots.
Boujou - also industry standard, used in A LOT of films. Very expensive.
PFTrack - also used in the industry. Very fast tracker.

I'll be doing the final assembly in after effects so ideally having a format that works in both would be great.

I'm not sure what format would be the best for Strata
nor do i know what the strata camera would need to match the field of view

going to do more research

thanks
eg



Go to Top of Page

jrpmedia
Infrequent Poster

United Kingdom
35 Posts

Posted - 02/25/2010 :  06:43:27  Show Profile  Visit jrpmedia's Homepage  Click to see jrpmedia's MSN Messenger address
...anyone got an update on this possibility?

If we could do camera matching (maybe tracking inout file format) I could retire early ! :-)


..can we not do something with Lua ?!
If we knew the Camera angle, positon, scale, direction data (from PFTrack, etc) can we input that data manually with the Lua scripting window in Strata?...

Can someone at starta give me an example script to control / change the camera direction please :-)

Camera [derived from s3d.database.Directional]

Methods:


GetCameraType() -> String
Description

GetViewAngle(Number) -> Number
Number ->

Description

GetZoomFactor(Number) -> Number
Number ->

Description

IsOrthoGraphic(Number) -> Boolean
Number ->

Description

SetViewAngle(Number, Number)
Number ->
Number ->

Description

SetZoomFactor(Number, Number)
Number ->
Number ->

Description

Edited by - jrpmedia on 02/25/2010 06:55:25
Go to Top of Page

strata_geek
Infrequent Poster

USA
21 Posts

Posted - 02/25/2010 :  12:58:21  Show Profile  Visit strata_geek's Homepage
We've got some stuff we're working on that isn't ready yet, but if you'd like to be a guinea pig and commit to some beta testing let us know offline via an email to the support address.

-strata_geek
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrataCafe Forums © 2009 StrataCafe Go To Top Of Page
Snitz Forums 2000