nangoon / ehci

Automatically exported from code.google.com/p/ehci
0 stars 0 forks source link

simple3d not working on Mac #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

Ehci was compiled from the SVN using CMake without errors. The simple2d demo is 
working fine but simple3d can not determine the coordinates.

Here is an example output :

Reading values from data/config.ini
USE_RANSAC: 1
RANSAC_SAMPLES: 6
RANSAC_DISTANCE_THRESHOLD: 0
RANSAC_ITERATIONS: 20
CAMERA_INDEX: 0
Opening movie file: NO.80608
Disabling
Head Coordinates X:  +0.000 Y:  +0.000 Z: +0.000 [initializing] (Press Ctrl+C 
to finish)
Disabling
Error: no posit: number of points 1

The last 3 lines are repeated 30 times, then the output changes to :

Head Coordinates X:  +0.000 Y:  +0.000 Z: +0.000  (Press Ctrl+C to finish)

until the end of the execution.

I don't understand where it comes from.

Original issue reported on code.google.com by mpiu...@gmail.com on 10 Feb 2011 at 4:01

GoogleCodeExporter commented 8 years ago
Hi,
does it hang in the end of execution?

It seems ehci hasn't initialized correctly. You should click on the opengl 
window (the one with the 'Press i to reinitialize), face the camera (it does 
make difference), and press i. It should work.
Can you tell what did happen?

Best regards,
Daniel

Original comment by danielba...@gmail.com on 15 Feb 2011 at 12:41

GoogleCodeExporter commented 8 years ago
Hi Daniel,

It seems that the OpenGL window does not initialize properly, there is a window 
called "EHCI Window New" appearing but with only a title bar and no content 
beneath it.

Regards,

Marc

Original comment by mpiu...@gmail.com on 15 Feb 2011 at 10:06

GoogleCodeExporter commented 8 years ago
I'm having this same problem. Has there been any progress so far? I'll be sure 
to report back if I can fix it. 

Original comment by acgour...@gmail.com on 20 Jun 2011 at 12:09

GoogleCodeExporter commented 8 years ago
Actually I found the fix - inside simple3d.cpp I needed to call ehciLoop with 
debug set to '1' instead of '0'

inside ehci.cpp, when debug is set to 0 this path is never executed:

if(debug)
        cvShowImage( "EHCI Window", image );

Original comment by acgour...@gmail.com on 20 Jun 2011 at 12:40