nekocode / CameraFilter

📷 Realtime camera filters on android.
Apache License 2.0
2.14k stars 363 forks source link

Lanscape mode #16

Open Traz9g opened 8 years ago

Traz9g commented 8 years ago

Can you help me with landscape mode? I am trying to modify your source code, but nothing comes

nekocode commented 8 years ago

Why do you need to support landscape mode? In landscape mode, the toolbar will occupy the screen space, so that the preview space becomes very narrow.

However. If you really need to support landscape mode, you should remove the android:screenOrientation="portrait" in the AndroidManifest.xml. And then when the screen rotates, you need to roate the texture coordinates.

Traz9g commented 8 years ago

This is need to record video (usually users doing it in landscape mode). Thanks!

art-ylem commented 5 years ago

Hello nekocode. Great work there. How i should change the texture coordinates?