Hi Robert,

thanks for your reply.
I am using OpenSceneGraph 3.4.0 and OpenGL/ES 2.0.

I used the following command to prepare the building process:

Code:

cmake 
-DCMAKE_TOOLCHAIN_FILE=/home/user/Downloads/scripts/toolchain.tegra-hf.cmake 
-DOPENGL_PROFILE=GLES2 -DBUILD_OSG_APPLICATIONS:BOOL=OFF 
-DOSG_GL1_AVAILABLE:BOOL=OFF -DOSG_GL2_AVAILABLE:BOOL=OFF 
-DOSG_GL3_AVAILABLE:BOOL=OFF -DOSG_GLES1_AVAILABLE:BOOL=OFF 
-DOSG_GLES2_AVAILABLE:BOOL=ON -DOSG_GL_DISPLAYLISTS_AVAILABLE:BOOL=OFF 
-DOSG_GL_FIXED_FUNCTION_AVAILABLE:BOOL=OFF -DOSG_GL_LIBRARY_STATIC:BOOL=OFF 
-DOSG_GL_MATRICES_AVAILABLE:BOOL=OFF 
-DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE:BOOL=OFF 
-DOSG_GL_VERTEX_FUNCS_AVAILABLE:BOOL=OFF -DDYNAMIC_OPENSCENEGRAPH:BOOL=ON 
-DDYNAMIC_OPENTHREADS:BOOL=ON -DBUILD_OSG_PLUGINS:BOOL=ON 
-DOPENTHREADS_SONAMES=OFF -DBUILD_OSG_EXAMPLES=OFF 
-DOPENGL_INCLUDE_DIR=/home/user/armcross/tegra-hf/arm-linux-gnueabihf/libc/usr/include/
 
-DOPENGL_egl_LIBRARY=/home/user/armcross/tegra-hf/arm-linux-gnueabihf/libc/usr/lib/libGLESv2.so
 
-DLD_LIBRARY_PATH=/home/user/armcross/tegra-hf/arm-linux-gnueabihf/libc/lib/:/home/user/armcross/tegra-hf/arm-linux-gnueabihf/libc/usr
 /lib/ 
-DCMAKE_SYSTEM_PREFIX_PATH=/home/user/armcross/tegra-hf/arm-linux-gnueabihf/libc
 -DTHREADS_HAVE_PTHREAD_ARG=ON -D_OPENTHREADS_ATOMIC_USE_GCC_BUILTINS=ON 
-DQT_QMAKE_EXECUTABLE=/home/user/tmp/Qt/bin/qmake 
-DQt5Widgets_DIR=/home/user/tmp/Qt/lib/cmake/Qt5Widgets 
-DQt5Gui_DIR=/home/user/tmp/Qt/lib/cmake/Qt5Gui 
-DQt5Core_DIR=/home/user/tmp/Qt/lib/cmake/Qt5Core 
-DQt5OpenGL_DIR=/home/user/tmp/Qt/lib/cmake/Qt5OpenGL 
-DOPENGL_gl_LIBRARY=/home/user/armcross/tegra-hf/arm-linux-gnueabihf/libc/usr/lib/libGLESv2.so
 
-DCURL_LIBRARY=/home/user/armcross/tegra-hf/arm-linux-gnueabihf/libc/usr/lib/libcurl.so
 -DCURL_IS_STATIC:BOOL=OFF ../OpenSceneGraph-OpenSceneGraph-3.4.0




I'd say that the shader is coming from OSG side, because I don't set it for 
these labels in my program. 

Cheers,
Bojan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71471#71471





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to