简体   繁体   English

有没有人尝试过Google的3D图形O3D插件?

[英]Has anyone tried out Google's O3D plugin for 3D graphics?

I just found out about Google's O3D project, for rendering 3D graphics in Browsers using html and javascript. 我刚刚发现Google的O3D项目,该项目用于使用html和javascript在浏览器中渲染3D图形。 It seems nice, although the graphics are about 5 years outdated as far as I could see. 看起来不错,尽管据我所知图形大约已经过了5年。 Has anyone tried it out? 有没有人尝试过?

it seems aimed at programmers not designers 似乎是针对程序员而不是设计师

3d environments should be easy to describe and build but the documentation i found on it seemed to be way more programmer oriented 3d环境应该易于描述和构建,但是我发现的文档似乎更面向程序员

I spent some time reading the docs and playing with it. 我花了一些时间阅读文档并使用它。 As a test I made a Conway's Game of Life using their canvas object: 作为测试,我使用他们的画布对象制作了Conway的《人生游戏》:

life 生活

This is actually running completely in javascript and performs surprisingly well; 实际上,这完全可以在javascript中运行,并且表现出色。 much faster than an equivalent test I did in Unity3D. 比我在Unity3D中进行的等效测试快得多。 Moving it into a pixel-shader would be the next step in performance, then it would really fly. 将其移动到像素着色器中将是性能的下一步,然后它将真正实现。

This is a serious project on the cutting edge of graphics technology. 这是图形技术前沿上的一个严肃的项目。 They have made really good decisions about the architecture and how it integrates with the browser. 他们在架构以及如何与浏览器集成方面做出了非常好的决定。

But, it is a low level graphics api - at a similar level to DirectX or OpenGL, and it uses a modern 'programmable pipeline' instead of a traditional/legacy 'fixed-function-pipeline'. 但是,它是一种低级的图形API-与DirectX或OpenGL相似,并且使用了现代的“可编程管线”而不是传统的/旧式的“固定功能管线”。 In layman's terms, this means that it wont run on older computers, but it can fully utilize newer graphics hardware in terms of both performance and features. 用外行的话来说,这意味着它不能在较旧的计算机上运行,​​但是就性能和功能而言,它可以充分利用较新的图形硬件。 It also means that developers need to understand modern graphics programming techniques like shaders, render graphs, etc. 这也意味着开发人员需要了解现代图形编程技术,例如着色器,渲染图等。

It supports web-formats for images (like jpg and png) but also supports game-industry style DDS textures that are far more optimized for loading into video card RAM. 它支持图像的Web格式(如jpg和png),但也支持游戏行业风格的DDS纹理,后者对于加载到视频卡RAM中进行了优化。 It can load xml-based COLLADA assets, but also has a binary-like JSON interface for optimized loading of processed assets. 它可以加载基于xml的COLLADA资产,还具有类似于二进制的JSON接口,用于优化加载已处理资产。

For O3D to really take off, it is going to need higher-level javascript APIs built on top of it. 为了使O3D真正起飞,它需要在其之上构建的更高级别的javascript API。 Ideally something like a game engine that includes physics and audio, has a consistent lighting model and optimized asset format. 理想情况下,像游戏引擎之类的包含物理和音频的东西,具有一致的光照模型和优化的资产格式。

I did. 是的 It looked good, did nice specular reflections. 看起来不错,镜面反射很好。 It was a little hard to figure out the navigation, but I didn't have a lot of time to put into it either. 弄清楚导航有点困难,但是我也没有太多时间投入其中。

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

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