THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/10/2011 at 07:24, xxxxxxxx wrote:
Cinema 4D Version: R13
Platform: Windows ;
Language(s) : C++ ;
It is possible to get the 3d-view for a Gedialog, maybe over a CustomGui?
I want to create a instance of the 3d-view in an Asynchron Dialog (FullScreen).
Current I know two ways:
Create a UserArea in a GeDialog:
area_display = AddUserArea(1234, BFH_CENTER);
Render the document in software-mode:
BaseContainer rdc = rd->GetData();
RenderDocument(doc, rdc, NULL, NULL, bmp, RENDERFLAGS_EXTERNAL, NULL)
And then show the Bitmap in the GeUserArea:
Works great, also the speed is fantastic for software preview, but I want the hardware preview (opengl). But the rendertime is to long. I want to update the image with mininum 24 fps.
I create a Asynchron Dialog (FullScreen) Layout (*.l4d) with c4d owns 3d-view-manager.
All is fine but I can´t setup the size of the manager via c++. I want exact sizes for all resolution (800x600, 1024x768....)
Anyone have an idea?
I want the 3d-view (with opengl) in a dialog, fast enough for 24 fps++ (redrawtime).
I am thankful for all help!
On 19/10/2011 at 02:35, xxxxxxxx wrote:
Sorry it's currently not possible.
On 19/10/2011 at 14:15, xxxxxxxx wrote:
Oh... hm okay, thank you, maybe in r14.