Log in or register to post comments

Change Image marker in Virtual Buttons

July 17, 2012 - 10:53pm #1

Hi! I really need some help now. I have no idea how to change the background or image marker of the virtual button. How will I do that? Thanks!

Change Image marker in Virtual Buttons

July 18, 2012 - 12:15pm #2

Virtual buttons are defined for a given ImageTarget. So you will need to change the ImageTarget by adding its dataset resources to the assets folder, and then loading and activating this.

See Java_com_qualcomm_QCARSamples_VirtualButtons_VirtualButtons_loadTrackerData @ ln 138 in VirtualButtons.cpp for an example.

Also the VirtualButtons will need to be defined within the XML files of the dataset that you are using. See the Virtual Buttons section of the Developer Guide under Trackables for documentation on how to implement Virtual Buttons on an ImageTarget - https://ar.qualcomm.at/developer_guide

 

Log in or register to post comments