本文介绍了用于3D可视化的跨浏览器插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编写能够满足以下要求的3D渲染/可视化控件的最佳方法是什么:

Whats the best way to write a 3D rendering/visualization control that can meet the following requirements:


  1. 可以嵌入HTML

  2. 跨浏览器:可在尽可能多的浏览器中以最小的移植开销。

  3. 使用OpenGL进行基于硬件的渲染。
  1. Can be embedded in an HTML page.
  2. Cross-browser: works in as many browsers as possible with minimal porting overhead.
  3. Hardware based rendering using OpenGL.


推荐答案

使用画布的WebGL,无需特殊插件:
Doob先生的一些例子:

WebGL using canvas, no special plugin required: http://www.khronos.org/webgl/Some examples from Mr Doob: http://mrdoob.com/

支持的浏览器:Opera new rel,IE9,Chrome,Firefox和所有浏览器

Supported Browser: Opera new rel, IE9, Chrome, Firefox and all browser that support html5 and canvas.

另一个解决方案是在简单的闪存中,使用一些渲染引擎,如papervision,或令人印象深刻的。

Another solution is in simple flash, using some rendering engine like papervision, http://away3d.com/ or the impressive http://alternativaplatform.com/.

最后一个解决方案可以是使用OpenGL封装的Java,如或3D引擎喜欢:,可用作applet或webstart

And a last one solution can be Java using OpenGL wrapper like http://lwjgl.org/ or 3d engine like: http://jmonkeyengine.com/, both usable as applet or webstart

这篇关于用于3D可视化的跨浏览器插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 20:37