Author Topic: The issue about set orthogonality camera size from 1 to 10  (Read 3095 times)

bingqilin89757

  • Guest
The issue about set orthogonality camera size from 1 to 10
« on: June 08, 2012, 10:50:10 PM »
I want to make a game with NGUI run on my ipad, so i set the 2D Root Manual Height to 768,the camera size is 1,but for some reason i have to set my camera size to 10,the texture's size have no change and look so small. My question is that if i set the camera size to 10,what should i do to correct the texture size

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: The issue about set orthogonality camera size from 1 to 10
« Reply #1 on: June 08, 2012, 11:22:34 PM »
What texure size? Camera ortho size should remain at 1 if you're using UIRoot. That's what it's designed for. Check your hierarchy and make sure it's what you think it is (and that nothing is scaled out of order). The easiest to do that is to select the UIRoot and hit Alt+Shift+P.

bingqilin89757

  • Guest
Re: The issue about set orthogonality camera size from 1 to 10
« Reply #2 on: June 09, 2012, 12:17:03 AM »
What texure size? Camera ortho size should remain at 1 if you're using UIRoot. That's what it's designed for. Check your hierarchy and make sure it's what you think it is (and that nothing is scaled out of order). The easiest to do that is to select the UIRoot and hit Alt+Shift+P.

I really appreciate your answers with patience.Originally, I intend to make a lot of game objects and NGUI share a camera, it seems less practical because for some reason my game objects need a camera which size is 10, so I may need to re-establish a camera to my game object in addition to NGUI.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: The issue about set orthogonality camera size from 1 to 10
« Reply #3 on: June 09, 2012, 12:21:00 AM »
You can scale your game objects by a factor of to (to 0.1), which would effectively be the same thing.