Audiovisual Information on Clicking .DAE model

26 views
Skip to first unread message

jinesh patel

unread,
Jan 10, 2012, 3:07:11 AM1/10/12
to FLARToolKit userz
Hi guys,

I am a newbie with FLAR and have a project wherein i need to display
the college campus on detecting its printed marker.
And on clicking a particular building, i need to display audiovisual
information(eg. Dept. details, Dean's Message,etc).

I have installed and experimented with FLAR using the process shown
here-> http://www.youtube.com/watch?v=jU6PcBS1pWw

I really need help with this project.
Thanks.

Daniel Ferenc Szak

unread,
Jan 10, 2012, 3:17:36 AM1/10/12
to flartool...@googlegroups.com

Good day,

do You have any question in particular?

jinesh patel

unread,
Jan 10, 2012, 3:22:55 AM1/10/12
to FLARToolKit userz
Yes, how to go about starting with this project.
As of now I have been successful displaying a model of just one
building made using sketch-up,and that too a greyscale model, not
color.
I wanted to know how to display information by clicking that model.

Thank you


On Jan 10, 1:17 pm, Daniel Ferenc Szak <daniels...@gmail.com> wrote:
> Good day,
>
> do You have any question in particular?

Daniel Ferenc Szak

unread,
Jan 10, 2012, 3:26:30 AM1/10/12
to flartool...@googlegroups.com

Are You a newbee to Flash/as3 as well?

If so, maybe somebody can help You with a complete sample proyect (there are some people with a lot of initiative in this mailing list)!

If not, please be more specific.

happy coding.

jinesh patel

unread,
Jan 10, 2012, 3:41:05 AM1/10/12
to FLARToolKit userz
Yes, I am a newbie to Flash.
Being specific, do the FLARToolkit have function which allows onClick
events?

On Jan 10, 1:26 pm, Daniel Ferenc Szak <daniels...@gmail.com> wrote:
> Are You a newbee to Flash/as3 as well?
>
> If so, maybe somebody can help You with a complete sample proyect (there
> are some people with a lot of initiative in this mailing list)!
>
> If not, please be more specific.
>
> happy coding.

Daniel Ferenc Szak

unread,
Jan 10, 2012, 3:55:43 AM1/10/12
to flartool...@googlegroups.com

No, it is not what flartoolkit is for. It's only job is to get a video feed from the webcam and parse it for possible markers and if found any, calculate the transformation vector matrix out of it.
This matrix is what You 'feed' into the 3d renderer library, doing ALL the drawing - hence You have to interact with that library/engine for mouse events on its objects.

Hope this make sense.
happy coding,
daniel

Thangaraj

unread,
Jan 10, 2012, 6:28:58 AM1/10/12
to flartool...@googlegroups.com
Hi Jinesh,

You know to load the 3d models.... check the below code for making 3d models interactivity


dae1 = new DAE();
dae1.load(daeFile);
dae1.scale = 165;
dae1.addEventListener(Event.COMPLETE, daeLoadComplete);

}

private function daeLoadComplete(e:Event):void {
stage.addEventListener(MouseEvent.MOUSE_DOWN, Pressed);

}

private function Pressed (e:MouseEvent):void {
// your code  here
}
--
Thanks,
Thangaraj.S

Vera Chan

unread,
Jan 10, 2012, 6:59:49 AM1/10/12
to flartool...@googlegroups.com
hallo.. Thangaraj 
did you suitable using java script ? if you can, you can try using unity3D.
i ever make interaction button for augmented, but using other software and for android mobile.
it just for changing material, the rest still in explore.
you can see this one as references http://youtu.be/gvVONFC079E
is it that what you mean?

Thangaraj

unread,
Jan 10, 2012, 7:10:06 AM1/10/12
to flartool...@googlegroups.com
Vera Chan 

Thank you, Its not for me...
--
Thanks,
Thangaraj.S

Vera Chan

unread,
Jan 10, 2012, 7:25:11 AM1/10/12
to flartool...@googlegroups.com
oh sorry :)

Shachar Oz

unread,
Jan 11, 2012, 4:23:39 AM1/11/12
to FLARToolKit userz
Hi Jinesh,
please try an
Search for the free project in flartoolkit i published in these
forums. it would ease your learning curve.



On 10 ינואר, 14:25, Vera Chan <bubunc...@gmail.com> wrote:
> oh sorry :)

jinesh patel

unread,
Jan 11, 2012, 12:28:31 PM1/11/12
to FLARToolKit userz
I will definitely try this code and let you know about the result
soon.
Hope this works.. Thank you.

On Jan 10, 4:28 pm, Thangaraj <thangaraj.thangar...@gmail.com> wrote:
> Hi Jinesh,
>
> You know to load the 3d models.... check the below code for making 3d
> models interactivity
>
> dae1 = new DAE();
> dae1.load(daeFile);
> dae1.scale = 165;
> dae1.addEventListener(Event.COMPLETE, daeLoadComplete);
>
> }
>
> private function daeLoadComplete(e:Event):void {
> stage.addEventListener(MouseEvent.MOUSE_DOWN, Pressed);
>
> }
>
> private function Pressed (e:MouseEvent):void {
> // your code  here
>
> }
>
> On Tue, Jan 10, 2012 at 2:25 PM, Daniel Ferenc Szak <daniels...@gmail.com>wrote:
>
>
>
>
>
>
>
>
>
> > No, it is not what flartoolkit is for. It's only job is to get a video
> > feed from the webcam and parse it for possible markers and if found any,
> > calculate the transformation vector matrix out of it.
> > This matrix is what You 'feed' into the 3d renderer library, doing ALL the
> > drawing - hence You have to interact with that library/engine for mouse
> > events on its objects.
>
> > Hope this make sense.
> > happy coding,
> > daniel

jinesh patel

unread,
Jan 11, 2012, 12:32:10 PM1/11/12
to FLARToolKit userz
Sure, i will go through the forum at let you know!

FLARManager might make things simpler i suppose.
Thanks!
Reply all
Reply to author
Forward
0 new messages