<div>win10  gtx1080  osg3.6.4 </div><div><br></div><div>osg::ref_ptr<osg::Image> image =</div><div>    osgDB::readImageFile( "picture.bmp" );</div><div>osg::ref_ptr<osg::Texture2D> texture = new osg::Texture2D;</div><div>texture->setImage( image.get() );</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/5e38a08c-cf0a-4250-b5a3-61fd88eb7a06n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/5e38a08c-cf0a-4250-b5a3-61fd88eb7a06n%40googlegroups.com</a>.<br />