Author Topic: screen size and view port  (Read 1681 times)

Offline nmare

  • byte
  • *
  • Posts: 10
    • View Profile
    • Puzzker
screen size and view port
« on: December 21, 2012, 01:29:21 am »
Hello!

i started a jpct project last year on a cellphone.   Now i want to make this project work on cells and tablets.


so, working with different screen size is easy for the blit part.    But for the 3d viewport?    How it work?

the viewport will be the same size on a bigger screen?   or do i have to play with the camera distance or play with the size of my objects?

thank you for your answer
DevGeek studio
Indie Developer (android, opengl, databases)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: screen size and view port
« Reply #1 on: December 21, 2012, 08:09:13 am »
Yes, the viewport will have the same size. It might differ slightly on the y-axis because of different aspect rations, but that's nothing to worry about in almost every case.