在android中使用OpenGL在动态壁纸上绘制纹理

发布于 2024-09-17 06:38:30 字数 193 浏览 2 评论 0原文

嗨,

我想在 Android 中使用 OpenGL 制作一个简单的动态壁纸来绘制纹理。

我开发了一个简单的 OpenGL 活动,可以完全用于动态壁纸。但也存在一些问题,例如 IllegleArgumentException。

我正在使用来自地球动态壁纸的 GLWallpaperService。

谢谢....

Hii,

I want to make a simple live wallpaper using OpenGL in Android that will draw the textures.

I have develop a simple OpenGL Activity that can work exactly for live wallpaper. But some problems are there like IllegleArgumentException.

I am using GLWallpaperService from earth live wallpaper.

Thanks....

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

北城半夏 2024-09-24 06:38:30

您可能会更幸运地从 github 上的主项目存储库获取 GLWallpaperService。它在那里得到积极维护和记录。

GLWallpaperService 的现代版本将接受 GLSurfaceView.Renderer 类。这意味着您可以直接在动态壁纸中重用为 Activity 编写的 Renderer 类。

You may have better luck getting GLWallpaperService from the main project repository on github. It is actively maintained and documented there.

Modern releases of GLWallpaperService will accept a GLSurfaceView.Renderer class. This means you can reuse the Renderer class that you wrote for your activity directly in your live wallpaper.

笨死的猪 2024-09-24 06:38:30

我今天完成了同样的任务。

它可能对你有用:
http://www.rbgrn.net/content/354-glsurfaceview -改编的3D动态壁纸

i've done the same task today.

it can be useful for you:
http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文