lianlab / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

why the viewport is wrong? #249

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  checkout gamekit
2. build gamekit for iphone opengles 1
3. run iphonedemo for macos 10.6.8's Xcode 3.2 and iphonesimulator sdk4.0

What is the expected output? What do you see instead?

The viewport is wrong... 

Original issue reported on code.google.com by siz...@gmail.com on 13 Jul 2012 at 2:46

Attachments:

GoogleCodeExporter commented 9 years ago
Oehm,..you have 2 open issues. Plz write something how you managed to get it 
work. 

The resolution is hardcoded and you have to set it on your own in 
IPhoneDemo/Main.mm

Original comment by thomas.t...@googlemail.com on 13 Jul 2012 at 4:01

GoogleCodeExporter commented 9 years ago
Btw, if you have questions you can also ask it on http://gamekit.org ! 
Not sure you are aware of this!

Original comment by thomas.t...@googlemail.com on 13 Jul 2012 at 5:02

GoogleCodeExporter commented 9 years ago
ok, thanks!

pleasefixed it.

Original comment by siz...@gmail.com on 14 Jul 2012 at 2:38

GoogleCodeExporter commented 9 years ago
What does that mean? Is the resolution now ok? And we can close this one? 

Original comment by thomas.t...@googlemail.com on 14 Jul 2012 at 11:58

GoogleCodeExporter commented 9 years ago
when i change the line code "#define USE_VIEWPORT_LANDSCAPE 0   //0: 
viewport_portrait, 1: viewport_landscape" in main.mm, but i get viewport is 
different with the blender... ...

Original comment by siz...@gmail.com on 15 Jul 2012 at 2:16

GoogleCodeExporter commented 9 years ago
So what do you think about showing pictures of the different viewports or 
otherwise we have to guess...

Original comment by thomas.t...@googlemail.com on 15 Jul 2012 at 8:48

GoogleCodeExporter commented 9 years ago
ok, thank you for help.

Original comment by siz...@gmail.com on 15 Jul 2012 at 10:04

Attachments:

GoogleCodeExporter commented 9 years ago
Well, seems to me resolution related. Try to set the iPhone resolution in 
blender. Actually no bug for me.
I consider this issue solved. 

Original comment by thomas.t...@googlemail.com on 15 Jul 2012 at 11:21

GoogleCodeExporter commented 9 years ago
I try to adjust the blender resolution 320 * 480, but the viewport is 
different. when resolution changed 640 * 480, the X axis is ok, but Y axis is 
wrong.

I can't the viewport consistency...

Original comment by siz...@gmail.com on 15 Jul 2012 at 2:10

GoogleCodeExporter commented 9 years ago

Original comment by thomas.t...@googlemail.com on 9 Sep 2012 at 1:08