1. 首页
  2. three.js

three.js更改平面网格的宽度或高度,同时保持其图像纹理比例

three.jsn大家好!n我希望你一切都好。n我如何使用上面有图像纹理的平面作为纹理的遮罩,如下面的视频所示?n意思是,我想增加或减少平面网格的宽度或高度,同时保持其上图像纹理的比例。n请参阅视频参考。n谢谢!nhttps://aws1.dispatch-cdn.com/standard17/uploads/threejs/original/3X/4/3/43272b913242e016f2e7146a9adf750f6019715a.mp4n Changing the width or height of a Plane Mesh whiles maintaining its Image Texture Proportionsn

three.js更改平面网格的宽度或高度,同时保持其图像纹理比例 为WP2原创文章,链接:https://www.wp2.cn/three-js/three-js%e6%9b%b4%e6%94%b9%e5%b9%b3%e9%9d%a2%e7%bd%91%e6%a0%bc%e7%9a%84%e5%ae%bd%e5%ba%a6%e6%88%96%e9%ab%98%e5%ba%a6%ef%bc%8c%e5%90%8c%e6%97%b6%e4%bf%9d%e6%8c%81%e5%85%b6%e5%9b%be%e5%83%8f%e7%ba%b9/