Re: [osg-users] FFmpegImageStream thread safety

2020-07-31 Thread OpenSceneGraph Users
Hi Ben, I'm away from my dev computer so just commenting off the top of my. FFmpegImageStream should be double buffered so that the ffmpeg thread writing to the image will be writing to one part of the data, while the other half is available to be read by the graphics thread. This should

Re: [osg-users] Loading Z-up FBX models

2020-07-31 Thread OpenSceneGraph Users
On Thursday, July 30, 2020 at 3:53:31 PM UTC-4 I wrote: > ... but as far as I can tell, nothing has been done. > On re-reading that, it sounds a bit indignant or demanding, but I did not intend it that way. I am just surprised there hasn't been much discussion between then and now, which

[osg-users] FFmpegImageStream thread safety

2020-07-31 Thread OpenSceneGraph Users
Hi, I was just looking at FFmpegImageStream, I am not very familiar with this code, but I have some questions. It is not immediately clear to me how FFmpegImageStream::publishNewFrame is thread safe. It seems like the image data is set (setImage) from the video decoder thread. The image then

Re: [osg-users] Loading Z-up FBX models

2020-07-31 Thread OpenSceneGraph Users
Hi, you can use pseudo loader to rotate the model. osgviewer myfile.fbx.(90,0,0).rot On Thu, Jul 30, 2020 at 9:53 PM Ellery Chan wrote: > I am having difficulty loading Z-up FBX models into *osgviewer*. They > get re-oriented to Y-up. While examining the code I discovered there is > even a