Can't rotate the Camera straight up or down

View previous topic View next topic Go down

Can''t rotate the Camera straight up or down

Post  DumbGames on Sun May 17, 2009 4:40 pm

I notice that as I rotate the camera to look straight up or down, the scene goes to a singularity and disappears. Ideas?

DumbGames

Posts : 16
Join date : 2008-12-03

View user profile

Back to top Go down

Re: Can't rotate the Camera straight up or down

Post  Don Jaffa on Sun May 17, 2009 4:45 pm

Im pretty sure you cant look directly down the Z axis - no idea why though.

Don Jaffa

Posts : 49
Join date : 2009-02-19

View user profile

Back to top Go down

Re: Can't rotate the Camera straight up or down

Post  finthamoussu on Sun May 17, 2009 6:32 pm

I was just about posting this issue, the problem looks to be with small angles from Z.
In this case, the distance is wrong
avatar
finthamoussu

Posts : 10
Join date : 2009-03-30
Age : 34
Location : Montevideo, Uruguay

View user profile

Back to top Go down

Re: Can't rotate the Camera straight up or down

Post  sio2interactive on Sun May 17, 2009 9:03 pm

use sio2LookAt if you want to look straight down the Z axis... more calculations are required compare to the regular sio2CameraRender but that will get the job done Wink

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Can't rotate the Camera straight up or down

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum