Hitdetection problem
#8
The transparent objects must be drawn after the solid objects - WPF is drawing objects in the same order as they are added to Viewport3D Childrent. And if you have more transparent objects, you need to sort them by camera distance - those that are farther away must be drawn first.

If you have "packed" the wireframe and transparentMesh into ModelVisual3D objects, you will have to "unpack" them so that all wireframe objects will be rendered first and than the transparentMesh (I should have predicted the transparency problems before, but I am working on stg. else and do not take enough time to solve your problems).

I hope this will solve you problems.
Andrej Benedik
  


Messages In This Thread
Hitdetection problem - by daageu - 12-12-2013, 01:00 PM
RE: Hitdetection problem - by abenedik - 12-12-2013, 01:39 PM
RE: Hitdetection problem - by daageu - 12-12-2013, 01:59 PM
RE: Hitdetection problem - by abenedik - 12-12-2013, 02:26 PM
RE: Hitdetection problem - by daageu - 12-12-2013, 02:37 PM
RE: Hitdetection problem - by abenedik - 12-12-2013, 02:46 PM
RE: Hitdetection problem - by daageu - 12-12-2013, 04:04 PM
RE: Hitdetection problem - by abenedik - 12-12-2013, 04:12 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)