PixelBuffer error

Hi,
I’m using…
AnyBody version : 5. 2. 0. 3070
AMMRV 1.4.1

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.?

Many thanks,
Chris

Hi Chris,

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.

Best regards,
Moonki

Hi Moonki,

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.

Any further ideas?
Cheers,
Chris

Hi Chris,

If your license has some remaining period of license update maintenance,
then could you update your AMS as the latest version?

There are one possible solution of this problem(but not 100% sure).

You can update your video graphics card device driver as the latest one.
(For instance, NVIDIA or ATI graphics drivers from their official website)

If you still experience the same problem, please let us know.

Best regards,
Moonki

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.

Chris

Hi Chris,

Can you change the privilege level of the anybody console executable file(.exe) as attached picture?

If this does not help you, then could you upload your model in the debug section?

Best regards,
Moonki

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

Hi Chris,

I guess that it may be related to your graphics card or its drivers. Please check it more.

Best regards,
Moonki