Hi Koduri,
I forgot to mention in the previous post that I made video as background by
making GL_DEPTH_BUFFER_BIT. That is I used
_viewer-getCamera()-setClearMask(GL_DEPTH_BUFFER_BIT ).
I have a look at the code of osgAnroidExample. But I am not able to find
any specific info about camera
Hi Jordi Torres,
Thanks a lot for the nice help.
To day I did some experiments.
The AR library is giving pose matrix. Now I decomposed it into tans, rotation
and scale vectors. And checked with each one by matrix multiplication. I found
that the translation vector is irrelevant. I got
Hi,
Thank you verymuch for the quick help.
I forgot to mention in the previous post that I made video as background by
making GL_DEPTH_BUFFER_BIT. That is I used
_viewer-getCamera()-setClearMask(GL_DEPTH_BUFFER_BIT ).
I have a look at the code of osgAnroidExample. But I am not able to find
Hi Jordi Torres,
Thank you very much for the help.
As you suggested I rendered the model with out transform. Model rendered on
screen.
I am using a 3rd party lib for AR tracking. This lib is configured video
background. This config is for video background.
Here is the config code
Code:
Hi Koduri,
As I said in the previous mail, try to set the osg GL_SURFACE as
trasparent. Take a look to osgAndroid (this project was released a week ago
by Rafa Gaitán), it has a camera example.
Cheers.
2012/9/3 Koduri Lakshmi ankiredd...@gmail.com
Hi Jordi Torres,
Thank you very much for
Hello Jordi Torres,
Thank you very much for the help.
I added OSG macros and got loaded models.
But when I say viewer-frame i am getting only blew screen. I am not able to
see model.
Here is my code
Code:
if(mload)
{
LOG(Init);
int x=0;
int y=0;
int
Hi Koduri,
Maybe you are not getting the correct matrix transformation of your
trackable, so try first to get the model shown without any transformation.
In the other hand _viewer-frame() has to be called every frame you want to
get, not once in your code. Pay attention to the method draw() in
Hi,
I build OSGAndroid example on Ubuntu device. I loaded and displayed OSG model
successfully on my mobile device.
Now I used the OSG lib in my project which are using some other libs.
I made changes to Android.mk and Application.mk and compiled successfully.
But to load model I gave static
Hi koduri,
Make sure you have added the macro USE_OSGPLUGIN(osg) in your code, maybe
this is the problem.
Cheers
El 28/08/2012 13:44, Koduri Lakshmi ankiredd...@gmail.com escribió:
Hi,
I build OSGAndroid example on Ubuntu device. I loaded and displayed OSG
model successfully on my mobile
9 matches
Mail list logo