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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Optimizing an Open Source Texture Synthesis Library

29 点作者 underanalyzer将近 5 年前

1 comment

MayeulC将近 5 年前
Interesting, it starts maybe a bit dull (and uses &quot;micro-optimization&quot; wrong IMO, I tend to use them for stuff that doesn&#x27;t optimize a lot the runtime of a given function), but gets better when it talks of an issue with profiling in debug mode, and then of a thread contentention issue.<p>A note about that specific library: why isn&#x27;t texture generation used more in videogames? Nowadays, a game contains tens of gigabytes of textures and models (~80 GB or more). Certainly there is a point at which it becomes worth it to procedurally generate the texture instead of storing multi-megabyte images for every object in the world. What would that point be?<p>Are GPUs fast enough to generate textures on-demand nowadays, in the pixel shader, for instance? An additional benefit would be that mipmaps might not be necessary anymore, depending on the algorithm.