Hi Robert, Unfortunatly I'm always not able to display correctly my texture. For the moment I have a black texture...
I'm probably wrong when assigning texture coordinates of the 1D Texture but I don't know how I should do. Could you plpease help me for this ? I do the following. I load the image in two parts. First the color table in a 1D Texture thanks to a TransferFunction1D instance, then I create a 2D Texture with the data of the image. I verify and this two images are ok so the associated textures too. Then I assign the texture coordinates to the texture 2D (the same as before when the image was loading like a 32 bits image) thanks to setTexCoordArray on my osg::Geometry. For the 1D Texture I'm a little bit lost and don't know really what assign as texture coordinates. I tried with GL_TEXTURE_GEN_S but have always this black texture as result. Do you have an idea of how I can see the colour on my texture ? Thanks in advance for your help, Adrien. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32291#32291 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

