Hi Minsung,
The sample project is not capable of displaying 3d models... I think I
have to change that, as it confuses people.
As suzy said, you have to implement your own draw method in order to
draw something different then the green cube.
Well object's can not easily be clicked. Though it's not impossible.
You have access to the transformation matrix of every object in the
camera coordinate system.
Have a look at this website, containing further information about the
coordinate system of ARToolkit:
http://www.hitl.washington.edu/artoolkit/documentation/cs.htm
Regards
Tobi
On 16 Jul., 21:52, Suzy Deffeyes <
suzy...@gmail.com> wrote:
> Hi Minsung
>
> So in your code snippet below, you can have CustomObject class for the first type of thing you want to render, and then derive a subclass and override the draw routine for a different thing. So android.patt would render one thing, and hiro.patt another.
>
> The intent launching doesn't work with the current code, and there is another problem.... I don't know of an easy way to click on a 3d object. The click is in 2d window coordinates, and the objects are in 3d. So figuring out what object you clicked on isn't easy.
>
> Suzy
>
> Sent from my iPad
>