Hello Guest

Author Topic: Convert tk2dCamera ortho to 3D  (Read 5092 times)

Intrawebs

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 16
    • View Profile
Convert tk2dCamera ortho to 3D
« on: August 01, 2014, 05:58:16 pm »
I currently use 1x,2x and 4x sprites and have a game working great in multiple portrait resolutions for Android.  I now want some of my graphics to be 3D.  What is the recommended approach?  I develop at 320x480, my camera settings are attached.  I tried some quick monkeying with setting the camera to perspective but then changing resolutions didn't pan out well.



unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Convert tk2dCamera ortho to 3D
« Reply #1 on: August 01, 2014, 07:04:18 pm »
If you need a perspective camera, multi resolution becomes considerably more complicated to deal with. I wouldn't recommend it unless you know exactly how projection maths works. It will be a lot easier to keep the 3d objects in their own perspective camera, drawn on top or behind the 2d.

Intrawebs

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Convert tk2dCamera ortho to 3D
« Reply #2 on: August 01, 2014, 07:16:40 pm »
Will do!  Thanks