Archive 17/01/2023.

Realtime scene update

smellymumbler

I’m using XML for my serialized scenes in Urho and I’m trying to find out an efficient way of updating the scene in realtime, whenever the XML file changes. My first prototype makes use of this:

http://doc.qt.io/qt-5/qfilesystemwatcher.html

But I don’t want to bundle the entire QT framework just for this. Does anyone know any elegant way of achieving this task?

Elendil

OS Api
if you are on windows check this or this.
There is some example1 and example2.

or

try poco library.

Eugene

Urho already sends E_RELOADSTARTED/E_RELOADFINISHED/E_RELOADFAILED for each changed resource. Isn’t it enough?

smellymumbler

I didn’t know that. Thanks for the info!