Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 Android 下进行实时模糊渲染-翻译完成 #176

Merged
merged 9 commits into from
Mar 7, 2016
Merged

在 Android 下进行实时模糊渲染-翻译完成 #176

merged 9 commits into from
Mar 7, 2016

Conversation

huazhouwang
Copy link
Member

@lekenny
Copy link
Member

lekenny commented Mar 2, 2016

举爪 @antonia0912

@antonia0912
Copy link
Contributor

好的!! @lekenny

@shenxn
Copy link
Member

shenxn commented Mar 2, 2016

校对认领!

@antonia0912
Copy link
Contributor

@shenxn OK


## Blur Effect
## 模糊渲染
模糊渲染能生动地表达内容间的层次感。当专注于当前特定内容的时候,它允许用户维持相对的上下文,即使模糊层以下的内容被转换成视差效果或者是动态改变的。(even if what’s under the blurring surface shifts in a parallax fashion or changes dynamically.`校对者请注意,抱歉,这句我不懂翻译通顺,以下通过括号围起来且最前面有个问号的即我不会的,多多费心了`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even if what’s under the blurring surface shifts in a parallax fashion or changes dynamically.
哪怕是在视差方式或动态变化下的模糊表面位移。

@lekenny
Copy link
Member

lekenny commented Mar 2, 2016

好了 @Sausure 有些没动的我也没有好的看法

@huazhouwang
Copy link
Member Author

@antonia0912 已根据第一位校对者建议更改
@shenxn 请校对,多谢


## Blur Effect
## 模糊渲染
模糊渲染能生动地表达内容间的层次感。当专注于当前特定内容的时候,它允许用户维持相对的上下文,哪怕是在视差方式或动态变化下的模糊表面位移。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里上面少了一个换行

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

哪怕是在视差方式或动态变化下的模糊表面位移。 -> 即使模糊层下面的内容发生了视差移动或者动态变化


Finally, because RenderScript is only available on API level 17 and up, we need to degrade gracefully on older versions of Android. Unfortunately, a bitmap blurring solution in Java as noted in [Nicholas Pomepuy’s post](http://nicolaspomepuy.fr/blur-effect-for-android-design/), while adequate for pre-rendering a cached copy, is not fast enough for realtime rendering. The decision we made was to simply use a semitransparent view with high opacity as fallback.
最后,由于RenderScript仅在API版本17及以上有效,我们在较低级版本也应该有个比较优雅的降级方案。可不幸的是,正如[Nicholas Pomepuy的博文](http://nicolaspomepuy.fr/blur-effect-for-android-design/)中说的那样,通过Java来实现图片模糊渲染速度上达不到实时渲染的需求。最后我们只能决定使用个有较高透明度的半透明视图最为降级方案。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

最为 -> 作为

@shenxn
Copy link
Member

shenxn commented Mar 4, 2016

校对完成!

@huazhouwang
Copy link
Member Author

@antonia0912 已根据第二次校对更改,为了质量你们掘金最好还需要派自己人再审核一遍吧

@antonia0912
Copy link
Contributor

@Sausure 没有问题 译文中的译者注是一个很好的想法 会推广 辛苦了 我merge后请把译文分享到掘金 加掘金翻译计划的标签

antonia0912 pushed a commit that referenced this pull request Mar 7, 2016
在 Android 下进行实时模糊渲染-翻译完成
@antonia0912 antonia0912 merged commit e2f8f5f into xitu:master Mar 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants