Re: [osg-users] manual camera view matrix update

2011-09-07 Thread Rubén Díaz
It is weird... I've accessed the value with getUseModelViewAndProjectionUniforms() and it's set to true. :S Cheers, Rubén -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42476#42476 ___ osg-users ma

Re: [osg-users] manual camera view matrix update

2011-09-07 Thread Rubén Díaz
Hi, Thanks for your reply! Well, I've tried with the "osg_" uniforms instead of the typical "gl_" uniforms. Still not good. My model appears but the camera matrix uniform just doesn't update by using Code: _viewer->getCamera()->setViewMatrix(osgMat); The shader I am using is: Code: stat

[osg-users] manual camera view matrix update

2011-09-06 Thread Rubén Díaz
Hi there, This should be a quick one. I am using OSG compiled for Android OpenGL ES 2.0. I have my app up and running on the device. My shaders for the object I am displaying doesn't do anything special, but it works just fine. My problem is, I need to update the camera matrix manually, this mea

Re: [osg-users] [build] problem compiling osg 3.0.0 for Android

2011-07-28 Thread Rubén Díaz
Hi, just a quick one... (I was not sure whether I should have posted it here or somewhere else. anyway...) I was testing the example application for OpenGL ES 2.0 and worked flawlessly using the Android 2.2 SDK. I tested on a Samsung Galaxy Tablet. I am testing now, using the Android 3.1 SDK fo

Re: [osg-users] osgDB::readNodeFile returning null in Android

2011-07-21 Thread Rubén Díaz
adb shell certainly the way to go... Thanks! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41547#41547 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

[osg-users] osgDB::readNodeFile returning null in Android

2011-07-20 Thread Rubén Díaz
Hi there, I am new to Android and fairly new to OSG. I recently managed to compile Android for OpenGL ES 2.0 on Ubuntu Linux 11.04 following http://forum.openscenegraph.org/viewtopic.php?t=8774. Everything worked fine and now I get "the OSG blue screen" on my device already. I am attempting

Re: [osg-users] [build] problem compiling osg 3.0.0 for Android

2011-07-20 Thread Rubén Díaz
Cool, thanks! Good luck with your project! Cheers, Rubén -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41494#41494 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensce

Re: [osg-users] [build] problem compiling osg 3.0.0 for Android

2011-07-18 Thread Rubén Díaz
Hi again, > Have fun with Osg and Android. Thanks, I'll do my best :P I've been checking out the android examples, both osgAndroidExampleGLES1 and osgAndroidExampleGLES2. No problem with osgAndroidExampleGLES1 :) But when it comes to do the same thing with osgAndroidExampleGLES2, I am not

Re: [osg-users] [build] problem compiling osg 3.0.0 for Android

2011-07-15 Thread Rubén Díaz
Hi, Thanks a lot for your reply. I tried with the changes that you suggested and still didn't work using the graphic frontend for cmake. Using the console, everything fine. (I used r6, and got osg from trunk). Thanks again! Cheers, ruben -- Read this topic online here: http:

Re: [osg-users] [build] problem compiling osg 3.0.0 for Android

2011-07-14 Thread Rubén Díaz
Hi, I am having some trouble compiling osg for Android... These are the options I pick with cmake: Code: OSG_GL1_AVAILABLEOFF OSG_GL2_AVAILABLEOFF OSG_GL3_AVAILABLEOFF OSG_GLES1_AVAILABLE OFF OSG_GLES2_AVAILABLE ON OPENGL_INCLUDE /home/rubn/data/android/gl/k