DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


Capture Sample

Capture sample demonstrates usage of IVirtualView and IVirtualModelView for off-screen rendering.

The application

Apply some viewing manipulations zoom in, pan etc to modify the initial point of view. Press Capture button. Snapshot of the 3D view will appear on the left as a bitmap image. The operation can be repeated.

Save button test and demonstrates saving the captured image as a .bmp file.

"Save external model capture" command loads another model in background without displaying it in any view and uses IVirtualModelView to generate its image at specific point of view.