3D-View for GeDialog

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:

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

---------
Hey Guys,

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:

1. methode:
Create a UserArea in a GeDialog:

area_display = AddUserArea(1234, BFH_CENTER);  
  if(area_display)  
  {  
      AttachUserArea(display, area_display);  
  }  

Render the document in software-mode:

  
BaseContainer rdc = rd->GetData();  
rdc.SetLong(RDATA_RENDERENGINE, RDATA_RENDERENGINE_PREVIEWSOFTWARE);  
RenderDocument(doc, rdc, NULL, NULL, bmp, RENDERFLAGS_EXTERNAL, NULL)  

And then show the Bitmap in the GeUserArea:

  
DrawBitmap(RenderMenuTest::bmp,0,0,100,200,0,0,100,200,BMP_NORMAL);  

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.

2. methode:
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! :)

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

On 19/10/2011 at 02:35, xxxxxxxx wrote:

Sorry it's currently not possible.

cheers,
Matthias

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

On 19/10/2011 at 14:15, xxxxxxxx wrote:

Oh... hm okay, thank you, maybe in r14. ;)