Cannot say it about recent versions but had exactly those troubles back in the day during production. We were using Riptide (IIRC) to import OBJ so that we could apply baked animation from point caches.
Working on real-time rendering for Cinema 4D - https://u-render.com
Best posts made by martinweber
Latest posts made by martinweber
RE: Drawing on MultipassBitmap's GeClipMap crashes in R16.050posted in Cinema 4D SDK •
@C4DS I see. Does Clear() work?
I am curious as we have a use case where we would go with GeClipMap as well.
RE: Drawing on MultipassBitmap's GeClipMap crashes in R16.050
posted in Cinema 4D SDK •
Just some ideas and guesses:
- check if layer is not actually a nullptr. Might fail there already.
- I would try a dynamic_cast<BaseBitmap>(layer) for layer in clipMap->Init(layer) just to be sure the right vtable is used. AutoAlloc might do something fancy there.
- why not use viewData->mClipMap = clipMap; ? Your use of operator*() seems strange. Also, why not just use it as parameter to DrawBackground()?