-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I wrote an application which detects a square within an image. To give you a good understanding of how such an image containing such a square, in this case a marker, could look like:
What I get, after the detection, are the coordinates of the four corners of my marker. Now I don't know how…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am developing an application in iPhone. One view support orientation in portrait and landscape. I have two separate views for both orientation. This view has a UIToolbar at the top.
Problem is when I change view back from landscape to portrait, UIToolbar at the top disappears. I want toolbar to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
It works perfect fine when starting in portrait and also works when you rotate from portrait to landscape and back.
It does not work when starting in landscape. But then it works when you rotate from landscape to portrait and back.
In landscape starting mode, the screen does not respond with any…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
Given a body with an orientation angle and a point of interest or targetAngle, is there an elegant solution for keeping the body oriented towards the point of interest by applying torque or impulses?
I have a naive solution working below, but the effect is pretty 'wobbly', it'll overshoot each time…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I spent some time in Unity yesterday trying to fire a sphere from a horizontal cylinder (like a ball from a cannon). I was using Vector3.forward, but the sphere kept coming out the top of the cylinder rather than the front. Someone suggested using Vector3.up instead, and sure enough it worked!
The…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have a very simple HTML page with this META tag for the iPhone:
<meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,user-scalable=no" />
When the page loads in portrait mode it looks fine and the width fits the screen.
When I rotate the iPhone to…
>>> More
-
as seen on Super User
- Search for 'Super User'
Does anyone know if it is possible to rotate a monitor from landscape to portrait mode on Windows Server 2003 32-bit with an ATI video card?
According to Dell's site, I should be able to rotate my Dell P2310H monitor by installing drivers from their website, but they don't have drivers for Windows…
>>> More
-
as seen on Super User
- Search for 'Super User'
I have a Acer Ferrari 3000 noetbook that I like to connnect to a external dispaly and show it in portrait mode.
The computer runs a ATI Radeon 9200 graphic chipset and I can't find the setting for portrait and start believe the graphics card actually doesn't support it? I've looked at the latest…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
UIActionSheet positioning is not centered when I open it in landscape mode. If I set bounds or change the frame. The contents inside the UIActionSheet which is a subview changes but the actual sheet remains in the same place which looks very awkward.
How do I move the UIActionSheet along with it's…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I've racked my brain for hours over this issue. I have created a main.xml and designed one for the res/layout-land (landscape) format and another one for portrait in res/layout.
When I rotate the emulator (ctrl-F11), my app rotates properly to landscape using the correct main.xml, but a…
>>> More