Repeated Scene Trees (Java3d / OpenGL)
        Posted  
        
            by Jim
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jim
        
        
        
        Published on 2010-04-09T03:38:24Z
        Indexed on 
            2010/04/09
            3:43 UTC
        
        
        Read the original article
        Hit count: 500
        
Hello,
I want to make a 3d scene that loops around on its self. That is to say, if you keep going in any direction, you will loop back to the other side.
My current implementation is so bad, it's embarrassing to admit to it. I redraw the each change twenty-seven times, to make a 3x3x3 scene cube. When the user reaches the end of the middle cube, I jump them over to the other side. Maintaining consistency (let alone performance) is a nightmare. Total Disaster.
This doesn't seem like it would be an unusual request, so I'm wondering if anyone knows of a more legit solution.
Thanks!
© Stack Overflow or respective owner