taz0k Posted September 26, 2007 Report Share Posted September 26, 2007 (edited) Made this a separate topic to avoid cluttering the the Patch topic. May not be the on the highest priority list, but the current XNet camera just doesn't feel right. So I made a new camera for XNet without limitation on rotation in any direction. Additionally one rolls (rotates around Z axis) the camera by moving the mouse in areas closer to the edges of Scenewindow. I find this behavior quite intuitive, but I can imagine that not everyone will like it, so I request some feedback and/or ideas first before it is posted to the Patch thread. I added a RollCamera function to XNetScene which is called from XNetScreen, so there is unfortunatly more coupling but I didn't find a better way to "enable" roll (which was not possible with the old camera) for the new camera. A video showing the old and the new camera: http://www.youtube.com/watch?v=70j5zB8X3I4XNetCamera.zip Edited September 26, 2007 by taz0k Link to comment Share on other sites More sharing options...
[dteviot] Posted September 26, 2007 Report Share Posted September 26, 2007 Made this a separate topic to avoid cluttering the the Patch topic. May not be the on the highest priority list, but the current XNet camera just doesn't feel right. So I made a new camera for XNet without limitation on rotation in any direction. Additionally one rolls (rotates around Z axis) the camera by moving the mouse in areas closer to the edges of Scenewindow. I find this behavior quite intuitive, but I can imagine that not everyone will like it, so I request some feedback and/or ideas first before it is posted to the Patch thread. I added a RollCamera function to XNetScene which is called from XNetScreen, so there is unfortunatly more coupling but I didn't find a better way to "enable" roll (which was not possible with the old camera) for the new camera. A video showing the old and the new camera: http://www.youtube.com/watch?v=70j5zB8X3I4I'll try it out tonight, and see how it feels. Link to comment Share on other sites More sharing options...
SaintD Posted October 8, 2007 Report Share Posted October 8, 2007 Made this a separate topic to avoid cluttering the the Patch topic. May not be the on the highest priority list, but the current XNet camera just doesn't feel right. So I made a new camera for XNet without limitation on rotation in any direction. Additionally one rolls (rotates around Z axis) the camera by moving the mouse in areas closer to the edges of Scenewindow. I find this behavior quite intuitive, but I can imagine that not everyone will like it, so I request some feedback and/or ideas first before it is posted to the Patch thread. I added a RollCamera function to XNetScene which is called from XNetScreen, so there is unfortunatly more coupling but I didn't find a better way to "enable" roll (which was not possible with the old camera) for the new camera. A video showing the old and the new camera: http://www.youtube.com/watch?v=70j5zB8X3I4 Maybe we could have 3 modes? The current mode. The XCOM "right click to center globe there" mode and the mode you just did. Then have them as options. -D Link to comment Share on other sites More sharing options...
taz0k Posted October 8, 2007 Author Report Share Posted October 8, 2007 (edited) Yeah, that would be nice. I can create a ICamera interface and move the camera behaviors into concrete classes deriving from it. Edited October 8, 2007 by taz0k Link to comment Share on other sites More sharing options...
Recommended Posts