2D Toolkit Forum

2D Toolkit => Support => Topic started by: Intrawebs on August 01, 2014, 05:58:16 pm

Title: Convert tk2dCamera ortho to 3D
Post by: Intrawebs 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.

(http://oi59.tinypic.com/155jcw0.jpg)
Title: Re: Convert tk2dCamera ortho to 3D
Post by: unikronsoftware 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.
Title: Re: Convert tk2dCamera ortho to 3D
Post by: Intrawebs on August 01, 2014, 07:16:40 pm
Will do!  Thanks