70002241 Z Depth buffer during action draw events

Article 70002241
Type Wish
Product Engine
Version 1001
Date Added 7/15/2022 12:00:00 AM
Fixed 10.1002.0.3 (9/26/2022 12:00:00 AM)
Submitted by Mario Messina


Z Depth buffer during action draw events


In version 1002.0.3 a new flag vdRenderGlobalProperties.ActionFlags.Support3D was added to vdDocument.GlobalRenderProperties.ActionFlags property
By default vdRenderGlobalProperties.ActionFlags.Support3D is added to vdDocument.GlobalRenderProperties.ActionFlags
When it is used then actions Create , Move, Copy, Rotate ,etc. are rendering according to the current render mode.
This property is supported only with model layout or maximized viewports

This is a major upgrade specially in 3D modes since it gives the user a real time idea of the result of the action since z buffer is being used.
In the past we used to render all render modes like in wire 2D and that was a little off in 3D modes.

Example code in c# to disable z buffer : doc.GlobalRenderProperties.ActionProperties = vdRenderGlobalProperties.ActionFlags.MultiViewDraw;

The following example should give you a basic idea of this improvement.



Send comments on this topic.