Home Page > KernelCAD Models > Basics of 3D Graphics > Perspective View
Perspective View
Perspective View
By default all 3D Views use orthographic projection to the screen.
When the scene is sparse Perspective View Mode offers more realistic
rendering. In this mode objects which are further from the viewer appear smaller
on the screen.
Use Advanced > View > Perspective context menu (right click) option to turn on/off perspective rendering. Use IView.SetProjectionType() and IView.GetProjectionType() to change or query the current projection type programmatically.
See
Light sample for an example.
|