Comments on: All Your VRAM Is Belonging To Us (and Plugins) https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/ Developer resources for the X-Plane flight simulator Wed, 15 Jan 2020 02:17:25 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Sidney Just https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35141 Wed, 15 Jan 2020 02:17:25 +0000 http://developer.x-plane.com/?p=39777#comment-35141 In reply to Ben Supnik.

Not only that, but the underlying assumption here is that this will fit into VRAM as is. Which isn’t necessarily the case at all, so something more clever than that kind of scheme is necessary. Which brings us into this timeline.

]]>
By: Ben Supnik https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35140 Tue, 14 Jan 2020 20:22:43 +0000 http://developer.x-plane.com/?p=39777#comment-35140 In reply to Doug.

I cannot deny that if the entire scenery system were made up of equally spaced textures in a grid, solving paging would be trivial.

But that’s only a fraction of what the X-Plane scenery system, aircraft SDK and plugin SDK actually do.

]]>
By: Doug https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35138 Tue, 14 Jan 2020 20:17:41 +0000 http://developer.x-plane.com/?p=39777#comment-35138 In reply to Ben Supnik.

XP has design flaws.
There should never be any stutters or texture “emergency”.
The plane does not fly or change direction fast enough to be an excuse.
There should only be a grid of full high def textures, and the rest to the horizon of low res textures.
The algorithm needs to switch out lower res textures to full high res textures.
And vice versa (behind the plane).
This is not rocket science. Other sims have mastered it already.
There is ample enough time to switch textures…
If it’s coded properly!

]]>
By: Dave Brown https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35136 Tue, 14 Jan 2020 14:07:47 +0000 http://developer.x-plane.com/?p=39777#comment-35136 In reply to Andrew Miller.

When it’s done it’s done.

]]>
By: joern-joeren joerensoen https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35135 Tue, 14 Jan 2020 03:09:55 +0000 http://developer.x-plane.com/?p=39777#comment-35135 In reply to Ben Supnik.

Many thx for your responses Ben and Sidney.

“…the texture pager and your script co-exist very happily on that install…”

Then I’m as happy as my plugin on a dev’s machine (and somewhat relieved) to hear that. : )

Cheers, Jörn

]]>
By: Andrew Miller https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35134 Mon, 13 Jan 2020 20:51:45 +0000 http://developer.x-plane.com/?p=39777#comment-35134 So, is today the day?

]]>
By: Sidney Just https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35133 Mon, 13 Jan 2020 19:56:08 +0000 http://developer.x-plane.com/?p=39777#comment-35133 In reply to joern-joeren joerensoen.

The texture pager is designed to “just work”, it runs continuously in the background and attempts to do a best job effort. If you increase or decrease the LOD dynamically, it might have to load/unload textures, but the whole system is already designed to cope with this. I have a sim install with a bunch of third party stuff, including your script (and FlyAgi’s script attempting to do similar things. Although not running concurrently, of course). From what I can tell, the texture pager and your script co-exist very happily on that install.

]]>
By: Ben Supnik https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35132 Mon, 13 Jan 2020 17:08:59 +0000 http://developer.x-plane.com/?p=39777#comment-35132 In reply to paul ghysels.

The questions aren’t dumb – the original post is confusing. But you don’t _have_ to do this to be ready. It’s a nice-to-have. Basically yeah, you want a DDS file where you used to have a PNG. You can leave the PNGs side-by-side or remove them, your choice.

]]>
By: paul ghysels https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35131 Mon, 13 Jan 2020 17:04:58 +0000 http://developer.x-plane.com/?p=39777#comment-35131 In reply to Ben Supnik.

Thanks. When I convert png files to dtx1/5 they show up in my orthos as a DDS file. Is this right. Sorry for all of the dumb questions but I am trying to follow your blog and be ready for vulcan. We have many students scheduled and do not want delays.

]]>
By: Stephan https:/2020/01/all-your-vram-is-belonging-to-us-and-plugins/#comment-35130 Mon, 13 Jan 2020 16:19:41 +0000 http://developer.x-plane.com/?p=39777#comment-35130 In reply to jose.

Just pray

]]>