Well, dont remember exactly what i done. First, you have to setup the matrix proj correctly. Second, you need to set the correct modelview matrix at every frame. My modelview matrix was obtained tracking a 2D marker. You have to setup the matrix at the top of the Opengl matrix stack...I update the camera in the renderme() method you can find in the DemoApplication.cpp file. Hope this helps!
Great ! Now I use Bullet Physics in Augmented reality too.But I have a problem in collision detection between triangle mesh(collision object). When 2 collision objects hit each other, rotation and translation not correct. So could you please suggest me or can you describe me about your collision code.
What library you used for AR? And how did you implement the hand tracking? It looks like a reaction to the marker being blocked.
marsrendezvous 9 months ago
@marsrendezvous Hi, i developed my own C++ AR library. The hand tracking was based on a simply pixel classifier.
FrontierVision 8 months ago
@FrontierVision Ok. Thanks for the answer.
marsrendezvous 4 months ago
Well, dont remember exactly what i done. First, you have to setup the matrix proj correctly. Second, you need to set the correct modelview matrix at every frame. My modelview matrix was obtained tracking a 2D marker. You have to setup the matrix at the top of the Opengl matrix stack...I update the camera in the renderme() method you can find in the DemoApplication.cpp file. Hope this helps!
FrontierVision 1 year ago
Great ! Now I use Bullet Physics in Augmented reality too.But I have a problem in collision detection between triangle mesh(collision object). When 2 collision objects hit each other, rotation and translation not correct. So could you please suggest me or can you describe me about your collision code.
Thanks,
Tarinee
tarijang 1 year ago