I save each step of my simulation as an image and later save the collection of images as a video. However, when I run my simulations through the console application (through Matlab), I frequently get the error below and the images therefore do not save.
ERROR(OBJ1) : PixelBuffer could not be created. This AnyCamRecorder will not export images.
Just wondering if you have any tips for this? Is it possible to increase the amount of memory available for the buffer etc.?
It seems that you are trying to use AnyCamRecorder object inside your model and you are running that model using AnyBody console application.
AnyCamRecorder object is related to the OpenGL context which is related the GUI version of AnyBody Modeling System.
It means that the console version of AnyBody does not have that kind of OpenGL object. So you can’t use AnyCamRecorder object when you use the console application.
I’m sorry to give this information which may not helpful to you.
Thanks for your reply. I appreciate what you’re saying, however, I’ve definitely used this feature before and it has worked OK.
I’m also getting the error sometimes when I load the model in the AnyBody program.
My instinct thought it could be something to do with memory. My HDD says it’s getting low on space, but there’s still 34GB of space (out of 450 GB), so I can’t think it can be attributed to that.
Hi Moonki,
Thanks for your quick response.
I’ve done the two things you suggested, but it still seems to produce the same error. (Using AMR 5.3.0.3365)
ERROR(OBJ1) : C:/L…l/PhD/J…s/A…x/A…1/A…n/E…s/M…e/Images_Output.any : rec : PixelBuffer could not be created. This AnyCamRecorder will not export images.
I suspect it’s probably something to do with my computer then, but I have no idea what is causing it.
Hey Moonki,
Thanks again for your help, but unfortunately it’s still not working. I can only think it must have something to do with my computer as it worked OK up until recently, then not in the console and now not even in the main program… perhaps it’s the space issue. Will clear some space and see what happens.
Chris