Do we have any examples or tutorials that show how one uses threading in Panda3D? I’m specifically interested in file-writing operations, and model-loading.
The manual has some information–it shows the asynchronous model-loading functions,for example. However, it doesn’t provide any concrete, complete examples that I see.
Thus, I think that I know more or less what to do to implement asynchronous model-loading–but I don’t know whether I’m missing anything, or what caveats there might be.
As to file-writing, I gather that this is similar to Python threading–which I’m not familiar with. Indeed, it’s been a long time since last I worked with threading of any sort, as far as I recall (and that would likely not have been in Python), so I’m somewhat uncertain in the field in general.
I could look up how Python threading works–but I gather from the manual that Panda’s recommended threading system is different in small but unspecified ways. Thus I don’t know how applicable a general Python threading tutorial might be, or whether the differences come with any new caveats…
So hence my question: do we have any tutorials, samples, snippets, etc. that I could look at?