BaseBitmap

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

On 18/04/2010 at 10:19, xxxxxxxx wrote:

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

---------
Is it possible to store an image that is selected in a TEXTURE description element in a BaseBitmap?  If so how would I do this?

Thanks,

~Shawn

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

On 19/04/2010 at 02:30, xxxxxxxx wrote:

You have to get the filename of the texture as explained in the docu for the TEXTURE description and use this for the BaseBitmap initialization.

static LONG Init(BaseBitmap*& res, const Filename& name, LONG frame = -1, Bool* ismovie = NULL, BitmapLoaderPlugin** loaderplugin = NULL);

cheers,
Matthias