Controller visualization in virtual and augmented reality environments