Hi Ulrich, The texture file is okey. I tried few images, each with same result. When I scale down the texture, it doesn't show the problem. I set nothing special for my texture. Even if I try to map the texture on the pyramid from tutorial http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/Textures it shows dark peak.
Peter Ulrich Hertlein wrote: > Hi Peter, > > On 5/5/09 1:13 PM, Peter wrote: > > > I have a problem with large images. When I use the large image (1024x1024, > > PNG format) > > for texture mapping, it gives wrong result. There is a dark strip on the > > edge of the > > object. The farther the view is, the darker the strip is. > > Can anyone explain why it happened? > > > > Not based on your description. It could be a loader issue, texture target > (2D/RECT), > texture coordinates, lighting... you'll need to be more specific. > > Is the texture file okay? What happens when you scale down the texture (to > say 512x512) > does it show the same problem? > > Cheers, > /uli > _______________________________________________ > osg-users mailing list > > 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=11377#11377 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

