3d display works with no errors but doesn't do what I want