Hi,

I compiled OSG 3.4.0 from source and ran osgviewer to load the following 
models: cessna, cow, cube_mapped_torus. All models render correctly.

I also ran osgshadercomposition, which renders five instances of each model 
mentioned above. However, for each run, the last three instances lack texture.

1) I just want to ask if anyone has seen this symptom and if there's a work 
around. Hopefully, it is an environment issue that's easy to fix.

2) My own debugging indicates that

texcoord = gl_MultiTexCoord0.xy;

may be assigning 0 to texcoord.

3) I also searched a little bit and invoked

State::setUseModelViewAndProjectionUniform()
State::setUseVertexAttributeAliasing()

both to true. The base color seems to switch from white to blue. But the 
texture is still missing.

Any help is greatly appreciated.

Ge

Linux j 4.3.0-1-amd64 #1 SMP Debian 4.3.3-7 (2016-01-19) x86_64 GNU/Linux
05:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK106GL [Quadro 
K4000] [10de:11fa] (rev a1)
NVidia driver version 340.96

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





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

Reply via email to