I'm having some issues with overlapping transparent layers.
After a long search I eventually found that I need to order my rendering.
Objo, I found this ElementSortingHelper.cs file and it's similar to other scripts I have seen.
I was wondering if this was a stab at ordering the rendering so that transparent textures get rendered in the right order.
Could you give me an example of how to use it please if that is what it does ?
I see this in the code :
public static void AlphaSort(Point3D cameraPosition, Model3DCollection models, Transform3D worldTransform)
I am stuck on what to use for 'worldTransform'.
My Helix Viewport is called 'myView' and I can get as far as :
Visual3DCollection mymodels = (Visual3DCollection)myView.Children;
ElementSortingHelper.AlphaSort(myView.Camera.Position, mymodels, ???)
But what should go in the '???'
Thanks for taking a look :)