Jump to content
  • Advertisement
Sign in to follow this  
giugio

artoolkitplus

This topic is 2943 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello
I'm creating an application with artoolkitplus.
I use two maps <> stl and i do do a difference between the number of markers present previously and those currently recognized.
My problem is that sometimes I have a quick recognition and quick loss recognition of markers.
For each marker i have associated a class CMarker, what I thought was to use a variable that records the time since it was "lost sight of" the last time, and if this value exceeds a certain threshold is destroyed and removed from maps , so that if the marker is not recognized for a split second I don't have to re-create the marker and add it and remove from the maps.
often it happens that a marker is lost for a fraction of a second and then is immediately recognized.
And 'maybe wrong the use of maps or the use of the difference between the two containers?
Advice?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!