[讨论]Silverlight5 RTM 只能在OOB模式下使用3D硬件加速?
来自:http://silverlight.bayprince.com/tutorials.php?tutorial=8
Silverlight 5 Beta and RC allowed 3D to work directly in the browser. Silverlight 5 RTM requires that the application is running in OOB (Out of Browser) with elevated permissions. You can enable OOB in the Project's Properties panel. The Enable GPU Acceleration checkbox must also be checked.
大略的意思好像是说:Silverlight5正式版启用了更加严格的许可权限,只能在用户允许3D加速且在外置OOB模式下才可使用,在浏览器中是不允许像RC版那样直接使用3D加速的。
看到这篇文章时直接放弃了更新本地RC版的打算。。。
这么一来,想要在页游产品中提供3D加速的话,岂不是只能向用户提供外置的登录器了?跟flash相比,Silverlight插件的推广本身就是个问题,除了下载插件再要求玩家额外下载一登录器?不晓得未来MMO市场还能占得住多少。。。
[解决办法]
要高信任限,同限的,有任何可框(哦!框已人的了,不是?),而是需要用使用5的不可理解的步才能打。
似乎在默情下,整3D特性都被Block掉?直糟糕透了:然怒用和人可不是什好主意。
http://blogs.msdn.com/b/eternalcoding/archive/2011/12/10/silverlight-5-is-out.aspx
Security and 3D
First of all, please read this article: http://blogs.msdn.com/b/eternalcoding/archive/2011/10/18/some-reasons-why-my-3d-is-not-working-with-silverlight-5.aspx
By the way, you may experience security errors with Silverlight 5 RTM when you want to use the wonderful new 3D feature. In fact, some graphics drivers may allow malicious code to execute. That may lead to an unwanted hard reset or a blue screen.
Starting with the beta version, to protect users for this kind of trouble, we initiate a first scenario where all Windows XP Display Driver Model (XPDM) drivers on Windows XP, Windows Vista, and Windows 7 will be blocked by default. Permission will be granted automatically in elevated trust scenarios and Windows Display Driver Model (WDDM) drivers will not require user consent at run-time.
But as always, features, including security features, continue to be refined and added during post-beta development.
And for the RTM version, there were a number of approaches considered to further improve security and stability, but the solution to block 3D in partial trust by default was the best option for this release. Permission is still granted automatically in elevated trust scenarios.
To grant 3D permissions, you just have to right click on your Silverlight plugin, go to the Permissions tab and allow your application:
有:
http://forums.silverlight.net/t/244238.aspx/1
微啊用的越多就越恨他。
好吧。即使如此,我也不跑去HTML5+JS。反正都是浪人生,我可舒服的。