Displaying mouse cursor across multiple viewports
-
- Gremlin
- Posts: 193
- Joined: Sat Aug 06, 2011 11:02 pm
- x 6
Displaying mouse cursor across multiple viewports
I'm having some issues trying to get one universal mouse cursor that displays it's actual location no matter what viewport it's over. Is this even possible? As far as I can tell it isn't since the cursor is being rendered within each individual viewport.
- omniter
- OGRE Contributor
- Posts: 424
- Joined: Thu Mar 19, 2009 8:08 am
- Location: Canada
- x 44
Re: Displaying mouse cursor across multiple viewports
This question has been asked many times in the past. Type "overlay viewport" into the Google search box on the top right of the forum. Please perform a search in the future before posting a new thread.
-
- Gremlin
- Posts: 193
- Joined: Sat Aug 06, 2011 11:02 pm
- x 6
Re: Displaying mouse cursor across multiple viewports
Oh I did plenty of searching, just apparently not with the correct keywords. I got it working but now my ray queries are broken. Do you have to adjust somehow when using a smaller viewport? The dimensions are (0.25, 0, 0.75, 1).
EDIT: Nevermind, I figured it out. Just needed to adjust the mouse location by the size of the viewport. I swear I tried that already but I guess I did something different lol.
EDIT: Nevermind, I figured it out. Just needed to adjust the mouse location by the size of the viewport. I swear I tried that already but I guess I did something different lol.