Again bufferproblem...

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/06/2003 at 11:16, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
I need to store the current rgb buffer so I can use the current information later on in the code. Is there any way I can do this without! saving the buffer to a file on hd?
Example: Get RGB Buffer, store it somehow, apply changes to rgb buffer, get the stored rgb buffer information and apply changes to this one......
Anybody can help? 😞
Best
Samir

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 11/06/2003 at 03:24, xxxxxxxx wrote:

It seems that VPBuffer::Save is declared but not defined in the current API, therefore I get an unresolved link error. (that´s why it didn´t work for me and I wanted to get it working without this function)
I added the Save method (thanks to Tommy 😉 but when trying to save it returns IMAGE_NONEXISTANT Bit...
Is it somehow possible now to save a buffer? No matter how, but I need to store it somehow! 🙂
Thanks
Samir

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 11/06/2003 at 06:27, xxxxxxxx wrote:

You can create your own 2DArray and copy the Buffer with GetLine to this Array.
Vice versa is it possible too.
Remotion.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 11/06/2003 at 07:30, xxxxxxxx wrote:

Hi,
very good idea! It works now 🙂 Thank you!!!
Samir