THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/11/2006 at 20:53, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.2-10.0
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
I'll do the second first as it is more pressing.
I need to save a PNG image file, but there is no option with the BaseBitmap for such a format. How would one go about this? Would I need to actually write my own exporter and then go pixel-by-pixel through the bitmap to save in this format?
Hmmm, it may be possible to use libpng. Will have to see how it wants data formatted for save (at least zlib is already part of my plugin).
***
On the former, is there a way to 'render' a material BaseChannel with shaders, etc. to a Bitmap for saving (format not related to previous query)? This would be basically 'baking' the channel into a bitmap form for use as a bitmap image elsewhere.
Thank you very much,