By tripledov
on Wed, 06/20/2012 - 17:10
hi,
first, thanks allot for this great product!
i want to use vuforia AND use Ogre3D render engine for the 3d part.
however, when i tried to integrate vuforia and ogre i ran into allot of troubles:
the main issues is that vuforia hogs the camera and opengl!
first, i needed to change my run loop to be vuforia's renderFrameQCAR function - otherwise i could not render my scene.
second, i couldn't use my own capture session - it clashes with vuforias.
vuforia hogs the camera :-\
the 3d engine has its own context (and so i disabled vuforia's context) and so i cannot draw the video using vuforia.
also, i want also to search for QR codes with another library (zbar) so i took the frame with state->getFrame()->getImage function
the biggest problem is that the camera fps is low now (on iphone 4 its low even without 3d molded loaded).
(which wouldn't happened with capture session..)
the camera should be smooth! marker detection should take more time if needed.. but vuforia force them into one loop.
the best scenario is that i could give vuforia an image and it would tell me what markers are there..
or that vuforia will be somehow on the background..
please, good peaple of vuforia! how can i use your great product with another 3d render engine?!
i tried so many things.. : (
if only i could use an AVcaptureSession
thanks allot,
dovi
Re: using a 3d engine
Re: using a 3d engine
using a 3d engine
Hi,
I'm also trying to get ogre3d and vuforia integrated with eachother. However I couldn't quite grasp where I need to put the code to set the ogre3d context? Is this done in the setFrameBuffer or presentFrameBuffer function?
And how do i subview the ogre eaglview to this view?
using a 3d engine
Sorry for late reply.
using a 3d engine
I have the following:
using a 3d engine
Ok, i managed to integrate the two. I did the following:
Read out the camera frame (qcar), created a dynamic texture (ogre3d) used as 2d background (ogre3d).
using a 3d engine
double post ...
using a 3d engine
You are correct about the camera's frame rate - the interval is actually fixed.
Please share any code that you can.