This is a major update release.
You can get it from our download page:
http://www.libspark.org/wiki/saqoosha/FLARToolKit/download
The changelog for this version:
Version 2.5.0
- Changes to the NyARToolKit for AS3 version 2.5.0 base.
- "Flash player 9" is not supported.
- etc.
In this version, there might still be a bug.
Please report in this forum when you find the bug.
"nyatla" writes most of the source code. Saqoosha is hardly
related to this version. Please do not question Saqoosha directly.
----- Old version -----
An old version was able to be downloaded.
To download FLARToolKit from svn, the tutorial is written.
In the future, I will want you to write that it downloads
the zip file of FLARToolKit on the download page.
----- To library developers -----
FLARToolKit included in FLARManager0.6 is in version1.x.x of branches
of svn.
Please work with branches when you improve Version1.0.0.
Notes when Version2.5.0 is improved.
- Please do not change the inside of the libs folder.
- Please make another file when you add the function to detector etc.
I'm sorry, please cooperate.
nvm, found the answer here
http://groups.google.com/group/flartoolkit-userz/msg/91525fbe9efb568b
In class NyARColorPatt_Perspective there is
public function pickFromRaster(image:INyARRgbRaster,
i_vertexs:Vector.<NyARIntPoint2d>):Boolean
So, function exits, it`s public.
Using FLASH CS4 10.0.2/
We are not using FLASH CS4.
Therefore, we seem to have been inconsiderate.
It doesn't become an error in Flex Builder and Flash Develop.
Because an internal class is used, it is thought that the bug of
FLASH CS4 is a cause.
http://www.dpdk.nl/opensource/internal-classes-confuse-cs4-compiler
We learnt there was such a problem for the first time.
The method of evading this problem is examined.
Best regards
Though I think there are some strangeness in this.
1. In the example, a flarlogo.pat is used as pattern.
But that doesn't fit to the code "new FLARCode(16, 16)" in
ARAppBase.as
This way it detects very bad.
2. The width & height (16, 16) should be variables.
3. Where is the setting for marker size?
My questions are based on how the detection works in other AR apps
(and previous flartoolkit versions)
http://www.squidder.com/2009/03/05/for-nerds-only-custom-flar-markers-explained/
The included flarlogo.pat doesn't seem to fit any kind of x by x
pattern dimensions.
default:
hrow new NyARException();
}
need to be
default:
throw new NyARException();
}
Some grammatical errors were corrected.
version 2.5.0a released.
There is a report that marker detection is amusing.
I also compared v1.x with v2.x, and the marker detection was
confirmed.
v2.x seems to have the bug in the part of the marker detection.
I reported on this bug to nyatla.
He is starting the cause of this bug being looked for.
There is a possibility that the sample program is strange, too.
Please help someone to look for this cause.
About FLASH CS4.
I think that there is no problem if swc of NyARToolKit and FLARToolKit
is made.
I am confirming it.
Best regards,
it is :))
at _PV3DARApp::onEnterFrame
var detected:Boolean = false;
try {
trace("-");
detected = _detector.detectMarkerLite(_raster, 80) &&
_detector.getConfidence() > 0.5;
trace(_detector.getConfidence());
} catch (e:Error) {
trace(e.getStackTrace()); //<<Insert
}
Please wait until correcting.
I am having a problem building my application with this FLARToolKit
version. I am using Flash Builder 4 Beta, and its show this errors:
Type was not found or was not a compile-time constant: IFLARRgbRaster.
FLARSquidderMarkerDetector.as /bugs/[source path] flar/com/squidder/
flar/detector line 135 Flex Problem
Type was not found or was not a compile-time constant:
FLARMultiMarkerDetectorResult. FLARSquidderMarkerDetector.as /bugs/
[source path] flar/com/squidder/flar/detector line 280 Flex Problem
Type was not found or was not a compile-time constant:
FLARMultiMarkerDetectorResult. FLARSquidderMarkerDetector.as /bugs/
[source path] flar/com/squidder/flar/detector line 296 Flex Problem
Thanks!
There is a report that marker detection is strange. (><
Because the machine translation does interesting conversion,
I am embarrassed.
Please forgive me though there might be a weird expression.
try-catch is generally VERY slow in AS3 so try to not use it
In v 2x if u remove try-catch - there will be a messege that "to many
labels - gave up".
And this appears if i add
trace(_detector.detectMarkerLite(_raster, 80)) above the try-catch
So, the app stops and errors follows to:
org.libspark.flartoolkit.core.squaredetect.FLContourPickup->public
function getContour_FLARBinRaster
where many infinity loops like for(;;){}. I thought this was the
problem, but now i don`t know.
The bug was a error of effective label counter at FLARLabeling.as.
This is a bug fix release.
Please try.
You can get it from our download page:
http://www.libspark.org/wiki/saqoosha/FLARToolKit/download
Version 2.5.1 is released on around February 20.
When compiling I get this error:
1046: Type was not found or was not a compile-time constant:
FLARDoubleMatrix34. FLARManager/src/com/transmote/flar/marker
FLARMarker.as line 97 1265800407640 1521
any suggestion?
cheers,
-
Fra
Using away3dlite as 3d engine is really a performance booster.
Great work guys!
-e
Tried to implement it myself in some branch of Nyatla, but having some
minor problems with the perspective..
-t