HowTo : Transparency in the view mode SHADE ON
Article | 41024265 |
Type | HowTo |
Product | Engine |
Version | 5.1.1.1041 |
Date Added | 7/5/2006 |
Submitted by | David Power |
Keywords | |
Subject
Transparency in the view mode SHADE ON
Summary
What are the chances of having transparency in the view mode SHADE ON ? Our application requires the view to have an outline and be shaded (as per SHADEON), however we also require transparency. Alternatively, is there a way to show outlines in the render mode??
Solution
This is not possible. Transparent materials (except of transparent FillCollors, see our help topic SolidFillTransparency property) are only applied in "RENDER" mode and in this mode the edges of Polyfaces and 3DFaces are not visible.
The only thing tha you can do (but this may slow down the display) is in the Draw event to set the Render's DrawMode property to vdc_RENDER + vdc_3D like :
Private Sub VD_Draw(ByVal Render As VDProLib5.vdRender, Cancel As Integer)
Render.DrawMode = vdc_RENDER + vdc_3D
End Sub