After reading some documentation and with some guidance, I got some ideas. Can I use SetResolveCoincidentTopologyToShiftZBuffer or SetRelativeCoincidentTopologyPolygonOffsetParameters
to push back the orange lines, such that red lines are always rendered on the top.
Currently I have achieved this by using multi layered rendering, but this adds other problems. Can you please guide how can I use coincident topology parameters to achieve this goal (render red tubes over orange)