TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A browser plugin for Unity

154 点作者 imoldfella将近 5 年前

13 条评论

nwah1将近 5 年前
You can also render Unity inside of Firefox. Infinite recursion potential.
评论 #23951223 未加载
评论 #23950265 未加载
评论 #23949827 未加载
chrismorgan将近 5 年前
The current title here on HN of “Firefox in Unity” is incorrect. This is based on Servo, not Firefox. From what I understand as a very casual observer that hasn’t been keeping up with things, Servo’s architecture is rather more conducive to this application both in embedding convenience and rendering, being able to render pages in a way that will make them perfect quality regardless of your 3D perspective, whereas I imagine Firefox <i>might</i> still be at the “rasterise the viewport and use it as a tile” level, though maybe WebRender (applying Servo’s renderer to Firefox) has resolved that? As I say, I haven’t been keeping up with things. Anyway, the correct title for the article is “A browser plugin for Unity”.
评论 #23951451 未加载
评论 #23951279 未加载
meesterdude将近 5 年前
This is something I&#x27;ve wanted for years, for numerous uses like collaboration, Method of loci, and documentation. Overlaying our built-in spatial awareness with focused data is an area of information architecture with a lot of untapped potential.<p>there is also this which allows multiple windows within unity (there&#x27;s a demo you can try): <a href="https:&#x2F;&#x2F;zenfulcrum.com&#x2F;browser" rel="nofollow">https:&#x2F;&#x2F;zenfulcrum.com&#x2F;browser</a>
评论 #23953299 未加载
Guest81将近 5 年前
This seems similar to ZFBrowser which implements chromium in unity, and is used by Tabletop Simulator. I wonder how the performance compares?
ourcat将近 5 年前
I remember when this sort of functionality arrived in Second Life.<p>It enabled a lot of easy &#x27;shared experiences&#x27;. eg: Watching a live video stream of an event with people, or group presentations etc.
评论 #23953226 未加载
评论 #23954844 未加载
robterrell将近 5 年前
As the author of the first web browser plugin for Unity (HTMLTexture) I must say I&#x27;m very impressed by this. Kudos.<p>Sounds like Unity has changed enough under the hood that the technique I used (calling gl_bind() behind Unity&#x27;s back, using the texture ID you pass in, to basically write to the texture Unity is using for your mesh) no longer works.
callumprentice将近 5 年前
For anyone else looking to embed a modern browser in their Windows&#x2F;macOS&#x2F;Linux* C++ application, you might consider Dullahan: source: <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;lindenlab&#x2F;dullahan&#x2F;src&#x2F;master&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;lindenlab&#x2F;dullahan&#x2F;src&#x2F;master&#x2F;</a> and example screenshot: <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;lindenlab&#x2F;dullahan&#x2F;raw&#x2F;master&#x2F;docs&#x2F;webcube.png" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;lindenlab&#x2F;dullahan&#x2F;raw&#x2F;master&#x2F;docs&#x2F;web...</a><p>I recently updated it to use Chromium 81 and would have updated it to the most recent version (84) if there weren&#x27;t some non-trivial changes needed to make video&#x2F;audio streaming work again.<p>It&#x27;s what we use in Second Life and would welcome other users&#x27; comments to help improve it.
dleslie将近 5 年前
What are the security guarantees about this?
评论 #23951835 未加载
gfxgirl将近 5 年前
I&#x27;m sure having a browser in game as a million uses but ...<p>Oculus Rift has in game browser built into their OS. In any game and any time I can pull up a browser in VR (or any desktop app). Pin a walkthru up. Pin up video chat with a friend.<p>It seems like browser in VR would be better served at an OS level. The OS could provide a way for the app to request VR be placed in the scene. Ideally it happens in a way the app can&#x27;t look at the screen since a game shouldn&#x27;t be able to look at the contents of your browser window.
jayd16将近 5 年前
&gt;As we do not have control over the binding of the texture and the Unity context, the current design for updating this texture uses a blit (copy) via Servo’s surfman-chains API<p>I don&#x27;t think this is necessary. You should be able to make Texture objects that ref existing native textures in Unity and I&#x27;ve been able to use OES_EGL_image_external extensions to sample Android decoded video textures sampled from Unity shaders.<p>Its not the most widely available option but the perf is much better.
评论 #23960344 未加载
arendtio将近 5 年前
What is wrong when something cool like this triggers a response along the lines of &#x27;finally I can get tracked while being in-game&#x27;?
twoodfin将近 5 年前
I’m a little disappointed the WebGL demo didn’t show what happens when the “outer” viewport moves.
bzb3将近 5 年前
More like Servo in Unity... And from what I recall, Servo is not even an alpha at this point
评论 #23949946 未加载