THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/04/2011 at 15:41, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Mac ;
Language(s) : C++ ;
I am relatively new to C4d plugins in C++. Maybe this is not possible:
Can I somehow access the bitmap of whatever is shown in the Viewport?
In other words: I have a background picture of some sort and would like to be able to have the plugin automatically place points in the scene, determined by what can be seen in the picture.
On 27/04/2011 at 23:34, xxxxxxxx wrote:
As far as I know, this is not possible. You can call RenderDocument() to get a bitmap but the editor view (or views!) is created either on the GPU using OpenGL or in memory using Software mode. There are ways to get the FrameBuffer with OGL (glReadPixels()) but believe you me, it is not a place to go if you don't know exactly what you are doing.
On 28/04/2011 at 19:35, xxxxxxxx wrote:
I was afraid of that. That would mean tinkering outside of what C4D is doing?
Back to the drawing board.....