Multi Marker Test.
Hi.
I released example of multi marker for FLARToolKit.
Check it out!
Creating multi marker is very difficult.
Source code is here.
caution:You need a webcam to play this contents.
How to use
- Print this marker and this marker.
- open demo.
- Please wait.
- Point your webcam at the printed markers.
Ads
Ad
Ad
Ads
Comments
Thank you, This is really great!
This is what I need.
But I have some questions …
Why I will provide you with the source code is read after the execution can not sign it?
In the code I do not see camera_para.dat, in this example is not to be need?
hi tarotaro. thanks for posting this.
what branch of FLARToolkit does this example use? does this use alchemy?
Hi, ericsoco.
This example uses FLARToolKit ver1.0.0.
Thank you.
can you please give me download link for the the project ,,thx
Hi, afish.
What is “project”, do you mean?
You say about Flash builder project?
I don’t have project file because I don’t use Flash builder.
Thank you.
heyy, i have erro like this.
Error #1010: A term is undefined and has no properties.
at org.libspark.flartoolkit.detector::FLARMultiMarkerDetector()
sry, problem above solve. heyy guys, i don’t look camera_param.dat . n my project do not view object cube. whats wrong,,,,??
Hi, gabscung .
Can you compile build and execute this code?
This code doesn’t need camera_para.dat.
Something may be wrong in your project.
For example, FLARTK version .
Please review it.
Thank you.
Hey tarotarorg,
I got an error saying that “Type was not found or was not a compile-time constant: FLARParam”. Could you please guide me?
Thanks.
hello, in my case I get the following error: -1067: Implicit conversion from a value of type Array to an unrelated type _AS3_vec.vecVector.
-1067: Implicit conversion from a value of type Array to a type _AS3_: vec: Vector. Unrelated. I could tell that it should?
Hi, Daniel
Your compiler version may be old.
Please try to compile using latest Flex SDK.
Thank you.
hi, i’m trying to learn how to detect multiple markers, however
link to these markers cannot be opened
errors occurred when i open the source code in FlashDevelop
could you please help me ? thank you so much
errors:
E:\Files\FL\arproject\MultiMarkerTest.as(36): col: 2 Error: The public attribute can only be used inside a package.
E:\Files\FL\arproject\MultiMarkerTest.as(174): col: 2 Error: Syntax error.
Hi, Joe.
Thank you for your reporting.
I test it.
I have no errors in my project but I can see my cubes or project or in the example we are here, why?
Hi taro, do you know how to put collada *.dae 3D into the object?
Thanks b4
wh’s up i check the code i don’t know if it’s wrong or was leave it like that on purpose but i found patt.hiro instead hiro.pat which one is right thanx awesome tut see ya
Excellent, thank you very much for the contribution it worked great.
i try to load 2 .dae models with 2 makers… i try to generate the next code but say error you can use only one public attribute inside one package… help me please
package {
import flash.events.Event;
import org.papervision3d.objects.parsers.DAE;
[SWF(width=640, height=480, backgroundColor=0x808080, frameRate=30)]
public class Earth extends PV3DARApp {
private var _earth:DAE;
public function Earth() {
addEventListener(Event.INIT, _onInit);
init(‘Data/camera_para.dat’, ‘Data/flarlogo.pat’);
}
private function _onInit(e:Event):void {
_earth = new DAE();
_earth.load(‘model/earth.dae’);
_earth.scale = 9;
_earth.rotationX = 90;
_markerNode.addChild(_earth);
addEventListener(Event.ENTER_FRAME, _update);
}
private function _update(e:Event):void {
_earth.rotationZ -= 0.1
}
}
}
public class Earth2 extends PV3DARApp {
private var _earth2:DAE;
public function Earth2() {
addEventListener(Event.INIT, _onInit);
init(‘Data/camera_para.dat’, ‘Data/cortado.pat’);
}
private function _onInit(e:Event):void {
_earth2 = new DAE();
_earth2.load(‘model/earth2.dae’);
_earth2.scale = 9;
_earth2.rotationX = 90;
_markerNode.addChild(_earth2);
addEventListener(Event.ENTER_FRAME, _update);
}
private function _update(e:Event):void {
_earth2.rotationZ -= 0.1
}
}
}
Hello,i am a HK student who start using Flash Builder for trying to do multi marker of AR,(i don’t know programming too much)….can u teach me how to perform A marker can show A picture,B marker can show B picture by using FLARMultiMarkerDetector?
{i hv try to make the demo…i hope u may understand wt i am talking…(http://www.4shared.com/video/BTzKcMTT/Screen_Record_2013-03-10_at_21.html) .. can u teach me to do this in a simple way?}
Taro:
Thank you very much for the code… it worked well for me. Do you know if it’s possible to make the multi-marker test work with FlarToolKit 4.0? I am trying to make it as fast as possible.
Thanks again,
-Gabriel