简体   繁体   English

将转换应用于图像pyglet

[英]Apply a transformation to an image pyglet

I am trying to make an rpg from first person perspective. 我正在尝试从第一人称视角制作一个角色扮演游戏。 I have looked at the pyglet api reference but the only thing I could find that was on the same track was the "get_transform" method and this only gave the option of flipping and rotating (as far as I could see) 我看了pyglet api参考,但是我唯一能找到的就是“ get_transform”方法,并且只给出了翻转和旋转的选项(据我所知)

Is there any way to do this in pyglet? 有什么办法可以在pyglet中做到这一点? Would I need to use some OpenGL stuff in my project? 我需要在项目中使用一些OpenGL东西吗?

Pyglet使用OpengL,请查看: http ://www.pyglet.org/doc/programming_guide/index.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM