Visual3D material with alpha color

Anonymous 10 years ago 0
This discussion was imported from CodePlex

viettp wrote at 2011-10-02 19:22:

I found that alpha color of plane in ExportDemo only work if the transparent plane is declared last.

I need transparent surface feature in my project and don't want to depend on order of visuals. Is there anyway to overcome this issue?

objo wrote at 2011-10-03 19:31:

try the SortingVisual3D, this object sorts its children on distance from the camera to the center of each child's bounding box. 

This is sufficient for simple models like the one shown in the TransparencyDemo, but for more complicated models it might not always give the correct result..