Makc
unread,Nov 27, 2009, 7:25:58 PM11/27/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to flartool...@googlegroups.com
This went unnoticed in some previous thread, but I played with idea,
and it actually makes sense so I committed it.
Basically, from now on instead of
...bunch of code loading camera data file here (or embed declaration)...
param = new FLARParam ();
param.loadARParam (new CameraData);
param.changeScreenSize (320, 240);
...
you can simply write
...
param = new FLARParam ();
param.changeScreenSize (320, 240);
...
From now on, FLARParam constructor sets data corresponding to
saqoosha's camera calibration data file. Those of you who actually
bothered to create your own calibration data file can simply ignore
this, since the old way works just fine.
Now if there's anyone who relied on new FLARParam () doing nothing, we
can add optional Boolean param to enable new behavior, so that new
code would look like
...
param = new FLARParam (true);
param.changeScreenSize (320, 240);
...
but something tells me noone will be interested :)