Multiple camera size issue

Bug #1498585 reported by Jeremy Laviole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ARToolKitPlus
New
Undecided
Unassigned

Bug Description

Hello,

There is a bug, that has been bothering me for quite some time. After some hours spent on it I finally found it !
I use ARToolKitPlus through JavaCPP-presets, and I had memory troubles with multiple cameras.

For some reasons there are "screenWidth" and "screenHeight" of Tracker class that are Static.
This caused memory corruption in the "arLabelingImpl" because the memory buffer associated with the memory (l_imageL)
was resized for some reason, sometimes too big without problem, or too small which caused crashes.

I found a fix, which I will upload for my JavaCPP-presets fork :  https://github.com/poqudrof/javacpp-presets, and include in the
official JavaCPP presets as soon as possible, waiting for a fix directly in ARToolKitPlus.

I am new to Launchpad, and Bazaar, so... I put the fix linked with this file (minor changes in Tracker.cpp/.h )

Cheers !

Jeremy.

Revision history for this message
Jeremy Laviole (jeremy-laviole) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.