Thank you very much, but this method only works for four point texture coordinates  <br><br><div class="gmail_quote"><div dir="auto" class="gmail_attr">在2021年1月19日星期二 UTC+8 下午10:32:48<l.vo...@rug.nl> 写道:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><div>This should do a 180 rotation:</div>image->flipVertical();<br>image->flipHorizontal();<div>Laurens.<br><div><br></div></div></div><br><div class="gmail_quote"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 19, 2021 at 1:21 PM <a href data-email-masked rel="nofollow">mirr...@gmail.com</a> <<a href data-email-masked rel="nofollow">mirr...@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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></blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

-- <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 data-email-masked rel="nofollow">osg-users+...@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" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=https://groups.google.com/d/msgid/osg-users/5e38a08c-cf0a-4250-b5a3-61fd88eb7a06n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1611643299247000&usg=AFQjCNEaY7K-PLuPeZWRc2gnQzYLLyyASw">https://groups.google.com/d/msgid/osg-users/5e38a08c-cf0a-4250-b5a3-61fd88eb7a06n%40googlegroups.com</a>.<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href data-email-masked rel="nofollow">osg-...@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer nofollow" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org&source=gmail&ust=1611643299247000&usg=AFQjCNEqp8hqqGtnNSvefA4kwYDrySp1Cg">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>
</blockquote></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/094180cb-cee3-4e1b-915f-a5b931009bd9n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/094180cb-cee3-4e1b-915f-a5b931009bd9n%40googlegroups.com</a>.<br />