Re: [osg-users] [build] osg on ARM (iMX6) shows no display

2014-12-08 Thread Sebastian Messerschmidt
Hi Weitao, The warnings are due to fixed state elements in your scene graph. They are simply not supported anymore. You will need to remove them (by using a visitor e.g.) and replace them with equivalents in your shaders. It might also cause your "invalid enumerant". Cheers Sebastian Hi,

Re: [osg-users] [build] osg on ARM (iMX6) shows no display

2014-12-08 Thread Weitao Hou
Hi, I set OSG_NOTIFY_LEVEL to INFO,a.txt is the output. Thank you! Cheers, Weitao -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62000#62000 Attachments: http://forum.openscenegraph.org//files/a_955.txt ___

[osg-users] [build] osg on ARM (iMX6) shows no display

2014-12-08 Thread Weitao Hou
Hi, I already successfully used gles1.1 for compling osg3.2.0 on the ARM Platform (CPU:i.MX6 OS:ubuntu)。Now I use gles2.0 instead of gles1.1 for compling OSG. When I run the command that is "./osgviewer cow.osg", it just show nothing but blue screen . I am sure the env is correct. on p

Re: [osg-users] Does OSG support reading RGB8/RGBA8 PNG image data?

2014-12-08 Thread umesh ramesh
Hi, I am still not able to make out whether OSG or its PlugIns automatically determine the size of RGB/RGBA components and load accordingly to OpenGL through glTexImage2D(). Technically it must do in that way. When we program using direct OpenGL we provide glTexImage2D with the correct format &

Re: [osg-users] reading the color buffer in stereo mode

2014-12-08 Thread whu
thanks for Robert's kind answers. Currently, my osg version is 3.3.1, and I used the QUAD_BUFFER stereo mode. Next, I will try Robert's suggestion, using glReadBuffer() and glReadPixles(). thanks very much again. @Robert whu At 2014-12-08 22:47:13, "c" wrote: Hi Whu, How to capt

Re: [osg-users] reading the color buffer in stereo mode

2014-12-08 Thread Robert Osfield
Hi Whu, How to capture stereo images will depend upon what type of stereo your application is using and which version of the OSG you are using. The code you have provided might be roughly how you'd approach capturing a quad buffer stereo setup. You'd need to change the Camera::setReadBuffer() ca

Re: [osg-users] reading the color buffer in stereo mode

2014-12-08 Thread whu
yes, I got once from 2003~2007. and you ? At 2014-12-08 21:57:26, "WillScott" wrote: Are you from Wuhan University? Date: Mon, 8 Dec 2014 20:12:42 +0800 From: wyg030...@163.com To: osg-users@lists.openscenegraph.org Subject: [osg-users] reading the color buffer in stereo mode Dear

Re: [osg-users] reading the color buffer in stereo mode

2014-12-08 Thread WillScott
Are you from Wuhan University? Date: Mon, 8 Dec 2014 20:12:42 +0800 From: wyg030...@163.com To: osg-users@lists.openscenegraph.org Subject: [osg-users] reading the color buffer in stereo mode Dear all, I was still trying to fetch the left-eye and right-eye images in the stereo mode. code as foll

[osg-users] reading the color buffer in stereo mode

2014-12-08 Thread whu
Dear all, I was still trying to fetch the left-eye and right-eye images in the stereo mode. code as follow: class: class CaptureDrawCallBack : public osg::Camera::DrawCallback the key overload function: void operator()(osg::RenderInfo &renderInfo) const { // capture , bool ,when I want