HTML 5 Canvas构建3D图像 [英] Html 5 canvas to build 3d image

查看:115
本文介绍了HTML 5 Canvas构建3D图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我们如何使用HTML 5 Canvas元素绘制3D图像?
任何示例都将有所帮助. :)

请帮忙

谢谢

Hi all

How can we draw 3D images using HTML 5 Canvas element???

Any example would be helpful. :)

Please help

Thanks

推荐答案

当前的canvas元素规范仅为您提供2d上下文.

该规范仅定义了一个上下文,名称为2d". [^ ]

如果要获得真正的3d,则需要找到3d上下文以及支持该上下文的浏览器或浏览器插件.

查看此文章 [ ^ ]以获取更多信息.
The current specification of canvas element only provides you with 2d context.

"This specification only defines one context, with the name 2d"[^]

If you want to get true 3d, you need to find a 3d context and a browser or browser plugin that supports it.

Look at this article [^]to get more insight.




此链接可能会帮助您 http://murfy.de/read/webgl-text-rendering [ ^ ]

这是 http://www.addyosmani.com/resources/googlebox/ [


This link might help you http://murfy.de/read/webgl-text-rendering[^]

this is the example http://www.addyosmani.com/resources/googlebox/[^]


这篇关于HTML 5 Canvas构建3D图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆