Re: [osg-users] osgAndroidExampleGLES2 can not drag and zoom the model cow.osg.
Hi, Sergey First thanks for your reply. I have solved this problem :) Sergey Kurdakov wrote: Hi Xia, for loading cow.osg there was answer - there is need to write your own loader, which will pass textures to respective shaders to save osg models in OpenGL ES 2.0 friendly format there is a write plugin https://github.com/cedricpinson/osg/tree/master/src/osgPlugins/osgjs (https://github.com/cedricpinson/osg/tree/master/src/osgPlugins/osgjs) but you would have to write a loader yourself though older files from https://code.google.com/p/hogbox/ (https://code.google.com/p/hogbox/) - you can retrieve older versions of files via source control app, as new code has little code for loaders, have some hints to help to write your own loader. Regards Sergey On Sun, Sep 28, 2014 at 7:06 AM, Xia Qingran () wrote: And there is another problem, the texture of cow.osg can not be loaded. I have copied the Images directory to my phone. ... Thank you! Cheers, Xia -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61191#61191 (http://forum.openscenegraph.org/viewtopic.php?p=61191#61191) ___ osg-users mailing list () http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) -- Post generated by Mail2Forum -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61269#61269 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgAndroidExampleGLES2 can not drag and zoom the model cow.osg.
And there is another problem, the texture of cow.osg can not be loaded. I have copied the Images directory to my phone. ... Thank you! Cheers, Xia -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61191#61191 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgAndroidExampleGLES2 can not drag and zoom the model cow.osg.
Hi Xia, for loading cow.osg there was answer - there is need to write your own loader, which will pass textures to respective shaders to save osg models in OpenGL ES 2.0 friendly format there is a write plugin https://github.com/cedricpinson/osg/tree/master/src/osgPlugins/osgjs but you would have to write a loader yourself though older files from https://code.google.com/p/hogbox/ - you can retrieve older versions of files via source control app, as new code has little code for loaders, have some hints to help to write your own loader. Regards Sergey On Sun, Sep 28, 2014 at 7:06 AM, Xia Qingran qingran@gmail.com wrote: And there is another problem, the texture of cow.osg can not be loaded. I have copied the Images directory to my phone. ... Thank you! Cheers, Xia -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61191#61191 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgAndroidExampleGLES2 can not drag and zoom the model cow.osg.
Hi, I have built the osgAndroidExampleGLES2 android apk and install it on my Android phone. It can load the cow.osg, but it can not drag and zoom the model. If I tried to use two fingers to enlarge the model, then the model is gone. The snapshot is on the attachment. I use the latest source code from your svn source tree TRUNK. I built them on my Windows 7 x64 platform by cygwin and Android NDK r10b. ... Thank you! Cheers, Xia[img][/img] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61172#61172 Attachments: http://forum.openscenegraph.org//files/screenshot_2014_09_26_11_00_44_159.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org