Code Monkey home page Code Monkey logo

Comments (4)

lilleyse avatar lilleyse commented on July 20, 2024

@timoore could you take a look at this?

from cesium-omniverse.

timoore avatar timoore commented on July 20, 2024

Cesium-Unreal is using CesiumAsync::CachingAssetAccessor, which delegates to the accessor class making the http requests. In cesium-unreal, that eventually calls Unreal's code for making http requests. cesium-omniverse isn't doing any accessor-level caching, as far as I can tell. I've used CachingAssetAccessor in vsgCS with UrlAssetAccessor and it works, although I don't provide any user interface to cache size. I think the caching @r-veenstra is seeing when changing location is the result of the cesium-native tile selection algorithm, which doesn't unload tiles immediately that are out of view.

I think it's best to get #634 merged before adding the CachingAssetAccessor to cesium-omniverse.

from cesium-omniverse.

timoore avatar timoore commented on July 20, 2024

@r-veenstra What is the UI in cesium-unreal for the cache file and its maximum number of items?

Should these parameters be stored in Usd like the other tileset parameters? Probably, I would guess.

from cesium-omniverse.

r-veenstra avatar r-veenstra commented on July 20, 2024

@timoore in Unreal these are stored in the Plugins - Cesium section of an Unreal Projects Settings.

image

As far as I'm aware there isn't an ability to specify a cache location on disk. On Windows it's naturally stored in C:\Users\Username\AppData\Local\UnrealEngine\5.3, where there is a single SQLite DB that appears to be shared across any Unreal Engine 5.3 project (at least when using via the editor - unsure what happens with built projects). If you have additional versions of Unreal Engine installed, they have their own caches.

We don't really have the concept of a "Project" in Omniverse, so the scenario is a little different.

It's probably worth a discussion to determine if this should be a per USD setting vs an OV application or extension specific setting. My initial thoughts are one of the latter options, given if I'm changing my cache size settings, it's probably unique to my system?

USD Composer has a number of similar settings in Edit > Preferences, which don't appear to be saved with a USD.

image

image

I wonder if we can do something similar?

from cesium-omniverse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.